/external/jpeg/ |
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 | 92 build_ycc_rgb_table (j_decompress_ptr cinfo) 94 my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert; 100 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 103 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 106 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 109 (*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:__anon21470 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...] |
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 | 80 #define IDCT_range_limit(cinfo) ((cinfo)->sample_range_limit + CENTERJSAMPLE) 106 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 109 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 112 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 115 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 118 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr, 121 JPP((j_decompress_ptr cinfo, jpeg_component_info * compptr,
|
jddctmgr.c | 47 void jpeg_idct_armv6 (j_decompress_ptr cinfo, jpeg_component_info * compptr, 59 extern void jpeg_idct_intelsse (j_decompress_ptr cinfo, jpeg_component_info * compptr, 133 start_pass (j_decompress_ptr cinfo) 135 my_idct_ptr idct = (my_idct_ptr) cinfo->idct; 142 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 177 switch (cinfo->dct_method) { 229 ERREXIT(cinfo, JERR_NOT_COMPILED); 234 ERREXIT1(cinfo, JERR_BAD_DCTSIZE, compptr->DCT_scaled_size); 349 ERREXIT(cinfo, JERR_NOT_COMPILED) [all...] |
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...] |
/external/qemu/distrib/jpeg-6b/ |
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 | 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) 80 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, 83 return cinfo->mem->max_memory_to_use - already_allocated; 95 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 104 write_backing_store (j_common_ptr cinfo, backing_store_ptr info, 113 close_backing_store (j_common_ptr cinfo, backing_store_ptr info) 144 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:__anon26721 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...] |
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,
|
jddctmgr.c | 43 void jpeg_idct_armv6 (j_decompress_ptr cinfo, jpeg_component_info * compptr, 55 extern void jpeg_idct_intelsse (j_decompress_ptr cinfo, jpeg_component_info * compptr, 125 start_pass (j_decompress_ptr cinfo) 127 my_idct_ptr idct = (my_idct_ptr) cinfo->idct; 134 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 153 switch (cinfo->dct_method) { 189 ERREXIT(cinfo, JERR_NOT_COMPILED); 194 ERREXIT1(cinfo, JERR_BAD_DCTSIZE, compptr->DCT_scaled_size); 309 ERREXIT(cinfo, JERR_NOT_COMPILED) [all...] |
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...] |
/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);
|