HomeSort by relevance Sort by last modified time
    Searched refs:cinfo (Results 51 - 75 of 201) sorted by null

1 23 4 5 6 7 8 9

  /external/jpeg/
jdphuff.c 77 METHODDEF(boolean) decode_mcu_DC_first JPP((j_decompress_ptr cinfo,
79 METHODDEF(boolean) decode_mcu_AC_first JPP((j_decompress_ptr cinfo,
81 METHODDEF(boolean) decode_mcu_DC_refine JPP((j_decompress_ptr cinfo,
83 METHODDEF(boolean) decode_mcu_AC_refine JPP((j_decompress_ptr cinfo,
91 start_pass_phuff_decoder (j_decompress_ptr cinfo)
93 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy;
99 is_DC_band = (cinfo->Ss == 0);
104 if (cinfo->Se != 0)
108 if (cinfo->Ss > cinfo->Se || cinfo->Se >= DCTSIZE2
    [all...]
jctrans.c 20 JPP((j_compress_ptr cinfo, jvirt_barray_ptr * coef_arrays));
22 JPP((j_compress_ptr cinfo, jvirt_barray_ptr * coef_arrays));
30 * The number of passed virtual arrays must match cinfo->num_components.
38 jpeg_write_coefficients (j_compress_ptr cinfo, jvirt_barray_ptr * coef_arrays)
40 if (cinfo->global_state != CSTATE_START)
41 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
43 jpeg_suppress_tables(cinfo, FALSE);
45 (*cinfo->err->reset_error_mgr) ((j_common_ptr) cinfo);
    [all...]
jdmainct.c 144 JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf,
147 JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf,
151 JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf,
157 alloc_funny_pointers (j_decompress_ptr cinfo)
162 my_main_ptr main = (my_main_ptr) cinfo->main;
164 int M = cinfo->min_DCT_scaled_size;
172 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
173 cinfo->num_components * 2 * SIZEOF(JSAMPARRAY));
174 main->xbuffer[1] = main->xbuffer[0] + cinfo->num_components
    [all...]
rdrle.c 81 start_input_rle (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
86 cd_progress_ptr progress = (cd_progress_ptr) cinfo->progress;
97 ERREXIT(cinfo, JERR_RLE_NOT);
100 ERREXIT(cinfo, JERR_RLE_MEM);
103 ERREXIT(cinfo, JERR_RLE_EMPTY);
106 ERREXIT(cinfo, JERR_RLE_EOF);
109 ERREXIT(cinfo, JERR_RLE_BADERROR);
120 cinfo->image_width = width;
121 cinfo->image_height = height;
122 cinfo->data_precision = 8; /* we can only handle 8 bit data *
    [all...]
jdatasrc.c 44 init_source (j_decompress_ptr cinfo)
46 my_src_ptr src = (my_src_ptr) cinfo->src;
90 fill_input_buffer (j_decompress_ptr cinfo)
92 my_src_ptr src = (my_src_ptr) cinfo->src;
99 ERREXIT(cinfo, JERR_INPUT_EMPTY);
100 WARNMS(cinfo, JWRN_JPEG_EOF);
128 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
130 my_src_ptr src = (my_src_ptr) cinfo->src;
139 (void) fill_input_buffer(cinfo);
169 term_source (j_decompress_ptr cinfo)
    [all...]
jcparam.c 23 jpeg_add_quant_table (j_compress_ptr cinfo, int which_tbl,
37 if (cinfo->global_state != CSTATE_START)
38 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
41 ERREXIT1(cinfo, JERR_DQT_INDEX, which_tbl);
43 qtblptr = & cinfo->quant_tbl_ptrs[which_tbl];
46 *qtblptr = jpeg_alloc_quant_table((j_common_ptr) cinfo);
64 jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor,
98 jpeg_add_quant_table(cinfo, 0, std_luminance_quant_tbl,
100 jpeg_add_quant_table(cinfo, 1, std_chrominance_quant_tbl
    [all...]
jdhuff.c 22 LOCAL(boolean) process_restart (j_decompress_ptr cinfo);
87 start_pass_huff_decoder (j_decompress_ptr cinfo)
89 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy;
97 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2-1 ||
98 cinfo->Ah != 0 || cinfo->Al != 0)
99 WARNMS(cinfo, JWRN_NOT_SEQUENTIAL);
101 for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
102 compptr = cinfo->cur_comp_info[ci]
301 j_decompress_ptr cinfo = state->cinfo; local
    [all...]
jcmainct.c 55 JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
59 JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
69 start_pass_main (j_compress_ptr cinfo, J_BUF_MODE pass_mode)
71 my_main_ptr main = (my_main_ptr) cinfo->main;
74 if (cinfo->raw_data_in)
86 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
95 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
100 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
113 process_data_simple_main (j_compress_ptr cinfo,
117 my_main_ptr main = (my_main_ptr) cinfo->main
    [all...]
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:__anon7569
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...]
  /external/qemu/distrib/jpeg-6b/
jdphuff.c 77 METHODDEF(boolean) decode_mcu_DC_first JPP((j_decompress_ptr cinfo,
79 METHODDEF(boolean) decode_mcu_AC_first JPP((j_decompress_ptr cinfo,
81 METHODDEF(boolean) decode_mcu_DC_refine JPP((j_decompress_ptr cinfo,
83 METHODDEF(boolean) decode_mcu_AC_refine JPP((j_decompress_ptr cinfo,
91 start_pass_phuff_decoder (j_decompress_ptr cinfo)
93 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy;
99 is_DC_band = (cinfo->Ss == 0);
104 if (cinfo->Se != 0)
108 if (cinfo->Ss > cinfo->Se || cinfo->Se >= DCTSIZE2
    [all...]
jctrans.c 20 JPP((j_compress_ptr cinfo, jvirt_barray_ptr * coef_arrays));
22 JPP((j_compress_ptr cinfo, jvirt_barray_ptr * coef_arrays));
30 * The number of passed virtual arrays must match cinfo->num_components.
38 jpeg_write_coefficients (j_compress_ptr cinfo, jvirt_barray_ptr * coef_arrays)
40 if (cinfo->global_state != CSTATE_START)
41 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
43 jpeg_suppress_tables(cinfo, FALSE);
45 (*cinfo->err->reset_error_mgr) ((j_common_ptr) cinfo);
    [all...]
jdmainct.c 144 JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf,
147 JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf,
151 JPP((j_decompress_ptr cinfo, JSAMPARRAY output_buf,
157 alloc_funny_pointers (j_decompress_ptr cinfo)
162 my_main_ptr main = (my_main_ptr) cinfo->main;
164 int M = cinfo->min_DCT_scaled_size;
172 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
173 cinfo->num_components * 2 * SIZEOF(JSAMPARRAY));
174 main->xbuffer[1] = main->xbuffer[0] + cinfo->num_components
    [all...]
rdrle.c 81 start_input_rle (j_compress_ptr cinfo, cjpeg_source_ptr sinfo)
86 cd_progress_ptr progress = (cd_progress_ptr) cinfo->progress;
97 ERREXIT(cinfo, JERR_RLE_NOT);
100 ERREXIT(cinfo, JERR_RLE_MEM);
103 ERREXIT(cinfo, JERR_RLE_EMPTY);
106 ERREXIT(cinfo, JERR_RLE_EOF);
109 ERREXIT(cinfo, JERR_RLE_BADERROR);
120 cinfo->image_width = width;
121 cinfo->image_height = height;
122 cinfo->data_precision = 8; /* we can only handle 8 bit data *
    [all...]
jdatasrc.c 44 init_source (j_decompress_ptr cinfo)
46 my_src_ptr src = (my_src_ptr) cinfo->src;
90 fill_input_buffer (j_decompress_ptr cinfo)
92 my_src_ptr src = (my_src_ptr) cinfo->src;
99 ERREXIT(cinfo, JERR_INPUT_EMPTY);
100 WARNMS(cinfo, JWRN_JPEG_EOF);
128 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
130 my_src_ptr src = (my_src_ptr) cinfo->src;
139 (void) fill_input_buffer(cinfo);
169 term_source (j_decompress_ptr cinfo)
    [all...]
jcparam.c 23 jpeg_add_quant_table (j_compress_ptr cinfo, int which_tbl,
37 if (cinfo->global_state != CSTATE_START)
38 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
41 ERREXIT1(cinfo, JERR_DQT_INDEX, which_tbl);
43 qtblptr = & cinfo->quant_tbl_ptrs[which_tbl];
46 *qtblptr = jpeg_alloc_quant_table((j_common_ptr) cinfo);
64 jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor,
98 jpeg_add_quant_table(cinfo, 0, std_luminance_quant_tbl,
100 jpeg_add_quant_table(cinfo, 1, std_chrominance_quant_tbl
    [all...]
jdhuff.c 22 LOCAL(boolean) process_restart (j_decompress_ptr cinfo);
87 start_pass_huff_decoder (j_decompress_ptr cinfo)
89 huff_entropy_ptr entropy = (huff_entropy_ptr) cinfo->entropy;
97 if (cinfo->Ss != 0 || cinfo->Se != DCTSIZE2-1 ||
98 cinfo->Ah != 0 || cinfo->Al != 0)
99 WARNMS(cinfo, JWRN_NOT_SEQUENTIAL);
101 for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
102 compptr = cinfo->cur_comp_info[ci]
301 j_decompress_ptr cinfo = state->cinfo; local
    [all...]
jcmainct.c 55 JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
59 JPP((j_compress_ptr cinfo, JSAMPARRAY input_buf,
69 start_pass_main (j_compress_ptr cinfo, J_BUF_MODE pass_mode)
71 my_main_ptr main = (my_main_ptr) cinfo->main;
74 if (cinfo->raw_data_in)
86 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
95 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
100 ERREXIT(cinfo, JERR_BAD_BUFFER_MODE);
113 process_data_simple_main (j_compress_ptr cinfo,
117 my_main_ptr main = (my_main_ptr) cinfo->main
    [all...]
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:__anon10621
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...]
  /external/skia/src/images/
SkImageDecoder_libjpeg.cpp 51 delete cinfo->src;
52 jpeg_finish_decompress(cinfo);
53 jpeg_destroy_decompress(cinfo);
54 free(cinfo);
56 jpeg_decompress_struct *cinfo; member in class:SkJPEGImageIndex
124 static void overwrite_mem_buffer_size(j_decompress_ptr cinfo) {
126 cinfo->mem->max_memory_to_use = 30 * 1024 * 1024;
128 cinfo->mem->max_memory_to_use = 5 * 1024 * 1024;
144 const jpeg_decompress_struct& cinfo) {
145 return sampleSize * cinfo.output_width / cinfo.image_width
200 jpeg_decompress_struct cinfo; local
467 jpeg_decompress_struct *cinfo = (jpeg_decompress_struct*) local
543 jpeg_decompress_struct *cinfo = index->cinfo; local
934 jpeg_compress_struct cinfo; local
    [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...]

Completed in 1184 milliseconds

1 23 4 5 6 7 8 9