Lines Matching refs:fIFD
189 , fIFD () in dng_image_preview()
207 fIFD.fNewSubFileType = fInfo.fIsPrimary ? sfPreviewImage in AddTagSet()
210 fIFD.fImageWidth = fImage->Width (); in AddTagSet()
211 fIFD.fImageLength = fImage->Height (); in AddTagSet()
213 fIFD.fSamplesPerPixel = fImage->Planes (); in AddTagSet()
215 fIFD.fPhotometricInterpretation = fIFD.fSamplesPerPixel == 1 ? piBlackIsZero in AddTagSet()
218 fIFD.fBitsPerSample [0] = TagTypeSize (fImage->PixelType ()) * 8; in AddTagSet()
220 for (uint32 j = 1; j < fIFD.fSamplesPerPixel; j++) in AddTagSet()
222 fIFD.fBitsPerSample [j] = fIFD.fBitsPerSample [0]; in AddTagSet()
225 fIFD.SetSingleStrip (); in AddTagSet()
227 return new dng_preview_tag_set (directory, *this, fIFD); in AddTagSet()
240 fIFD, in WriteData()
525 , fIFD () in dng_raw_preview()
543 fIFD.fNewSubFileType = sfPreviewImage; in AddTagSet()
545 fIFD.fImageWidth = fImage->Width (); in AddTagSet()
546 fIFD.fImageLength = fImage->Height (); in AddTagSet()
548 fIFD.fSamplesPerPixel = fImage->Planes (); in AddTagSet()
550 fIFD.fPhotometricInterpretation = piLinearRaw; in AddTagSet()
555 fIFD.fCompression = ccDeflate; in AddTagSet()
557 fIFD.fCompressionQuality = fCompressionQuality; in AddTagSet()
559 fIFD.fPredictor = cpFloatingPoint; in AddTagSet()
561 for (uint32 j = 0; j < fIFD.fSamplesPerPixel; j++) in AddTagSet()
563 fIFD.fBitsPerSample [j] = 16; in AddTagSet()
564 fIFD.fSampleFormat [j] = sfFloatingPoint; in AddTagSet()
567 fIFD.FindTileSize (512 * 1024); in AddTagSet()
574 fIFD.fCompression = ccLossyJPEG; in AddTagSet()
576 fIFD.fCompressionQuality = fCompressionQuality; in AddTagSet()
578 fIFD.fBitsPerSample [0] = TagTypeSize (fImage->PixelType ()) * 8; in AddTagSet()
580 for (uint32 j = 1; j < fIFD.fSamplesPerPixel; j++) in AddTagSet()
582 fIFD.fBitsPerSample [j] = fIFD.fBitsPerSample [0]; in AddTagSet()
585 fIFD.FindTileSize (512 * 512 * fIFD.fSamplesPerPixel); in AddTagSet()
589 return new dng_raw_preview_tag_set (directory, *this, fIFD); in AddTagSet()
602 fIFD, in WriteData()
615 , fIFD () in dng_mask_preview()
633 fIFD.fNewSubFileType = sfPreviewMask; in AddTagSet()
635 fIFD.fImageWidth = fImage->Width (); in AddTagSet()
636 fIFD.fImageLength = fImage->Height (); in AddTagSet()
638 fIFD.fSamplesPerPixel = 1; in AddTagSet()
640 fIFD.fPhotometricInterpretation = piTransparencyMask; in AddTagSet()
642 fIFD.fCompression = ccDeflate; in AddTagSet()
643 fIFD.fPredictor = cpHorizontalDifference; in AddTagSet()
645 fIFD.fCompressionQuality = fCompressionQuality; in AddTagSet()
647 fIFD.fBitsPerSample [0] = TagTypeSize (fImage->PixelType ()) * 8; in AddTagSet()
649 fIFD.FindTileSize (512 * 512 * fIFD.fSamplesPerPixel); in AddTagSet()
651 return new dng_basic_tag_set (directory, fIFD); in AddTagSet()
664 fIFD, in WriteData()