Lines Matching refs:ifd
73 const dng_ifd &ifd) in dng_jpeg_image_encode_task() argument
80 , fIFD (ifd) in dng_jpeg_image_encode_task()
179 dng_ifd ifd; in Encode() local
181 ifd.fImageWidth = fImageSize.h; in Encode()
182 ifd.fImageLength = fImageSize.v; in Encode()
184 ifd.fSamplesPerPixel = image.Planes (); in Encode()
186 ifd.fBitsPerSample [0] = 8; in Encode()
187 ifd.fBitsPerSample [1] = 8; in Encode()
188 ifd.fBitsPerSample [2] = 8; in Encode()
189 ifd.fBitsPerSample [3] = 8; in Encode()
191 ifd.fPhotometricInterpretation = piLinearRaw; in Encode()
193 ifd.fCompression = ccLossyJPEG; in Encode()
195 ifd.FindTileSize (512 * 512 * ifd.fSamplesPerPixel); in Encode()
197 fTileSize.h = ifd.fTileWidth; in Encode()
198 fTileSize.v = ifd.fTileLength; in Encode()
205 bool useHigherQuality = (uint64) ifd.fImageWidth * in Encode()
206 (uint64) ifd.fImageLength > 5000000 || in Encode()
211 ifd.fCompressionQuality = useHigherQuality ? 11 : 10; in Encode()
215 ifd.fCompressionQuality = useHigherQuality ? 10 : 8; in Encode()
218 uint32 tilesAcross = ifd.TilesAcross (); in Encode()
219 uint32 tilesDown = ifd.TilesDown (); in Encode()
233 ifd); in Encode()