Lines Matching refs:stage2
186 AutoPtr<dng_simple_image> stage2; in try_dngsdk() local
208 stage2.Reset((dng_simple_image*)negative->Stage3Image()); in try_dngsdk()
212 stage2.Reset((dng_simple_image*)negative->Stage2Image()); in try_dngsdk()
217 …stage2.Reset(new dng_simple_image(rawIFD->Bounds(), rawIFD->fSamplesPerPixel, rawIFD->PixelType(),… in try_dngsdk()
227 reader.Read(*host, *rawIFD, stream, *stage2.Get(), NULL, NULL); in try_dngsdk()
233 reader.Read(*host, *rawIFD, stream, *stage2.Get(), NULL, NULL); in try_dngsdk()
237 if (stage2->Bounds().W() != S.raw_width || in try_dngsdk()
238 stage2->Bounds().H() != S.raw_height) in try_dngsdk()
242 S.raw_width = S.width = stage2->Bounds().W(); in try_dngsdk()
244 S.raw_height = S.height = stage2->Bounds().H(); in try_dngsdk()
249 stage2.Release(); // It holds copy to internal dngnegative in try_dngsdk()
255 if (stage2->Planes() > 1) in try_dngsdk()
258 imgdata.idata.colors = stage2->Planes(); in try_dngsdk()
266 int pplanes = stage2->Planes(); in try_dngsdk()
267 int ptype = stage2->PixelType(); in try_dngsdk()
270 stage2->GetPixelBuffer(buffer); in try_dngsdk()
272 int pixels = stage2->Bounds().H() * stage2->Bounds().W() * pplanes; in try_dngsdk()
318 stage2.Release(); in try_dngsdk()
389 dng_simple_image *simage = stage2.Release(); in try_dngsdk()