Searched refs:cinfo (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 24 void Mgr_init_destination_fcn(j_compress_ptr cinfo) { in Mgr_init_destination_fcn() argument 25 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); in Mgr_init_destination_fcn() 30 boolean Mgr_empty_output_buffer_fcn(j_compress_ptr cinfo) { in Mgr_empty_output_buffer_fcn() argument 31 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); in Mgr_empty_output_buffer_fcn() 34 ERREXIT(cinfo, JERR_FILE_WRITE); in Mgr_empty_output_buffer_fcn() 41 void Mgr_term_destination_fcn(j_compress_ptr cinfo) { in Mgr_term_destination_fcn() argument 42 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); in Mgr_term_destination_fcn() 45 ERREXIT(cinfo, JERR_FILE_WRITE); in Mgr_term_destination_fcn() 49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { in MakeDst() argument 50 if (cinfo->dest != NULL) { in MakeDst() [all …]
|
D | jerr_hook.cpp | 25 void ErrExit(j_common_ptr cinfo) { in ErrExit() argument 26 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); in ErrExit() 27 (*cinfo->err->output_message) (cinfo); in ErrExit() 36 void ErrOutput(j_common_ptr cinfo) { in ErrOutput() argument 37 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); in ErrOutput() 39 (*cinfo->err->format_message) (cinfo, buf); in ErrOutput() 45 void SetupErrMgr(j_common_ptr cinfo, ErrManager* errMgr) { in SetupErrMgr() argument 49 cinfo->err = reinterpret_cast<struct jpeg_error_mgr*>(errMgr); in SetupErrMgr()
|
D | jpeg_hook.h | 41 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream); 48 void UpdateDstEnv(j_compress_ptr cinfo, JNIEnv* env); 51 void CleanDst(j_compress_ptr cinfo); 64 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream); 71 void UpdateSrcEnv(j_decompress_ptr cinfo, JNIEnv* env); 74 void CleanSrc(j_decompress_ptr cinfo);
|
D | jerr_hook.h | 41 void SetupErrMgr(j_common_ptr cinfo, ErrManager* errMgr);
|
/packages/apps/Camera2/jni/ |
D | jpegutil.cpp | 152 jpeg_compress_struct& cinfo = in Compress() local 168 cinfo.err = jpeg_std_error(&err.pub); in Compress() 172 err.pub.error_exit = [](j_common_ptr cinfo) { in Compress() argument 173 my_error_mgr* myerr = reinterpret_cast<my_error_mgr*>(cinfo->err); in Compress() 175 (*cinfo->err->output_message)(cinfo); in Compress() 181 cinfo.err = (struct jpeg_error_mgr*)&err; in Compress() 187 jpeg_destroy_compress(&cinfo); in Compress() 197 jpeg_create_compress(&cinfo); in Compress() 207 cinfo.client_data = &clientData; in Compress() 212 dest.init_destination = [](j_compress_ptr cinfo) { in Compress() argument [all …]
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genJPEGStrips.cpp | 56 struct jpeg_compress_struct cinfo = { in write_JPEG_Buff() local 61 jpeg_create_compress(&cinfo); in write_JPEG_Buff() 69 cinfo.dest = &dm; in write_JPEG_Buff() 73 cinfo.image_width = (JDIMENSION) image_width; in write_JPEG_Buff() 74 cinfo.image_height = (JDIMENSION) image_height; in write_JPEG_Buff() 76 cinfo.in_color_space = JCS_RGB; in write_JPEG_Buff() 77 cinfo.jpeg_color_space = JCS_RGB; in write_JPEG_Buff() 78 cinfo.input_components = 3; in write_JPEG_Buff() 80 cinfo.in_color_space = JCS_GRAYSCALE; in write_JPEG_Buff() 81 cinfo.jpeg_color_space = JCS_GRAYSCALE; in write_JPEG_Buff() [all …]
|