Lines Matching refs:mInfo
24 mInfo(), in JpegReader()
51 SetupErrMgr(reinterpret_cast<j_common_ptr>(&mInfo), &mErrorManager); in setup()
58 jpeg_create_decompress(&mInfo); in setup()
61 int32_t flags = MakeSrc(&mInfo, env, in); in setup()
68 jpeg_read_header(&mInfo, TRUE); in setup()
69 jpeg_calc_output_dimensions(&mInfo); in setup()
76 mInfo.out_color_space = JCS_GRAYSCALE; in setup()
77 mScanlineUnformattedBuflen = mInfo.output_width; in setup()
81 mScanlineUnformattedBuflen = mInfo.output_width * components; in setup()
82 if (mInfo.jpeg_color_space == JCS_CMYK in setup()
83 || mInfo.jpeg_color_space == JCS_YCCK) { in setup()
86 mScanlineUnformattedBuflen = mInfo.output_width * 4; in setup()
87 mInfo.out_color_space = JCS_CMYK; in setup()
89 mInfo.out_color_space = JCS_RGB; in setup()
96 mScanlineBuflen = mInfo.output_width * components; in setup()
98 mScanlineBuf = (JSAMPLE *) (mInfo.mem->alloc_small)( in setup()
99 reinterpret_cast<j_common_ptr>(&mInfo), JPOOL_PERMANENT, in setup()
102 jpeg_start_decompress(&mInfo); in setup()
106 *width = mInfo.output_width; in setup()
109 *height = mInfo.output_height; in setup()
132 while (mInfo.output_scanline < mInfo.output_height) { in read()
155 if (jpeg_read_scanlines(&mInfo, &mScanlineBuf, 1) != 1) { in read()
169 jpeg_finish_decompress(&mInfo); in read()
175 UpdateSrcEnv(&mInfo, env); in updateEnv()
183 switch (mInfo.out_color_space) { in formatPixels()
193 if (mInfo.saw_Adobe_marker) { in formatPixels()
245 CleanSrc(&mInfo); in reset()
247 jpeg_destroy_decompress(&mInfo); in reset()