/external/qemu/distrib/jpeg-6b/ |
jcmaster.c | 46 initial_setup (j_compress_ptr cinfo) 55 if (cinfo->image_height <= 0 || cinfo->image_width <= 0 56 || cinfo->num_components <= 0 || cinfo->input_components <= 0) 57 ERREXIT(cinfo, JERR_EMPTY_IMAGE); 60 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION || 61 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION) 62 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION); 65 samplesperrow = (long) cinfo->image_width * (long) cinfo->input_components [all...] |
wrrle.c | 66 JPP((j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 77 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) 83 cd_progress_ptr progress = (cd_progress_ptr) cinfo->progress; 99 if (cinfo->output_width > 32767 || cinfo->output_height > 32767) 100 ERREXIT2(cinfo, JERR_RLE_DIMENSIONS, cinfo->output_width, 101 cinfo->output_height); 103 if (cinfo->out_color_space != JCS_GRAYSCALE && 104 cinfo->out_color_space != JCS_RGB [all...] |
rdcolmap.c | 46 add_map_entry (j_decompress_ptr cinfo, int R, int G, int B) 48 JSAMPROW colormap0 = cinfo->colormap[0]; 49 JSAMPROW colormap1 = cinfo->colormap[1]; 50 JSAMPROW colormap2 = cinfo->colormap[2]; 51 int ncolors = cinfo->actual_number_of_colors; 64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); 70 cinfo->actual_number_of_colors++; 79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) 89 ERREXIT(cinfo, JERR_BAD_CMAP_FILE); 94 ERREXIT(cinfo, JERR_BAD_CMAP_FILE) [all...] |
jmemnobs.c | 35 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 41 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 55 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 61 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 73 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 87 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, 90 ERREXIT(cinfo, JERR_NO_BACKING_STORE); 100 jpeg_mem_init (j_common_ptr cinfo) 106 jpeg_mem_term (j_common_ptr cinfo)
|
jdcoefct.c | 32 /* cinfo->input_iMCU_row is also used for this. */ 37 /* The output side's location is represented by cinfo->output_iMCU_row. */ 66 JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf)); 69 JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf)); 72 LOCAL(boolean) smoothing_ok JPP((j_decompress_ptr cinfo)); 74 JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf)); 79 start_iMCU_row (j_decompress_ptr cinfo) 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; 88 if (cinfo->comps_in_scan > 1) { 91 if (cinfo->input_iMCU_row < (cinfo->total_iMCU_rows-1) [all...] |
jdatadst.c | 43 init_destination (j_compress_ptr cinfo) 45 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; 49 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 81 empty_output_buffer (j_compress_ptr cinfo) 83 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; 87 ERREXIT(cinfo, JERR_FILE_WRITE); 106 term_destination (j_compress_ptr cinfo) 108 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; 114 ERREXIT(cinfo, JERR_FILE_WRITE) [all...] |
jmemansi.c | 36 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 42 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 56 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 62 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 81 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 84 return cinfo->mem->max_memory_to_use - already_allocated; 97 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 102 ERREXIT(cinfo, JERR_TFILE_SEEK); 105 ERREXIT(cinfo, JERR_TFILE_READ); 110 write_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
jpegint.h | 46 JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); 47 JMETHOD(void, pass_startup, (j_compress_ptr cinfo)); 48 JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); 57 JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); 58 JMETHOD(void, process_data, (j_compress_ptr cinfo, 65 JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); 66 JMETHOD(void, pre_process_data, (j_compress_ptr cinfo, 77 JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); 78 JMETHOD(boolean, compress_data, (j_compress_ptr cinfo, 84 JMETHOD(void, start_pass, (j_compress_ptr cinfo)); 398 EXTERN(void) jpeg_decompress_per_scan_setup (j_decompress_ptr cinfo); variable [all...] |
jerror.h | 202 /* The first parameter is either type of cinfo pointer */ 205 #define ERREXIT(cinfo,code) \ 206 ((cinfo)->err->msg_code = (code), \ 207 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 208 #define ERREXIT1(cinfo,code,p1) \ 209 ((cinfo)->err->msg_code = (code), \ 210 (cinfo)->err->msg_parm.i[0] = (p1), \ 211 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) [all...] |
jdpostct.c | 47 JPP((j_decompress_ptr cinfo, 54 JPP((j_decompress_ptr cinfo, 60 JPP((j_decompress_ptr cinfo, 73 start_pass_dpost (j_decompress_ptr cinfo, J_BUF_MODE pass_mode) 75 my_post_ptr post = (my_post_ptr) cinfo->post; 79 if (cinfo->quantize_colors) { 87 post->buffer = (*cinfo->mem->access_virt_sarray) 88 ((j_common_ptr) cinfo, post->whole_image, 95 post->pub.post_process_data = cinfo->upsample->upsample; 102 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE) [all...] |
/external/jpeg/ |
wrrle.c | 66 JPP((j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 77 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) 83 cd_progress_ptr progress = (cd_progress_ptr) cinfo->progress; 99 if (cinfo->output_width > 32767 || cinfo->output_height > 32767) 100 ERREXIT2(cinfo, JERR_RLE_DIMENSIONS, cinfo->output_width, 101 cinfo->output_height); 103 if (cinfo->out_color_space != JCS_GRAYSCALE && 104 cinfo->out_color_space != JCS_RGB [all...] |
rdcolmap.c | 46 add_map_entry (j_decompress_ptr cinfo, int R, int G, int B) 48 JSAMPROW colormap0 = cinfo->colormap[0]; 49 JSAMPROW colormap1 = cinfo->colormap[1]; 50 JSAMPROW colormap2 = cinfo->colormap[2]; 51 int ncolors = cinfo->actual_number_of_colors; 64 ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (MAXJSAMPLE+1)); 70 cinfo->actual_number_of_colors++; 79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) 89 ERREXIT(cinfo, JERR_BAD_CMAP_FILE); 94 ERREXIT(cinfo, JERR_BAD_CMAP_FILE) [all...] |
jmemnobs.c | 35 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 41 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 55 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 61 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 73 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 87 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, 90 ERREXIT(cinfo, JERR_NO_BACKING_STORE); 100 jpeg_mem_init (j_common_ptr cinfo) 106 jpeg_mem_term (j_common_ptr cinfo)
|
jdcoefct.c | 32 /* cinfo->input_iMCU_row is also used for this. */ 37 /* The output side's location is represented by cinfo->output_iMCU_row. */ 66 JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf)); 69 JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf)); 72 LOCAL(boolean) smoothing_ok JPP((j_decompress_ptr cinfo)); 74 JPP((j_decompress_ptr cinfo, JSAMPIMAGE output_buf)); 79 start_iMCU_row (j_decompress_ptr cinfo) 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; 88 if (cinfo->comps_in_scan > 1) { 91 if (cinfo->input_iMCU_row < (cinfo->total_iMCU_rows-1) [all...] |
jdatadst.c | 43 init_destination (j_compress_ptr cinfo) 45 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; 49 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 81 empty_output_buffer (j_compress_ptr cinfo) 83 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; 87 ERREXIT(cinfo, JERR_FILE_WRITE); 106 term_destination (j_compress_ptr cinfo) 108 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; 114 ERREXIT(cinfo, JERR_FILE_WRITE) [all...] |
jmemansi.c | 36 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 42 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 56 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 62 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 81 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 84 return cinfo->mem->max_memory_to_use - already_allocated; 97 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 102 ERREXIT(cinfo, JERR_TFILE_SEEK); 105 ERREXIT(cinfo, JERR_TFILE_READ); 110 write_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
jpegint.h | 46 JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo)); 47 JMETHOD(void, pass_startup, (j_compress_ptr cinfo)); 48 JMETHOD(void, finish_pass, (j_compress_ptr cinfo)); 57 JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); 58 JMETHOD(void, process_data, (j_compress_ptr cinfo, 65 JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); 66 JMETHOD(void, pre_process_data, (j_compress_ptr cinfo, 77 JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode)); 78 JMETHOD(boolean, compress_data, (j_compress_ptr cinfo, 84 JMETHOD(void, start_pass, (j_compress_ptr cinfo)); 398 EXTERN(void) jpeg_decompress_per_scan_setup (j_decompress_ptr cinfo); variable [all...] |
jerror.h | 202 /* The first parameter is either type of cinfo pointer */ 205 #define ERREXIT(cinfo,code) \ 206 ((cinfo)->err->msg_code = (code), \ 207 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) 208 #define ERREXIT1(cinfo,code,p1) \ 209 ((cinfo)->err->msg_code = (code), \ 210 (cinfo)->err->msg_parm.i[0] = (p1), \ 211 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo))) [all...] |
jdpostct.c | 47 JPP((j_decompress_ptr cinfo, 54 JPP((j_decompress_ptr cinfo, 60 JPP((j_decompress_ptr cinfo, 73 start_pass_dpost (j_decompress_ptr cinfo, J_BUF_MODE pass_mode) 75 my_post_ptr post = (my_post_ptr) cinfo->post; 79 if (cinfo->quantize_colors) { 87 post->buffer = (*cinfo->mem->access_virt_sarray) 88 ((j_common_ptr) cinfo, post->whole_image, 95 post->pub.post_process_data = cinfo->upsample->upsample; 102 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE) [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
jerr_hook.cpp | 25 void ErrExit(j_common_ptr cinfo) { 26 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); 27 (*cinfo->err->output_message) (cinfo); 36 void ErrOutput(j_common_ptr cinfo) { 37 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); 39 (*cinfo->err->format_message) (cinfo, buf); 45 void SetupErrMgr(j_common_ptr cinfo, ErrManager* errMgr) { 49 cinfo->err = reinterpret_cast<struct jpeg_error_mgr*>(errMgr) [all...] |
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);
|
jpeg_hook.cpp | 24 void Mgr_init_destination_fcn(j_compress_ptr cinfo) { 25 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); 30 boolean Mgr_empty_output_buffer_fcn(j_compress_ptr cinfo) { 31 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); 34 ERREXIT(cinfo, JERR_FILE_WRITE); 41 void Mgr_term_destination_fcn(j_compress_ptr cinfo) { 42 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); 45 ERREXIT(cinfo, JERR_FILE_WRITE); 49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { 50 if (cinfo->dest != NULL) [all...] |
/external/chromium_org/third_party/iccjpeg/ |
iccjpeg.h | 36 extern void write_icc_profile JPP((j_compress_ptr cinfo, 57 extern void setup_read_icc_profile JPP((j_decompress_ptr cinfo)); 76 extern boolean read_icc_profile JPP((j_decompress_ptr cinfo,
|
/external/chromium_org/ui/gfx/codec/ |
jpeg_codec.cc | 36 void ErrorExit(jpeg_common_struct* cinfo) { 37 CoderErrorMgr *err = reinterpret_cast<CoderErrorMgr*>(cinfo->err); 88 void InitDestination(jpeg_compress_struct* cinfo) { 89 JpegEncoderState* state = static_cast<JpegEncoderState*>(cinfo->client_data); 95 cinfo->dest->next_output_byte = &(*state->out)[0]; 96 cinfo->dest->free_in_buffer = initial_output_buffer_size; 111 boolean EmptyOutputBuffer(jpeg_compress_struct* cinfo) { 112 JpegEncoderState* state = static_cast<JpegEncoderState*>(cinfo->client_data); 121 cinfo->dest->next_output_byte = &(*state->out)[state->image_buffer_used]; 122 cinfo->dest->free_in_buffer = state->out->size() - state->image_buffer_used 207 jpeg_compress_struct cinfo; local 463 jpeg_decompress_struct cinfo; local [all...] |
/frameworks/av/cmds/stagefright/ |
jpeg.cpp | 35 void sf_jpeg_error_exit(j_common_ptr cinfo) { 36 struct sf_jpeg_error_mgr *sf_err = (struct sf_jpeg_error_mgr *)cinfo->err; 42 struct jpeg_compress_struct cinfo; local 52 cinfo.err = jpeg_std_error(&sf_err.jerr); 55 jpeg_destroy_compress(&cinfo); 60 jpeg_create_compress(&cinfo); 61 jpeg_stdio_dest(&cinfo, f); 63 cinfo.image_width = width; 64 cinfo.image_height = height; 65 cinfo.input_components = 3 [all...] |