Lines Matching refs:decoderMgr
125 SkAutoTDelete<JpegDecoderMgr> decoderMgr(SkNEW_ARGS(JpegDecoderMgr, (stream))); in ReadHeader() local
128 if (setjmp(decoderMgr->getJmpBuf())) { in ReadHeader()
129 return decoderMgr->returnFalse("setjmp"); in ReadHeader()
133 decoderMgr->init(); in ReadHeader()
136 if (JPEG_HEADER_OK != jpeg_read_header(decoderMgr->dinfo(), true)) { in ReadHeader()
137 return decoderMgr->returnFalse("read_header"); in ReadHeader()
142 const SkColorType colorType = decoderMgr->getColorType(); in ReadHeader()
145 const SkImageInfo& imageInfo = SkImageInfo::Make(decoderMgr->dinfo()->image_width, in ReadHeader()
146 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType); in ReadHeader()
147 *codecOut = SkNEW_ARGS(SkJpegCodec, (imageInfo, stream, decoderMgr.detach())); in ReadHeader()
150 *decoderMgrOut = decoderMgr.detach(); in ReadHeader()
168 JpegDecoderMgr* decoderMgr) in SkJpegCodec() argument
170 , fDecoderMgr(decoderMgr) in SkJpegCodec()
239 JpegDecoderMgr* decoderMgr = NULL; in handleRewind() local
240 if (!ReadHeader(this->stream(), NULL, &decoderMgr)) { in handleRewind()
243 SkASSERT(NULL != decoderMgr); in handleRewind()
244 fDecoderMgr.reset(decoderMgr); in handleRewind()