/external/jpeg/ |
jmemsys.h | 47 EXTERN(void *) jpeg_get_small JPP((j_common_ptr cinfo, size_t sizeofobject)); 48 EXTERN(void) jpeg_free_small JPP((j_common_ptr cinfo, void * object, 60 EXTERN(void FAR *) jpeg_get_large JPP((j_common_ptr cinfo, 62 EXTERN(void) jpeg_free_large JPP((j_common_ptr cinfo, void FAR * object, 91 * method is available, cinfo->mem->max_memory_to_use - already_allocated 103 EXTERN(long) jpeg_mem_available JPP((j_common_ptr cinfo, 141 JMETHOD(void, read_backing_store, (j_common_ptr cinfo, 145 JMETHOD(void, write_backing_store, (j_common_ptr cinfo, 149 JMETHOD(void, close_backing_store, (j_common_ptr cinfo, 186 EXTERN(void) jpeg_open_backing_store JPP((j_common_ptr cinfo, [all...] |
jchuff.c | 84 j_compress_ptr cinfo; /* dump_buffer needs access to this */ member in struct:__anon6668 89 METHODDEF(boolean) encode_mcu_huff JPP((j_compress_ptr cinfo, 91 METHODDEF(void) finish_pass_huff JPP((j_compress_ptr cinfo)); 93 METHODDEF(boolean) encode_mcu_gather JPP((j_compress_ptr cinfo, 95 METHODDEF(void) finish_pass_gather JPP((j_compress_ptr cinfo)); 106 start_pass_huff (j_compress_ptr cinfo, boolean gather_statistics) 108 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy; 117 ERREXIT(cinfo, JERR_NOT_COMPILED); 124 for (ci = 0; ci < cinfo->comps_in_scan; ci++) { 125 compptr = cinfo->cur_comp_info[ci] [all...] |
jpeglib.h | 121 int component_index; /* its index in SOF or cinfo->comp_info[] */ 706 JMETHOD(void, error_exit, (j_common_ptr cinfo)); 708 JMETHOD(void, emit_message, (j_common_ptr cinfo, int msg_level)); 710 JMETHOD(void, output_message, (j_common_ptr cinfo)); 712 JMETHOD(void, format_message, (j_common_ptr cinfo, char * buffer)); 715 JMETHOD(void, reset_error_mgr, (j_common_ptr cinfo)); 763 JMETHOD(void, progress_monitor, (j_common_ptr cinfo)); 778 JMETHOD(void, init_destination, (j_compress_ptr cinfo)); 779 JMETHOD(boolean, empty_output_buffer, (j_compress_ptr cinfo)); 780 JMETHOD(void, term_destination, (j_compress_ptr cinfo)); [all...] |
rdppm.c | 101 read_pbm_integer (j_compress_ptr cinfo, FILE * infile) 114 ERREXIT(cinfo, JERR_INPUT_EOF); 118 ERREXIT(cinfo, JERR_PPM_NONNUMERIC); 141 get_text_gray_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 151 for (col = cinfo->image_width; col > 0; col--) { 152 *ptr++ = rescale[read_pbm_integer(cinfo, infile)]; 159 get_text_rgb_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 169 for (col = cinfo->image_width; col > 0; col--) { 170 *ptr++ = rescale[read_pbm_integer(cinfo, infile)]; 171 *ptr++ = rescale[read_pbm_integer(cinfo, infile)] [all...] |
rdtarga.c | 51 j_compress_ptr cinfo; /* back link saves passing separate parm */ member in struct:_tga_source_struct 71 JMETHOD(JDIMENSION, get_pixel_rows, (j_compress_ptr cinfo, 95 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); 108 ERREXIT(sinfo->cinfo, JERR_TGA_BADCMAP); 174 get_8bit_gray_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 182 for (col = cinfo->image_width; col > 0; col--) { 190 get_8bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 200 for (col = cinfo->image_width; col > 0; col--) { 211 get_16bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) 220 for (col = cinfo->image_width; col > 0; col--) [all...] |
jchuff.h | 42 JPP((j_compress_ptr cinfo, boolean isDC, int tblno, 47 JPP((j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[]));
|
jcsample.c | 55 (j_compress_ptr cinfo, jpeg_component_info * compptr, 75 start_pass_downsample (j_compress_ptr cinfo) 114 sep_downsample (j_compress_ptr cinfo, 118 my_downsample_ptr downsample = (my_downsample_ptr) cinfo->downsample; 123 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 127 (*downsample->methods[ci]) (cinfo, compptr, in_ptr, out_ptr); 140 int_downsample (j_compress_ptr cinfo, jpeg_component_info * compptr, 149 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; 150 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor [all...] |
jdsample.c | 28 (j_decompress_ptr cinfo, jpeg_component_info * compptr, 69 start_pass_upsample (j_decompress_ptr cinfo) 71 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; 74 upsample->next_row_out = cinfo->max_v_samp_factor; 76 upsample->rows_to_go = cinfo->output_height; 89 sep_upsample (j_decompress_ptr cinfo, 95 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; 101 if (upsample->next_row_out >= cinfo->max_v_samp_factor) { 102 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components [all...] |
jmemname.c | 143 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 149 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 163 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 169 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 188 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 191 return cinfo->mem->max_memory_to_use - already_allocated; 204 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 209 ERREXIT(cinfo, JERR_TFILE_SEEK); 212 ERREXIT(cinfo, JERR_TFILE_READ); 217 write_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
jmem-ashmem.c | 37 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 43 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 57 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 63 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; 96 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 105 write_backing_store (j_common_ptr cinfo, backing_store_ptr info, 114 close_backing_store (j_common_ptr cinfo, backing_store_ptr info) 145 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info [all...] |
jdcolor.c | 90 build_ycc_rgb_table (j_decompress_ptr cinfo) 92 my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert; 98 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 101 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 104 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 107 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE [all...] |
wrgif.c | 50 j_decompress_ptr cinfo; /* back link saves passing separate parm */ member in struct:__anon6731 88 ERREXIT(dinfo->cinfo, JERR_FILE_WRITE); 224 int cshift = dinfo->cinfo->data_precision - 8; 228 ERREXIT1(dinfo->cinfo, JERR_TOO_MANY_COLORS, num_colors); 249 put_word(dinfo, (unsigned int) dinfo->cinfo->output_width); 250 put_word(dinfo, (unsigned int) dinfo->cinfo->output_height); 263 if (dinfo->cinfo->out_color_space == JCS_RGB) { 285 put_word(dinfo, (unsigned int) dinfo->cinfo->output_width); /* image size */ 286 put_word(dinfo, (unsigned int) dinfo->cinfo->output_height); 302 start_output_gif (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo [all...] |
jddctmgr.c | 43 void jpeg_idct_armv6 (j_decompress_ptr cinfo, jpeg_component_info * compptr, 118 start_pass (j_decompress_ptr cinfo) 120 my_idct_ptr idct = (my_idct_ptr) cinfo->idct; 127 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 146 switch (cinfo->dct_method) { 174 ERREXIT(cinfo, JERR_NOT_COMPILED); 179 ERREXIT1(cinfo, JERR_BAD_DCTSIZE, compptr->DCT_scaled_size); 294 ERREXIT(cinfo, JERR_NOT_COMPILED); 306 jinit_inverse_dct (j_decompress_ptr cinfo) [all...] |
jquant2.c | 224 prescan_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf, 227 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; 233 JDIMENSION width = cinfo->output_width; 313 update_box (j_decompress_ptr cinfo, boxptr boxp) 317 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize; 424 median_cut (j_decompress_ptr cinfo, boxptr boxlist, int numboxes, 490 update_box(cinfo, b1); 491 update_box(cinfo, b2); 499 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor) 504 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize [all...] |
jmemmgr.c | 186 print_mem_stats (j_common_ptr cinfo, int pool_id) 188 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; 217 out_of_memory (j_common_ptr cinfo, int which) 222 cinfo->err->trace_level = 2; /* force self_destruct to report stats */ 224 ERREXIT1(cinfo, JERR_OUT_OF_MEMORY, which); 257 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) 260 my_mem_ptr mem = (my_mem_ptr) cinfo->mem; 267 out_of_memory(cinfo, 1); /* request exceeds malloc's ability */ 276 ERREXIT1(cinfo, JERR_BAD_POOL_ID, pool_id); /* safety check */ 299 hdr_ptr = (small_pool_ptr) jpeg_get_small(cinfo, min_request + slop) [all...] |
cdjpeg.c | 47 enable_signal_catcher (j_common_ptr cinfo) 49 sig_cinfo = cinfo; 68 progress_monitor (j_common_ptr cinfo) 70 cd_progress_ptr prog = (cd_progress_ptr) cinfo->progress; 89 start_progress_monitor (j_common_ptr cinfo, cd_progress_ptr progress) 92 if (cinfo->err->trace_level == 0) { 97 cinfo->progress = &progress->pub; 103 end_progress_monitor (j_common_ptr cinfo) 106 if (cinfo->err->trace_level == 0) {
|
jcdctmgr.c | 54 start_pass_fdctmgr (j_compress_ptr cinfo) 56 my_fdct_ptr fdct = (my_fdct_ptr) cinfo->fdct; 62 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 67 cinfo->quant_tbl_ptrs[qtblno] == NULL) 68 ERREXIT1(cinfo, JERR_NO_QUANT_TABLE, qtblno); 69 qtbl = cinfo->quant_tbl_ptrs[qtblno]; 72 switch (cinfo->dct_method) { 80 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE [all...] |
jdct.h | 76 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE) 102 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 105 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 108 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 111 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 114 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 117 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
|
jmemdos.c | 166 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) 172 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) 183 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) 189 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) 208 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 211 return cinfo->mem->max_memory_to_use - already_allocated; 243 read_file_store (j_common_ptr cinfo, backing_store_ptr info, 248 ERREXIT(cinfo, JERR_TFILE_SEEK); 251 ERREXIT(cinfo, JERR_BAD_ALLOC_CHUNK); 254 ERREXIT(cinfo, JERR_TFILE_READ) [all...] |
jdmerge.c | 66 JMETHOD(void, upmethod, (j_decompress_ptr cinfo, 101 build_ycc_rgb_table (j_decompress_ptr cinfo) 103 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample; 109 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 112 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 115 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 118 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE [all...] |
rdswitch.c | 73 read_quant_tables (j_compress_ptr cinfo, char * filename, 111 jpeg_add_quant_table(cinfo, tblno, table, scale_factor, force_baseline); 158 read_scan_script (j_compress_ptr cinfo, char * filename) 246 /* Stash completed scan list in cinfo structure. 251 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 254 cinfo->scan_info = scanptr; 255 cinfo->num_scans = scanno; 266 set_quant_slots (j_compress_ptr cinfo, char *arg) 288 cinfo->comp_info[ci].quant_tbl_no = val [all...] |
/external/skia/src/images/ |
SkJpegUtility.cpp | 20 static void sk_init_source(j_decompress_ptr cinfo) { 21 skjpeg_source_mgr* src = (skjpeg_source_mgr*)cinfo->src; 28 static boolean sk_seek_input_data(j_decompress_ptr cinfo, long byte_offset) { 29 skjpeg_source_mgr* src = (skjpeg_source_mgr*)cinfo->src; 44 static boolean sk_fill_input_buffer(j_decompress_ptr cinfo) { 45 skjpeg_source_mgr* src = (skjpeg_source_mgr*)cinfo->src; 62 static void sk_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { 63 skjpeg_source_mgr* src = (skjpeg_source_mgr*)cinfo->src; 71 cinfo->err->error_exit((j_common_ptr)cinfo); [all...] |
/frameworks/base/core/jni/android/graphics/ |
YuvToJpegEncoder.h | 41 void setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, 43 virtual void configSamplingFactors(jpeg_compress_struct* cinfo) = 0; 44 virtual void compress(jpeg_compress_struct* cinfo, 54 void configSamplingFactors(jpeg_compress_struct* cinfo); 59 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets); 68 void configSamplingFactors(jpeg_compress_struct* cinfo); 69 void compress(jpeg_compress_struct* cinfo, uint8_t* yuv, int* offsets);
|
/hardware/ti/omap4xxx/camera/ |
Encoder_libjpeg.cpp | 69 static void libjpeg_init_destination (j_compress_ptr cinfo) { 70 libjpeg_destination_mgr* dest = (libjpeg_destination_mgr*)cinfo->dest; 77 static boolean libjpeg_empty_output_buffer(j_compress_ptr cinfo) { 78 libjpeg_destination_mgr* dest = (libjpeg_destination_mgr*)cinfo->dest; 85 static void libjpeg_term_destination (j_compress_ptr cinfo) { 86 libjpeg_destination_mgr* dest = (libjpeg_destination_mgr*)cinfo->dest; 350 jpeg_compress_struct cinfo; local 397 cinfo.err = jpeg_std_error(&jerr); 399 jpeg_create_compress(&cinfo); 410 cinfo.dest = &dest_mgr [all...] |
/frameworks/base/include/ui/ |
PixelFormat.h | 105 return (ci <= 3) ? (cinfo[ci].h - cinfo[ci].l) : 0; 112 szinfo cinfo[4]; member in union:android::PixelFormatInfo::__anon14449
|