• Home
  • Raw
  • Download

Lines Matching refs:preview_image_data

84                     PreviewImageData* preview_image_data) {  in GetPreviewData()  argument
102 return tiff_parser.GetPreviewImageData(*tiff_content, preview_image_data); in GetPreviewData()
107 PreviewImageData* preview_image_data) { in GetPreviewData() argument
111 &tiff_content, preview_image_data); in GetPreviewData()
115 PreviewImageData* preview_image_data) { in GetExifData() argument
120 &tiff_content, preview_image_data); in GetExifData()
126 PreviewImageData* preview_image_data) { in GetThumbnailOffsetAndLength() argument
133 preview_image_data->thumbnail = thumbnail_data.thumbnail; in GetThumbnailOffsetAndLength()
230 PreviewImageData* preview_image_data) { in GetOlympusPreviewImage() argument
253 &preview_image_data->thumbnail.offset, in GetOlympusPreviewImage()
254 &preview_image_data->thumbnail.length)) { in GetOlympusPreviewImage()
272 camera_settings_ifd.Get(kPreviewOffset, &preview_image_data->preview.offset); in GetOlympusPreviewImage()
273 preview_image_data->preview.offset += makernote_offset; in GetOlympusPreviewImage()
274 camera_settings_ifd.Get(kPreviewLength, &preview_image_data->preview.length); in GetOlympusPreviewImage()
289 preview_image_data->full_width = aspect_frame[2] - aspect_frame[0] + 1; in GetOlympusPreviewImage()
290 preview_image_data->full_height = aspect_frame[3] - aspect_frame[1] + 1; in GetOlympusPreviewImage()
291 if (preview_image_data->full_width < preview_image_data->full_height) { in GetOlympusPreviewImage()
292 std::swap(preview_image_data->full_width, in GetOlympusPreviewImage()
293 preview_image_data->full_height); in GetOlympusPreviewImage()
302 PreviewImageData* preview_image_data) { in PefGetColorSpace() argument
325 preview_image_data->color_space = color_space == 0 in PefGetColorSpace()
382 PreviewImageData* preview_image_data) { in ArwGetPreviewData() argument
387 GetThumbnailOffsetAndLength(TagSet(), stream, preview_image_data); in ArwGetPreviewData()
391 preview_image_data)) { in ArwGetPreviewData()
398 PreviewImageData* preview_image_data) { in Cr2GetPreviewData() argument
402 GetThumbnailOffsetAndLength(TagSet(), stream, preview_image_data); in Cr2GetPreviewData()
406 preview_image_data)) { in Cr2GetPreviewData()
413 PreviewImageData* preview_image_data) { in DngGetPreviewData() argument
424 preview_image_data)) { in DngGetPreviewData()
430 if (!GetFullCropDimension(tiff_directory, &preview_image_data->full_width, in DngGetPreviewData()
431 &preview_image_data->full_height)) { in DngGetPreviewData()
465 preview_image_data->preview = preview; in DngGetPreviewData()
466 preview_image_data->thumbnail = thumbnail; in DngGetPreviewData()
472 PreviewImageData* preview_image_data) { in NefGetPreviewData() argument
479 preview_image_data)) { in NefGetPreviewData()
483 if (preview_image_data->thumbnail.length == 0) { in NefGetPreviewData()
486 preview_image_data->thumbnail = thumbnail_data.thumbnail; in NefGetPreviewData()
495 if (preview_image_data->preview.length > 0) { // when preview image exists in NefGetPreviewData()
500 if (!GetJpegDimensions(preview_image_data->preview.offset, stream, &width, in NefGetPreviewData()
502 preview_image_data->full_width == 0 || in NefGetPreviewData()
503 preview_image_data->full_height == 0) { in NefGetPreviewData()
508 static_cast<float>(preview_image_data->full_width) > in NefGetPreviewData()
511 static_cast<float>(preview_image_data->full_height) > in NefGetPreviewData()
513 preview_image_data->full_width = width; in NefGetPreviewData()
514 preview_image_data->full_height = height; in NefGetPreviewData()
521 PreviewImageData* preview_image_data) { in OrfGetPreviewData() argument
522 if (!GetExifData(0, stream, preview_image_data)) { in OrfGetPreviewData()
526 GetOlympusPreviewImage(stream, preview_image_data); in OrfGetPreviewData()
531 PreviewImageData* preview_image_data) { in PefGetPreviewData() argument
537 preview_image_data) || in PefGetPreviewData()
538 !PefGetColorSpace(stream, preview_image_data)) { in PefGetPreviewData()
544 preview_image_data->thumbnail = thumbnail_data.thumbnail; in PefGetPreviewData()
550 PreviewImageData* preview_image_data) { in RafGetPreviewData() argument
561 if (!RafGetDimension(stream, &preview_image_data->full_width, in RafGetPreviewData()
562 &preview_image_data->full_height)) { in RafGetPreviewData()
569 if (!GetExifData(exif_offset, stream, preview_image_data)) { in RafGetPreviewData()
575 preview_image_data->thumbnail.offset += 160; // Skip the cfa header. in RafGetPreviewData()
576 preview_image_data->preview.offset = preview_offset; in RafGetPreviewData()
577 preview_image_data->preview.length = preview_length; in RafGetPreviewData()
582 PreviewImageData* preview_image_data) { in Rw2GetPreviewData() argument
598 if (!GetExifData(exif_offset, stream, preview_image_data)) { in Rw2GetPreviewData()
601 preview_image_data->thumbnail.offset += exif_offset; in Rw2GetPreviewData()
605 preview_image_data->preview = preview_data.preview; in Rw2GetPreviewData()
606 preview_image_data->iso = preview_data.iso; in Rw2GetPreviewData()
607 preview_image_data->full_width = preview_data.full_width; in Rw2GetPreviewData()
608 preview_image_data->full_height = preview_data.full_height; in Rw2GetPreviewData()
614 PreviewImageData* preview_image_data) { in SrwGetPreviewData() argument
615 GetThumbnailOffsetAndLength({kTiffTagSubIfd}, stream, preview_image_data); in SrwGetPreviewData()
622 preview_image_data)) { in SrwGetPreviewData()
652 PreviewImageData* preview_image_data) { in GetPreviewImageData() argument
667 return ArwGetPreviewData(data, preview_image_data); in GetPreviewImageData()
669 return Cr2GetPreviewData(data, preview_image_data); in GetPreviewImageData()
671 return DngGetPreviewData(data, preview_image_data); in GetPreviewImageData()
674 return NefGetPreviewData(data, preview_image_data); in GetPreviewImageData()
676 return OrfGetPreviewData(data, preview_image_data); in GetPreviewImageData()
678 return PefGetPreviewData(data, preview_image_data); in GetPreviewImageData()
680 return RafGetPreviewData(data, preview_image_data); in GetPreviewImageData()
682 return Rw2GetPreviewData(data, preview_image_data); in GetPreviewImageData()
684 return SrwGetPreviewData(data, preview_image_data); in GetPreviewImageData()