Lines Matching refs:decoderMgr
203 std::unique_ptr<JpegDecoderMgr> decoderMgr(new JpegDecoderMgr(stream)); in ReadHeader() local
206 skjpeg_error_mgr::AutoPushJmpBuf jmp(decoderMgr->errorMgr()); in ReadHeader()
208 return decoderMgr->returnFailure("ReadHeader", kInvalidInput); in ReadHeader()
212 decoderMgr->init(); in ReadHeader()
213 auto* dinfo = decoderMgr->dinfo(); in ReadHeader()
228 return decoderMgr->returnFailure("ReadHeader", kIncompleteInput); in ReadHeader()
230 return decoderMgr->returnFailure("ReadHeader", kInvalidInput); in ReadHeader()
236 if (!decoderMgr->getEncodedColor(&color)) { in ReadHeader()
244 switch (decoderMgr->dinfo()->jpeg_color_space) { in ReadHeader()
274 decoderMgr.release(), orientation); in ReadHeader()
278 *decoderMgrOut = decoderMgr.release(); in ReadHeader()
302 JpegDecoderMgr* decoderMgr, SkEncodedOrigin origin) in SkJpegCodec() argument
304 , fDecoderMgr(decoderMgr) in SkJpegCodec()
305 , fReadyState(decoderMgr->dinfo()->global_state) in SkJpegCodec()
373 JpegDecoderMgr* decoderMgr = nullptr; in onRewind() local
374 if (kSuccess != ReadHeader(this->stream(), nullptr, &decoderMgr, nullptr)) { in onRewind()
377 SkASSERT(nullptr != decoderMgr); in onRewind()
378 fDecoderMgr.reset(decoderMgr); in onRewind()
997 JpegDecoderMgr decoderMgr(&stream); in SkGetJpegInfo() local
999 skjpeg_error_mgr::AutoPushJmpBuf jmp(decoderMgr.errorMgr()); in SkGetJpegInfo()
1003 decoderMgr.init(); in SkGetJpegInfo()
1004 jpeg_decompress_struct* dinfo = decoderMgr.dinfo(); in SkGetJpegInfo()
1011 if (!decoderMgr.getEncodedColor(&encodedColorType)) { in SkGetJpegInfo()