Lines Matching refs:decoderMgr
36 SkAutoTDelete<JpegDecoderMgr> decoderMgr(new JpegDecoderMgr(stream));
39 if (setjmp(decoderMgr->getJmpBuf())) {
40 return decoderMgr->returnFalse("setjmp");
44 decoderMgr->init();
47 if (JPEG_HEADER_OK != jpeg_read_header(decoderMgr->dinfo(), true)) {
48 return decoderMgr->returnFalse("read_header");
53 const SkColorType colorType = decoderMgr->getColorType();
56 const SkImageInfo& imageInfo = SkImageInfo::Make(decoderMgr->dinfo()->image_width,
57 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType);
58 *codecOut = new SkJpegCodec(imageInfo, stream, decoderMgr.detach());
61 *decoderMgrOut = decoderMgr.detach();
79 JpegDecoderMgr* decoderMgr)
81 , fDecoderMgr(decoderMgr)
82 , fReadyState(decoderMgr->dinfo()->global_state)
152 JpegDecoderMgr* decoderMgr = nullptr;
153 if (!ReadHeader(this->stream(), nullptr, &decoderMgr)) {
156 SkASSERT(nullptr != decoderMgr);
157 fDecoderMgr.reset(decoderMgr);