Lines Matching refs:preview

226 // Retrieves the preview image offset and length from the camera settings and
272 camera_settings_ifd.Get(kPreviewOffset, &preview_image_data->preview.offset);
273 preview_image_data->preview.offset += makernote_offset;
274 camera_settings_ifd.Get(kPreviewLength, &preview_image_data->preview.length);
333 // Parse the Fuji RAW header to get the offset and length of the preview
435 // Find the jpeg compressed thumbnail and preview image.
436 Image preview;
445 preview = temp_image;
452 // Try to find the largest thumbnail/preview.
458 if (temp_image > preview &&
460 preview = temp_image;
465 preview_image_data->preview = preview;
490 // slightly larger than the dimensions of the preview image. In order to
491 // determine the correct full width and height of the image, the preview image
492 // size needs to be taken into account. Based on experiments the preview image
494 // a full size preview image.
495 if (preview_image_data->preview.length > 0) { // when preview image exists
500 if (!GetJpegDimensions(preview_image_data->preview.offset, stream, &width,
525 // Omit errors, because some images do not contain any preview data.
551 // Parse the Fuji RAW header to get the offset and length of the preview
566 if (preview_length > 0) { // when preview image exists
567 // Parse the Exif information from the preview image.
576 preview_image_data->preview.offset = preview_offset;
577 preview_image_data->preview.length = preview_length;
587 // Parse the RAW data to get the ISO, offset and length of the preview image,
595 if (preview_data.preview.length > 0) { // when preview image exists
596 // Parse the Exif information from the preview image.
597 const std::uint32_t exif_offset = preview_data.preview.offset + 12;
605 preview_image_data->preview = preview_data.preview;