Lines Matching refs:mCompressStruct

53     mCompressStruct.err = jpeg_std_error(&mErrorMgr);  in LibJpegContext()
54 mCompressStruct.err->output_message = onOutputError; in LibJpegContext()
55 mCompressStruct.err->error_exit = onErrorExit; in LibJpegContext()
56 jpeg_create_compress(&mCompressStruct); in LibJpegContext()
59 mCompressStruct.image_width = width; in LibJpegContext()
60 mCompressStruct.image_height = height; in LibJpegContext()
61 mCompressStruct.input_components = 3; in LibJpegContext()
62 mCompressStruct.in_color_space = JCS_YCbCr; in LibJpegContext()
66 mCompressStruct.client_data = this; in LibJpegContext()
69 mCompressStruct.dest = &mDestinationMgr; in LibJpegContext()
77 jpeg_set_defaults(&mCompressStruct); in LibJpegContext()
80 jpeg_set_quality(&mCompressStruct, quality, 1); in LibJpegContext()
81 jpeg_set_colorspace(&mCompressStruct, JCS_YCbCr); in LibJpegContext()
85 mCompressStruct.raw_data_in = 1; in LibJpegContext()
86 mCompressStruct.dct_method = JDCT_IFAST; in LibJpegContext()
90 mCompressStruct.comp_info[0].h_samp_factor = 2; in LibJpegContext()
91 mCompressStruct.comp_info[0].v_samp_factor = 2; in LibJpegContext()
92 mCompressStruct.comp_info[1].h_samp_factor = 1; in LibJpegContext()
93 mCompressStruct.comp_info[1].v_samp_factor = 1; in LibJpegContext()
94 mCompressStruct.comp_info[2].h_samp_factor = 1; in LibJpegContext()
95 mCompressStruct.comp_info[2].v_samp_factor = 1; in LibJpegContext()
217 jpeg_start_compress(&mCompressStruct, TRUE); in compress()
221 jpeg_write_marker(&mCompressStruct, JPEG_APP0 + 1, in compress()
225 while (mCompressStruct.next_scanline < mCompressStruct.image_height) { in compress()
227 const uint32_t nl = mCompressStruct.next_scanline; in compress()
230 uint32_t done = jpeg_write_raw_data(&mCompressStruct, planes, batchSize); in compress()
234 __FUNCTION__, done, batchSize, mCompressStruct.next_scanline, in compress()
235 mCompressStruct.image_height); in compress()
239 jpeg_finish_compress(&mCompressStruct); in compress()
268 jpeg_compress_struct mCompressStruct; member in android::companion::virtualcamera::__anon8ce6df240111::LibJpegContext