Searched refs:cinfo (Results 26 - 50 of 318) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/jpeg/
H A Dexample.c80 struct jpeg_compress_struct cinfo; local
100 * address which we place into the link field in cinfo.
102 cinfo.err = jpeg_std_error(&jerr);
104 jpeg_create_compress(&cinfo);
118 jpeg_stdio_dest(&cinfo, outfile);
123 * Four fields of the cinfo struct must be filled in:
125 cinfo.image_width = image_width; /* image width and height, in pixels */
126 cinfo.image_height = image_height;
127 cinfo.input_components = 3; /* # of color components per pixel */
128 cinfo
263 my_error_exit(j_common_ptr cinfo) argument
289 struct jpeg_decompress_struct cinfo; local
[all...]
H A Djdinput.c31 METHODDEF(int) consume_markers JPP((j_decompress_ptr cinfo));
39 initial_setup (j_decompress_ptr cinfo) argument
46 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
47 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
48 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION);
51 if (cinfo->data_precision != BITS_IN_JSAMPLE)
52 ERREXIT1(cinfo, JERR_BAD_PRECISION, cinfo->data_precision);
55 if (cinfo->num_components > MAX_COMPONENTS)
56 ERREXIT2(cinfo, JERR_COMPONENT_COUN
121 per_scan_setup(j_decompress_ptr cinfo) argument
220 latch_quant_tables(j_decompress_ptr cinfo) argument
254 start_input_pass(j_decompress_ptr cinfo) argument
271 finish_input_pass(j_decompress_ptr cinfo) argument
288 consume_markers(j_decompress_ptr cinfo) argument
339 reset_input_controller(j_decompress_ptr cinfo) argument
361 jinit_input_controller(j_decompress_ptr cinfo) argument
[all...]
H A Djcomapi.c29 jpeg_abort (j_common_ptr cinfo) argument
34 if (cinfo->mem == NULL)
41 (*cinfo->mem->free_pool) (cinfo, pool);
45 if (cinfo->is_decompressor) {
46 cinfo->global_state = DSTATE_START;
50 ((j_decompress_ptr) cinfo)->marker_list = NULL;
52 cinfo->global_state = CSTATE_START;
69 jpeg_destroy (j_common_ptr cinfo) argument
73 if (cinfo
86 jpeg_alloc_quant_table(j_common_ptr cinfo) argument
98 jpeg_alloc_huff_table(j_common_ptr cinfo) argument
[all...]
H A Djdmarker.c113 * At all times, cinfo->src->next_input_byte and ->bytes_in_buffer reflect
119 #define INPUT_VARS(cinfo) \
120 struct jpeg_source_mgr * datasrc = (cinfo)->src; \
125 #define INPUT_SYNC(cinfo) \
130 #define INPUT_RELOAD(cinfo) \
138 #define MAKE_BYTE_AVAIL(cinfo,action) \
140 if (! (*datasrc->fill_input_buffer) (cinfo)) \
142 INPUT_RELOAD(cinfo); \
148 #define INPUT_BYTE(cinfo,V,action) \
149 MAKESTMT( MAKE_BYTE_AVAIL(cinfo,actio
584 examine_app0(j_decompress_ptr cinfo, JOCTET FAR * data, unsigned int datalen, INT32 remaining) argument
660 examine_app14(j_decompress_ptr cinfo, JOCTET FAR * data, unsigned int datalen, INT32 remaining) argument
952 read_markers(j_decompress_ptr cinfo) argument
1242 reset_marker_reader(j_decompress_ptr cinfo) argument
1262 jinit_marker_reader(j_decompress_ptr cinfo) argument
1300 jpeg_save_markers(j_decompress_ptr cinfo, int marker_code, unsigned int length_limit) argument
1349 jpeg_set_marker_processor(j_decompress_ptr cinfo, int marker_code, jpeg_marker_parser_method routine) argument
[all...]
H A Djcmaster.c46 initial_setup (j_compress_ptr cinfo) argument
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
130 validate_script(j_compress_ptr cinfo) argument
267 select_scan_parameters(j_compress_ptr cinfo) argument
308 per_scan_setup(j_compress_ptr cinfo) argument
401 prepare_for_pass(j_compress_ptr cinfo) argument
489 pass_startup(j_compress_ptr cinfo) argument
503 finish_pass_master(j_compress_ptr cinfo) argument
543 jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only) argument
[all...]
H A Dwrrle.c66 JPP((j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
77 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) argument
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
153 rle_put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied) argument
172 finish_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) argument
[all...]
H A Drdcolmap.c46 add_map_entry (j_decompress_ptr cinfo, int R, int G, int B) argument
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) argument
89 ERREXIT(cinfo, JERR_BAD_CMAP_FILE);
94 ERREXIT(cinfo, JERR_BAD_CMAP_FIL
138 read_pbm_integer(j_decompress_ptr cinfo, FILE * infile) argument
171 read_ppm_map(j_decompress_ptr cinfo, FILE * infile) argument
231 read_color_map(j_decompress_ptr cinfo, FILE * infile) argument
[all...]
H A Djmemnobs.c35 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) argument
41 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) argument
55 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) argument
61 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) argument
73 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, argument
87 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, argument
90 ERREXIT(cinfo, JERR_NO_BACKING_STORE);
100 jpeg_mem_init (j_common_ptr cinfo) argument
106 jpeg_mem_term (j_common_ptr cinfo) argument
H A Djdphuff.c77 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,
92 start_pass_phuff_decoder (j_decompress_ptr cinfo) argument
94 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy;
100 is_DC_band = (cinfo->Ss == 0);
105 if (cinfo->Se != 0)
109 if (cinfo->Ss > cinfo
641 jinit_phuff_decoder(j_decompress_ptr cinfo) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/jpeg/
H A Dexample.c80 struct jpeg_compress_struct cinfo; local
100 * address which we place into the link field in cinfo.
102 cinfo.err = jpeg_std_error(&jerr);
104 jpeg_create_compress(&cinfo);
118 jpeg_stdio_dest(&cinfo, outfile);
123 * Four fields of the cinfo struct must be filled in:
125 cinfo.image_width = image_width; /* image width and height, in pixels */
126 cinfo.image_height = image_height;
127 cinfo.input_components = 3; /* # of color components per pixel */
128 cinfo
263 my_error_exit(j_common_ptr cinfo) argument
289 struct jpeg_decompress_struct cinfo; local
[all...]
H A Djdinput.c31 METHODDEF(int) consume_markers JPP((j_decompress_ptr cinfo));
39 initial_setup (j_decompress_ptr cinfo) argument
46 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
47 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
48 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION);
51 if (cinfo->data_precision != BITS_IN_JSAMPLE)
52 ERREXIT1(cinfo, JERR_BAD_PRECISION, cinfo->data_precision);
55 if (cinfo->num_components > MAX_COMPONENTS)
56 ERREXIT2(cinfo, JERR_COMPONENT_COUN
121 per_scan_setup(j_decompress_ptr cinfo) argument
220 latch_quant_tables(j_decompress_ptr cinfo) argument
254 start_input_pass(j_decompress_ptr cinfo) argument
271 finish_input_pass(j_decompress_ptr cinfo) argument
288 consume_markers(j_decompress_ptr cinfo) argument
339 reset_input_controller(j_decompress_ptr cinfo) argument
361 jinit_input_controller(j_decompress_ptr cinfo) argument
[all...]
H A Djcomapi.c29 jpeg_abort (j_common_ptr cinfo) argument
34 if (cinfo->mem == NULL)
41 (*cinfo->mem->free_pool) (cinfo, pool);
45 if (cinfo->is_decompressor) {
46 cinfo->global_state = DSTATE_START;
50 ((j_decompress_ptr) cinfo)->marker_list = NULL;
52 cinfo->global_state = CSTATE_START;
69 jpeg_destroy (j_common_ptr cinfo) argument
73 if (cinfo
86 jpeg_alloc_quant_table(j_common_ptr cinfo) argument
98 jpeg_alloc_huff_table(j_common_ptr cinfo) argument
[all...]
H A Djdmarker.c113 * At all times, cinfo->src->next_input_byte and ->bytes_in_buffer reflect
119 #define INPUT_VARS(cinfo) \
120 struct jpeg_source_mgr * datasrc = (cinfo)->src; \
125 #define INPUT_SYNC(cinfo) \
130 #define INPUT_RELOAD(cinfo) \
138 #define MAKE_BYTE_AVAIL(cinfo,action) \
140 if (! (*datasrc->fill_input_buffer) (cinfo)) \
142 INPUT_RELOAD(cinfo); \
148 #define INPUT_BYTE(cinfo,V,action) \
149 MAKESTMT( MAKE_BYTE_AVAIL(cinfo,actio
584 examine_app0(j_decompress_ptr cinfo, JOCTET FAR * data, unsigned int datalen, INT32 remaining) argument
660 examine_app14(j_decompress_ptr cinfo, JOCTET FAR * data, unsigned int datalen, INT32 remaining) argument
952 read_markers(j_decompress_ptr cinfo) argument
1242 reset_marker_reader(j_decompress_ptr cinfo) argument
1262 jinit_marker_reader(j_decompress_ptr cinfo) argument
1300 jpeg_save_markers(j_decompress_ptr cinfo, int marker_code, unsigned int length_limit) argument
1349 jpeg_set_marker_processor(j_decompress_ptr cinfo, int marker_code, jpeg_marker_parser_method routine) argument
[all...]
H A Djcmaster.c46 initial_setup (j_compress_ptr cinfo) argument
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
130 validate_script(j_compress_ptr cinfo) argument
267 select_scan_parameters(j_compress_ptr cinfo) argument
308 per_scan_setup(j_compress_ptr cinfo) argument
401 prepare_for_pass(j_compress_ptr cinfo) argument
489 pass_startup(j_compress_ptr cinfo) argument
503 finish_pass_master(j_compress_ptr cinfo) argument
543 jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only) argument
[all...]
H A Dwrrle.c66 JPP((j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
77 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) argument
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
153 rle_put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied) argument
172 finish_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) argument
[all...]
H A Drdcolmap.c46 add_map_entry (j_decompress_ptr cinfo, int R, int G, int B) argument
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) argument
89 ERREXIT(cinfo, JERR_BAD_CMAP_FILE);
94 ERREXIT(cinfo, JERR_BAD_CMAP_FIL
138 read_pbm_integer(j_decompress_ptr cinfo, FILE * infile) argument
171 read_ppm_map(j_decompress_ptr cinfo, FILE * infile) argument
231 read_color_map(j_decompress_ptr cinfo, FILE * infile) argument
[all...]
H A Djmemnobs.c35 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) argument
41 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) argument
55 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) argument
61 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) argument
73 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, argument
87 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, argument
90 ERREXIT(cinfo, JERR_NO_BACKING_STORE);
100 jpeg_mem_init (j_common_ptr cinfo) argument
106 jpeg_mem_term (j_common_ptr cinfo) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/jpeg/
H A Djdinput.c31 METHODDEF(int) consume_markers JPP((j_decompress_ptr cinfo));
39 initial_setup (j_decompress_ptr cinfo) argument
46 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
47 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
48 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION);
51 if (cinfo->data_precision != BITS_IN_JSAMPLE)
52 ERREXIT1(cinfo, JERR_BAD_PRECISION, cinfo->data_precision);
55 if (cinfo->num_components > MAX_COMPONENTS)
56 ERREXIT2(cinfo, JERR_COMPONENT_COUN
121 per_scan_setup(j_decompress_ptr cinfo) argument
220 latch_quant_tables(j_decompress_ptr cinfo) argument
254 start_input_pass(j_decompress_ptr cinfo) argument
271 finish_input_pass(j_decompress_ptr cinfo) argument
288 consume_markers(j_decompress_ptr cinfo) argument
339 reset_input_controller(j_decompress_ptr cinfo) argument
361 jinit_input_controller(j_decompress_ptr cinfo) argument
[all...]
H A Djcomapi.c29 jpeg_abort (j_common_ptr cinfo) argument
34 if (cinfo->mem == NULL)
41 (*cinfo->mem->free_pool) (cinfo, pool);
45 if (cinfo->is_decompressor) {
46 cinfo->global_state = DSTATE_START;
50 ((j_decompress_ptr) cinfo)->marker_list = NULL;
52 cinfo->global_state = CSTATE_START;
69 jpeg_destroy (j_common_ptr cinfo) argument
73 if (cinfo
86 jpeg_alloc_quant_table(j_common_ptr cinfo) argument
98 jpeg_alloc_huff_table(j_common_ptr cinfo) argument
[all...]
H A Djdmarker.c113 * At all times, cinfo->src->next_input_byte and ->bytes_in_buffer reflect
119 #define INPUT_VARS(cinfo) \
120 struct jpeg_source_mgr * datasrc = (cinfo)->src; \
125 #define INPUT_SYNC(cinfo) \
130 #define INPUT_RELOAD(cinfo) \
138 #define MAKE_BYTE_AVAIL(cinfo,action) \
140 if (! (*datasrc->fill_input_buffer) (cinfo)) \
142 INPUT_RELOAD(cinfo); \
148 #define INPUT_BYTE(cinfo,V,action) \
149 MAKESTMT( MAKE_BYTE_AVAIL(cinfo,actio
584 examine_app0(j_decompress_ptr cinfo, JOCTET FAR * data, unsigned int datalen, INT32 remaining) argument
660 examine_app14(j_decompress_ptr cinfo, JOCTET FAR * data, unsigned int datalen, INT32 remaining) argument
952 read_markers(j_decompress_ptr cinfo) argument
1242 reset_marker_reader(j_decompress_ptr cinfo) argument
1262 jinit_marker_reader(j_decompress_ptr cinfo) argument
1300 jpeg_save_markers(j_decompress_ptr cinfo, int marker_code, unsigned int length_limit) argument
1349 jpeg_set_marker_processor(j_decompress_ptr cinfo, int marker_code, jpeg_marker_parser_method routine) argument
[all...]
H A Djcmaster.c46 initial_setup (j_compress_ptr cinfo) argument
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
130 validate_script(j_compress_ptr cinfo) argument
267 select_scan_parameters(j_compress_ptr cinfo) argument
308 per_scan_setup(j_compress_ptr cinfo) argument
401 prepare_for_pass(j_compress_ptr cinfo) argument
489 pass_startup(j_compress_ptr cinfo) argument
503 finish_pass_master(j_compress_ptr cinfo) argument
543 jinit_c_master_control(j_compress_ptr cinfo, boolean transcode_only) argument
[all...]
H A Dwrrle.c66 JPP((j_decompress_ptr cinfo, djpeg_dest_ptr dinfo,
77 start_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) argument
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
153 rle_put_pixel_rows(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo, JDIMENSION rows_supplied) argument
172 finish_output_rle(j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) argument
[all...]
H A Drdcolmap.c46 add_map_entry (j_decompress_ptr cinfo, int R, int G, int B) argument
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) argument
89 ERREXIT(cinfo, JERR_BAD_CMAP_FILE);
94 ERREXIT(cinfo, JERR_BAD_CMAP_FIL
138 read_pbm_integer(j_decompress_ptr cinfo, FILE * infile) argument
171 read_ppm_map(j_decompress_ptr cinfo, FILE * infile) argument
231 read_color_map(j_decompress_ptr cinfo, FILE * infile) argument
[all...]
H A Djmemnobs.c35 jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject) argument
41 jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject) argument
55 jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject) argument
61 jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject) argument
73 jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed, argument
87 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, argument
90 ERREXIT(cinfo, JERR_NO_BACKING_STORE);
100 jpeg_mem_init (j_common_ptr cinfo) argument
106 jpeg_mem_term (j_common_ptr cinfo) argument
H A Djdphuff.c77 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,
92 start_pass_phuff_decoder (j_decompress_ptr cinfo) argument
94 phuff_entropy_ptr entropy = (phuff_entropy_ptr) cinfo->entropy;
100 is_DC_band = (cinfo->Ss == 0);
105 if (cinfo->Se != 0)
109 if (cinfo->Ss > cinfo
641 jinit_phuff_decoder(j_decompress_ptr cinfo) argument
[all...]

Completed in 307 milliseconds

1234567891011>>