Searched refs:decoderMgr (Results 1 – 2 of 2) sorted by relevance
36 SkAutoTDelete<JpegDecoderMgr> decoderMgr(new JpegDecoderMgr(stream)); in ReadHeader() local39 if (setjmp(decoderMgr->getJmpBuf())) { in ReadHeader()40 return decoderMgr->returnFalse("setjmp"); in ReadHeader()44 decoderMgr->init(); in ReadHeader()47 if (JPEG_HEADER_OK != jpeg_read_header(decoderMgr->dinfo(), true)) { in ReadHeader()48 return decoderMgr->returnFalse("read_header"); in ReadHeader()53 const SkColorType colorType = decoderMgr->getColorType(); in ReadHeader()56 const SkImageInfo& imageInfo = SkImageInfo::Make(decoderMgr->dinfo()->image_width, in ReadHeader()57 decoderMgr->dinfo()->image_height, colorType, kOpaque_SkAlphaType); in ReadHeader()58 *codecOut = new SkJpegCodec(imageInfo, stream, decoderMgr.detach()); in ReadHeader()[all …]
93 SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, JpegDecoderMgr* decoderMgr);