/external/qemu/distrib/jpeg-6b/ |
cjpeg.c | 80 select_file_type (j_compress_ptr cinfo, FILE * infile) 86 return jinit_read_targa(cinfo); 88 ERREXIT(cinfo, JERR_TGA_NOTCOMP); 93 ERREXIT(cinfo, JERR_INPUT_EMPTY); 95 ERREXIT(cinfo, JERR_UNGETC_FAILED); 100 return jinit_read_bmp(cinfo); 104 return jinit_read_gif(cinfo); 108 return jinit_read_ppm(cinfo); 112 return jinit_read_rle(cinfo); 116 return jinit_read_targa(cinfo); 463 struct jpeg_compress_struct cinfo; local [all...] |
wrtarga.c | 54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) 69 targaheader[12] = (char) (cinfo->output_width & 0xFF); 70 targaheader[13] = (char) (cinfo->output_width >> 8); 71 targaheader[14] = (char) (cinfo->output_height & 0xFF); 72 targaheader[15] = (char) (cinfo->output_height >> 8); 75 if (cinfo->out_color_space == JCS_GRAYSCALE) { 89 ERREXIT(cinfo, JERR_FILE_WRITE); 99 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 110 for (col = cinfo->output_width; col > 0; col--) { 120 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo [all...] |
jcphuff.c | 31 * next_output_byte/free_in_buffer are local copies of cinfo->dest fields. 37 j_compress_ptr cinfo; /* link to cinfo (needed for dump_buffer) */ member in struct:__anon26665 89 METHODDEF(boolean) encode_mcu_DC_first JPP((j_compress_ptr cinfo, 91 METHODDEF(boolean) encode_mcu_AC_first JPP((j_compress_ptr cinfo, 93 METHODDEF(boolean) encode_mcu_DC_refine JPP((j_compress_ptr cinfo, 95 METHODDEF(boolean) encode_mcu_AC_refine JPP((j_compress_ptr cinfo, 97 METHODDEF(void) finish_pass_phuff JPP((j_compress_ptr cinfo)); 98 METHODDEF(void) finish_pass_gather_phuff JPP((j_compress_ptr cinfo)); 106 start_pass_phuff (j_compress_ptr cinfo, boolean gather_statistics [all...] |
jmem-android.c | 38 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 44 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 58 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 64 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 83 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 86 return cinfo->mem->max_memory_to_use - already_allocated; 99 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 104 ERREXIT(cinfo, JERR_TFILE_SEEK); 107 ERREXIT(cinfo, JERR_TFILE_READ); 112 write_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
cdjpeg.h | 27 JMETHOD(void, start_input, (j_compress_ptr cinfo, 29 JMETHOD(JDIMENSION, get_pixel_rows, (j_compress_ptr cinfo, 31 JMETHOD(void, finish_input, (j_compress_ptr cinfo, 51 JMETHOD(void, start_output, (j_decompress_ptr cinfo, 54 JMETHOD(void, put_pixel_rows, (j_decompress_ptr cinfo, 58 JMETHOD(void, finish_output, (j_decompress_ptr cinfo, 65 * Width is cinfo->output_width * cinfo->output_components; 119 EXTERN(cjpeg_source_ptr) jinit_read_bmp JPP((j_compress_ptr cinfo)); 120 EXTERN(djpeg_dest_ptr) jinit_write_bmp JPP((j_decompress_ptr cinfo, [all...] |
djpeg.c | 162 parse_switches (j_decompress_ptr cinfo, int argc, char **argv, 179 cinfo->err->trace_level = 0; 208 cinfo->desired_number_of_colors = val; 209 cinfo->quantize_colors = TRUE; 216 cinfo->dct_method = JDCT_ISLOW; 218 cinfo->dct_method = JDCT_IFAST; 220 cinfo->dct_method = JDCT_FLOAT; 229 cinfo->dither_mode = JDITHER_FS; 231 cinfo->dither_mode = JDITHER_NONE; 233 cinfo->dither_mode = JDITHER_ORDERED 426 struct jpeg_decompress_struct cinfo; local [all...] |
jerror.c | 70 error_exit (j_common_ptr cinfo) 73 (*cinfo->err->output_message) (cinfo); 76 jpeg_destroy(cinfo); 98 output_message (j_common_ptr cinfo) 103 (*cinfo->err->format_message) (cinfo, buffer); 128 emit_message (j_common_ptr cinfo, int msg_level) 130 struct jpeg_error_mgr * err = cinfo->err; 138 (*err->output_message) (cinfo); [all...] |
rdgif.c | 31 jinit_read_gif (j_compress_ptr cinfo)
|
wrbmp.c | 61 JPP((j_decompress_ptr cinfo, bmp_dest_ptr dest, 71 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 82 image_ptr = (*cinfo->mem->access_virt_sarray) 83 ((j_common_ptr) cinfo, dest->whole_image, 92 for (col = cinfo->output_width; col > 0; col--) { 106 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 117 image_ptr = (*cinfo->mem->access_virt_sarray) 118 ((j_common_ptr) cinfo, dest->whole_image, 125 for (col = cinfo->output_width; col > 0; col--) { 142 start_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo [all...] |
rdbmp.c | 55 j_compress_ptr cinfo; /* back link saves passing separate parm */ member in struct:_bmp_source_struct 75 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); 105 ERREXIT(sinfo->cinfo, JERR_BMP_BADCMAP); 119 get_8bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 131 image_ptr = (*cinfo->mem->access_virt_sarray) 132 ((j_common_ptr) cinfo, source->whole_image, 138 for (col = cinfo->image_width; col > 0; col--) { 150 get_24bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 160 image_ptr = (*cinfo->mem->access_virt_sarray) 161 ((j_common_ptr) cinfo, source->whole_image [all...] |
/external/jpeg/ |
wrtarga.c | 54 write_header (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, int num_colors) 69 targaheader[12] = (char) (cinfo->output_width & 0xFF); 70 targaheader[13] = (char) (cinfo->output_width >> 8); 71 targaheader[14] = (char) (cinfo->output_height & 0xFF); 72 targaheader[15] = (char) (cinfo->output_height >> 8); 75 if (cinfo->out_color_space == JCS_GRAYSCALE) { 89 ERREXIT(cinfo, JERR_FILE_WRITE); 99 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 110 for (col = cinfo->output_width; col > 0; col--) { 120 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo [all...] |
jcphuff.c | 31 * next_output_byte/free_in_buffer are local copies of cinfo->dest fields. 37 j_compress_ptr cinfo; /* link to cinfo (needed for dump_buffer) */ member in struct:__anon21414 89 METHODDEF(boolean) encode_mcu_DC_first JPP((j_compress_ptr cinfo, 91 METHODDEF(boolean) encode_mcu_AC_first JPP((j_compress_ptr cinfo, 93 METHODDEF(boolean) encode_mcu_DC_refine JPP((j_compress_ptr cinfo, 95 METHODDEF(boolean) encode_mcu_AC_refine JPP((j_compress_ptr cinfo, 97 METHODDEF(void) finish_pass_phuff JPP((j_compress_ptr cinfo)); 98 METHODDEF(void) finish_pass_gather_phuff JPP((j_compress_ptr cinfo)); 106 start_pass_phuff (j_compress_ptr cinfo, boolean gather_statistics [all...] |
jmem-android.c | 38 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 44 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 58 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 64 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 83 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 86 return cinfo->mem->max_memory_to_use - already_allocated; 99 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 104 ERREXIT(cinfo, JERR_TFILE_SEEK); 107 ERREXIT(cinfo, JERR_TFILE_READ); 112 write_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
cdjpeg.h | 27 JMETHOD(void, start_input, (j_compress_ptr cinfo, 29 JMETHOD(JDIMENSION, get_pixel_rows, (j_compress_ptr cinfo, 31 JMETHOD(void, finish_input, (j_compress_ptr cinfo, 51 JMETHOD(void, start_output, (j_decompress_ptr cinfo, 54 JMETHOD(void, put_pixel_rows, (j_decompress_ptr cinfo, 58 JMETHOD(void, finish_output, (j_decompress_ptr cinfo, 65 * Width is cinfo->output_width * cinfo->output_components; 119 EXTERN(cjpeg_source_ptr) jinit_read_bmp JPP((j_compress_ptr cinfo)); 120 EXTERN(djpeg_dest_ptr) jinit_write_bmp JPP((j_decompress_ptr cinfo, [all...] |
djpeg.c | 162 parse_switches (j_decompress_ptr cinfo, int argc, char **argv, 179 cinfo->err->trace_level = 0; 208 cinfo->desired_number_of_colors = val; 209 cinfo->quantize_colors = TRUE; 216 cinfo->dct_method = JDCT_ISLOW; 218 cinfo->dct_method = JDCT_IFAST; 220 cinfo->dct_method = JDCT_FLOAT; 229 cinfo->dither_mode = JDITHER_FS; 231 cinfo->dither_mode = JDITHER_NONE; 233 cinfo->dither_mode = JDITHER_ORDERED 426 struct jpeg_decompress_struct cinfo; local [all...] |
jccolor.c | 88 rgb_ycc_start (j_compress_ptr cinfo) 90 my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert; 96 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 132 rgb_ycc_convert (j_compress_ptr cinfo, 136 my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert; 142 JDIMENSION num_cols = cinfo->image_width; 188 rgb_gray_convert (j_compress_ptr cinfo, 192 my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert; 198 JDIMENSION num_cols = cinfo->image_width [all...] |
jerror.c | 70 error_exit (j_common_ptr cinfo) 73 (*cinfo->err->output_message) (cinfo); 76 jpeg_destroy(cinfo); 98 output_message (j_common_ptr cinfo) 103 (*cinfo->err->format_message) (cinfo, buffer); 128 emit_message (j_common_ptr cinfo, int msg_level) 130 struct jpeg_error_mgr * err = cinfo->err; 138 (*err->output_message) (cinfo); [all...] |
rdgif.c | 31 jinit_read_gif (j_compress_ptr cinfo)
|
wrbmp.c | 61 JPP((j_decompress_ptr cinfo, bmp_dest_ptr dest, 71 put_pixel_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 82 image_ptr = (*cinfo->mem->access_virt_sarray) 83 ((j_common_ptr) cinfo, dest->whole_image, 92 for (col = cinfo->output_width; col > 0; col--) { 106 put_gray_rows (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, 117 image_ptr = (*cinfo->mem->access_virt_sarray) 118 ((j_common_ptr) cinfo, dest->whole_image, 125 for (col = cinfo->output_width; col > 0; col--) { 142 start_output_bmp (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo [all...] |
rdbmp.c | 55 j_compress_ptr cinfo; /* back link saves passing separate parm */ member in struct:_bmp_source_struct 75 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); 105 ERREXIT(sinfo->cinfo, JERR_BMP_BADCMAP); 119 get_8bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 131 image_ptr = (*cinfo->mem->access_virt_sarray) 132 ((j_common_ptr) cinfo, source->whole_image, 138 for (col = cinfo->image_width; col > 0; col--) { 150 get_24bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 160 image_ptr = (*cinfo->mem->access_virt_sarray) 161 ((j_common_ptr) cinfo, source->whole_image [all...] |
jmemmac.c | 82 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 88 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 102 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 108 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 119 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 122 long limit = cinfo->mem->max_memory_to_use - already_allocated; 154 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 162 ERREXIT(cinfo, JERR_TFILE_SEEK); 167 ERREXIT(cinfo, JERR_TFILE_READ); 172 write_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
/system/extras/tests/bionic/libc/other/ |
test_jpeg.c | 57 _source_init_source(j_decompress_ptr cinfo) 59 SourceMgr src = (SourceMgr) cinfo->src; 66 _source_fill_input_buffer(j_decompress_ptr cinfo) 68 SourceMgr src = (SourceMgr) cinfo->src; 70 cinfo->err->error_exit((j_common_ptr)cinfo); 75 _source_skip_input_data(j_decompress_ptr cinfo, long num_bytes) 77 SourceMgr src = (SourceMgr) cinfo->src; 80 cinfo->err->error_exit((j_common_ptr)cinfo); 143 struct jpeg_decompress_struct cinfo; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.cpp | 26 jpeg_compress_struct cinfo; local 30 cinfo.err = jpeg_std_error(&sk_err); 35 jpeg_create_compress(&cinfo); 37 cinfo.dest = &sk_wstream; 39 setJpegCompressStruct(&cinfo, width, height, jpegQuality); 41 jpeg_start_compress(&cinfo, TRUE); 43 compress(&cinfo, (uint8_t*) inYuv, offsets); 45 jpeg_finish_compress(&cinfo); 50 void YuvToJpegEncoder::setJpegCompressStruct(jpeg_compress_struct* cinfo, 52 cinfo->image_width = width [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
jerr_hook.h | 41 void SetupErrMgr(j_common_ptr cinfo, ErrManager* errMgr);
|
/external/chromium_org/third_party/iccjpeg/ |
iccjpeg.c | 52 write_icc_profile (j_compress_ptr cinfo, 73 jpeg_write_m_header(cinfo, ICC_MARKER, 80 jpeg_write_m_byte(cinfo, 0x49); 81 jpeg_write_m_byte(cinfo, 0x43); 82 jpeg_write_m_byte(cinfo, 0x43); 83 jpeg_write_m_byte(cinfo, 0x5F); 84 jpeg_write_m_byte(cinfo, 0x50); 85 jpeg_write_m_byte(cinfo, 0x52); 86 jpeg_write_m_byte(cinfo, 0x4F); 87 jpeg_write_m_byte(cinfo, 0x46) [all...] |