HomeSort by relevance Sort by last modified time
    Searched refs:cinfo (Results 1 - 25 of 238) sorted by null

1 2 3 4 5 6 7 8 910

  /external/jpeg/
jcinit.c 30 jinit_compress_master (j_compress_ptr cinfo)
33 jinit_c_master_control(cinfo, FALSE /* full compression */);
36 if (! cinfo->raw_data_in) {
37 jinit_color_converter(cinfo);
38 jinit_downsampler(cinfo);
39 jinit_c_prep_controller(cinfo, FALSE /* never need full buffer here */);
42 jinit_forward_dct(cinfo);
44 if (cinfo->arith_code) {
45 ERREXIT(cinfo, JERR_ARITH_NOTIMPL);
47 if (cinfo->progressive_mode)
    [all...]
jdapistd.c 23 LOCAL(boolean) output_pass_setup JPP((j_decompress_ptr cinfo));
38 jpeg_start_decompress (j_decompress_ptr cinfo)
40 if (cinfo->global_state == DSTATE_READY) {
42 jinit_master_decompress(cinfo); variable
43 if (cinfo->buffered_image) {
45 cinfo->global_state = DSTATE_BUFIMAGE;
48 cinfo->global_state = DSTATE_PRELOAD;
50 if (cinfo->global_state == DSTATE_PRELOAD) {
52 if (cinfo->inputctl->has_multiple_scans) {
57 if (cinfo->progress != NULL
58 (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo); variable
    [all...]
jcapistd.c 38 jpeg_start_compress (j_compress_ptr cinfo, boolean write_all_tables)
40 if (cinfo->global_state != CSTATE_START)
41 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
44 jpeg_suppress_tables(cinfo, FALSE); /* mark all tables to be written */
47 (*cinfo->err->reset_error_mgr) ((j_common_ptr) cinfo);
48 (*cinfo->dest->init_destination) (cinfo);
50 jinit_compress_master(cinfo);
    [all...]
jdapimin.c 30 jpeg_CreateDecompress (j_decompress_ptr cinfo, int version, size_t structsize)
35 cinfo->mem = NULL; /* so jpeg_destroy knows mem mgr not called */
37 ERREXIT2(cinfo, JERR_BAD_LIB_VERSION, JPEG_LIB_VERSION, version);
39 ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
49 struct jpeg_error_mgr * err = cinfo->err;
50 void * client_data = cinfo->client_data; /* ignore Purify complaint here */
51 MEMZERO(cinfo, SIZEOF(struct jpeg_decompress_struct));
52 cinfo->err = err;
53 cinfo->client_data = client_data;
55 cinfo->is_decompressor = TRUE
    [all...]
jdmaster.c 44 use_merged_upsample (j_decompress_ptr cinfo)
48 if (cinfo->do_fancy_upsampling || cinfo->CCIR601_sampling)
53 if (cinfo->jpeg_color_space != JCS_YCbCr ||
54 cinfo->num_components != 3 ||
55 cinfo->out_color_components != 3 ||
56 (cinfo->out_color_space != JCS_RGB_565 &&
57 cinfo->out_color_space != JCS_RGB)) {
62 if (cinfo->jpeg_color_space != JCS_YCbCr || cinfo->num_components != 3 |
    [all...]
jdtrans.c 19 LOCAL(void) transdecode_master_selection JPP((j_decompress_ptr cinfo));
45 jpeg_read_coefficients (j_decompress_ptr cinfo)
47 if (cinfo->global_state == DSTATE_READY) {
49 transdecode_master_selection(cinfo);
50 cinfo->global_state = DSTATE_RDCOEFS;
52 if (cinfo->global_state == DSTATE_RDCOEFS) {
57 if (cinfo->progress != NULL)
58 (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo);
60 retcode = (*cinfo->inputctl->consume_input) (cinfo)
    [all...]
jcmarker.c 108 emit_byte (j_compress_ptr cinfo, int val)
111 struct jpeg_destination_mgr * dest = cinfo->dest;
115 if (! (*dest->empty_output_buffer) (cinfo))
116 ERREXIT(cinfo, JERR_CANT_SUSPEND);
122 emit_marker (j_compress_ptr cinfo, JPEG_MARKER mark)
125 emit_byte(cinfo, 0xFF);
126 emit_byte(cinfo, (int) mark);
131 emit_2bytes (j_compress_ptr cinfo, int value)
134 emit_byte(cinfo, (value >> 8) & 0xFF);
135 emit_byte(cinfo, value & 0xFF)
    [all...]
jcapimin.c 30 jpeg_CreateCompress (j_compress_ptr cinfo, int version, size_t structsize)
35 cinfo->mem = NULL; /* so jpeg_destroy knows mem mgr not called */
37 ERREXIT2(cinfo, JERR_BAD_LIB_VERSION, JPEG_LIB_VERSION, version);
39 ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
49 struct jpeg_error_mgr * err = cinfo->err;
50 void * client_data = cinfo->client_data; /* ignore Purify complaint here */
51 MEMZERO(cinfo, SIZEOF(struct jpeg_compress_struct));
52 cinfo->err = err;
53 cinfo->client_data = client_data;
55 cinfo->is_decompressor = FALSE
    [all...]
jdinput.c 31 METHODDEF(int) consume_markers JPP((j_decompress_ptr cinfo));
32 METHODDEF(int) consume_markers_with_huffman_index JPP((j_decompress_ptr cinfo,
41 initial_setup (j_decompress_ptr cinfo)
48 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
49 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
50 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION);
53 if (cinfo->data_precision != BITS_IN_JSAMPLE)
54 ERREXIT1(cinfo, JERR_BAD_PRECISION, cinfo->data_precision);
57 if (cinfo->num_components > MAX_COMPONENTS
    [all...]
jdmarker.c 113 * 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,action);
    [all...]
example.c 80 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.in_color_space = JCS_RGB; /* colorspace of input image *
289 struct jpeg_decompress_struct cinfo; local
    [all...]
jcomapi.c 29 jpeg_abort (j_common_ptr cinfo)
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)
73 if (cinfo->mem != NULL
    [all...]
jcmaster.c 46 initial_setup (j_compress_ptr cinfo)
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->image_width * (long) cinfo->input_components
    [all...]
  /external/pdfium/core/src/fxcodec/libjpeg/
fpdfapi_jcinit.c 31 jinit_compress_master (j_compress_ptr cinfo)
34 jinit_c_master_control(cinfo, FALSE /* full compression */);
37 if (! cinfo->raw_data_in) {
38 jinit_color_converter(cinfo);
39 jinit_downsampler(cinfo);
40 jinit_c_prep_controller(cinfo, FALSE /* never need full buffer here */);
43 jinit_forward_dct(cinfo);
45 if (cinfo->arith_code) {
46 ERREXIT(cinfo, JERR_ARITH_NOTIMPL);
48 if (cinfo->progressive_mode)
    [all...]
fpdfapi_jdtrans.c 20 LOCAL(void) transdecode_master_selection JPP((j_decompress_ptr cinfo));
46 jpeg_read_coefficients (j_decompress_ptr cinfo)
48 if (cinfo->global_state == DSTATE_READY) {
50 transdecode_master_selection(cinfo);
51 cinfo->global_state = DSTATE_RDCOEFS;
53 if (cinfo->global_state == DSTATE_RDCOEFS) {
58 if (cinfo->progress != NULL)
59 (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo);
61 retcode = (*cinfo->inputctl->consume_input) (cinfo)
    [all...]
fpdfapi_jcapistd.c 39 jpeg_start_compress (j_compress_ptr cinfo, boolean write_all_tables)
41 if (cinfo->global_state != CSTATE_START)
42 ERREXIT1(cinfo, JERR_BAD_STATE, cinfo->global_state);
45 jpeg_suppress_tables(cinfo, FALSE); /* mark all tables to be written */
48 (*cinfo->err->reset_error_mgr) ((j_common_ptr) cinfo);
49 (*cinfo->dest->init_destination) (cinfo);
51 jinit_compress_master(cinfo);
    [all...]
fpdfapi_jdapimin.c 31 jpeg_CreateDecompress (j_decompress_ptr cinfo, int version, size_t structsize)
36 cinfo->mem = NULL; /* so jpeg_destroy knows mem mgr not called */
38 ERREXIT2(cinfo, JERR_BAD_LIB_VERSION, JPEG_LIB_VERSION, version);
40 ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
50 struct jpeg_error_mgr * err = cinfo->err;
51 void * client_data = cinfo->client_data; /* ignore Purify complaint here */
52 MEMZERO(cinfo, SIZEOF(struct jpeg_decompress_struct));
53 cinfo->err = err;
54 cinfo->client_data = client_data;
56 cinfo->is_decompressor = TRUE
    [all...]
fpdfapi_jdmaster.c 45 use_merged_upsample (j_decompress_ptr cinfo)
49 if (cinfo->do_fancy_upsampling || cinfo->CCIR601_sampling)
52 if (cinfo->jpeg_color_space != JCS_YCbCr || cinfo->num_components != 3 ||
53 cinfo->out_color_space != JCS_RGB ||
54 cinfo->out_color_components != RGB_PIXELSIZE)
57 if (cinfo->comp_info[0].h_samp_factor != 2 ||
58 cinfo->comp_info[1].h_samp_factor != 1 ||
59 cinfo->comp_info[2].h_samp_factor != 1 |
    [all...]
fpdfapi_jdapistd.c 24 LOCAL(boolean) output_pass_setup JPP((j_decompress_ptr cinfo));
39 jpeg_start_decompress (j_decompress_ptr cinfo)
41 if (cinfo->global_state == DSTATE_READY) {
43 jinit_master_decompress(cinfo); variable
44 if (cinfo->buffered_image) {
46 cinfo->global_state = DSTATE_BUFIMAGE;
49 cinfo->global_state = DSTATE_PRELOAD;
51 if (cinfo->global_state == DSTATE_PRELOAD) {
53 if (cinfo->inputctl->has_multiple_scans) {
58 if (cinfo->progress != NULL
59 (*cinfo->progress->progress_monitor) ((j_common_ptr) cinfo); variable
    [all...]
fpdfapi_jcmarker.c 109 emit_byte (j_compress_ptr cinfo, int val)
112 struct jpeg_destination_mgr * dest = cinfo->dest;
116 if (! (*dest->empty_output_buffer) (cinfo))
117 ERREXIT(cinfo, JERR_CANT_SUSPEND);
123 emit_marker (j_compress_ptr cinfo, JPEG_MARKER mark)
126 emit_byte(cinfo, 0xFF);
127 emit_byte(cinfo, (int) mark);
132 emit_2bytes (j_compress_ptr cinfo, int value)
135 emit_byte(cinfo, (value >> 8) & 0xFF);
136 emit_byte(cinfo, value & 0xFF)
    [all...]
fpdfapi_jcapimin.c 31 jpeg_CreateCompress (j_compress_ptr cinfo, int version, size_t structsize)
36 cinfo->mem = NULL; /* so jpeg_destroy knows mem mgr not called */
38 ERREXIT2(cinfo, JERR_BAD_LIB_VERSION, JPEG_LIB_VERSION, version);
40 ERREXIT2(cinfo, JERR_BAD_STRUCT_SIZE,
50 struct jpeg_error_mgr * err = cinfo->err;
51 void * client_data = cinfo->client_data; /* ignore Purify complaint here */
52 MEMZERO(cinfo, SIZEOF(struct jpeg_compress_struct));
53 cinfo->err = err;
54 cinfo->client_data = client_data;
56 cinfo->is_decompressor = FALSE
    [all...]
fpdfapi_jdinput.c 32 METHODDEF(int) consume_markers JPP((j_decompress_ptr cinfo));
40 initial_setup (j_decompress_ptr cinfo)
47 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
48 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
49 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION);
52 if (cinfo->data_precision != BITS_IN_JSAMPLE)
53 ERREXIT1(cinfo, JERR_BAD_PRECISION, cinfo->data_precision);
56 if (cinfo->num_components > MAX_COMPONENTS)
57 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components
    [all...]
fpdfapi_jdmarker.c 114 * At all times, cinfo->src->next_input_byte and ->bytes_in_buffer reflect
120 #define INPUT_VARS(cinfo) \
121 struct jpeg_source_mgr * datasrc = (cinfo)->src; \
126 #define INPUT_SYNC(cinfo) \
131 #define INPUT_RELOAD(cinfo) \
139 #define MAKE_BYTE_AVAIL(cinfo,action) \
141 if (! (*datasrc->fill_input_buffer) (cinfo)) \
143 INPUT_RELOAD(cinfo); \
149 #define INPUT_BYTE(cinfo,V,action) \
150 MAKESTMT( MAKE_BYTE_AVAIL(cinfo,action);
    [all...]
fpdfapi_jcomapi.c 30 jpeg_abort (j_common_ptr cinfo)
35 if (cinfo->mem == NULL)
42 (*cinfo->mem->free_pool) (cinfo, pool);
46 if (cinfo->is_decompressor) {
47 cinfo->global_state = DSTATE_START;
51 ((j_decompress_ptr) cinfo)->marker_list = NULL;
53 cinfo->global_state = CSTATE_START;
70 jpeg_destroy (j_common_ptr cinfo)
74 if (cinfo->mem != NULL
    [all...]
fpdfapi_jcmaster.c 47 initial_setup (j_compress_ptr cinfo)
56 if (cinfo->image_height <= 0 || cinfo->image_width <= 0
57 || cinfo->num_components <= 0 || cinfo->input_components <= 0)
58 ERREXIT(cinfo, JERR_EMPTY_IMAGE);
61 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
62 (long) cinfo->image_width > (long) JPEG_MAX_DIMENSION)
63 ERREXIT1(cinfo, JERR_IMAGE_TOO_BIG, (unsigned int) JPEG_MAX_DIMENSION);
66 samplesperrow = (long) cinfo->image_width * (long) cinfo->input_components
    [all...]

Completed in 763 milliseconds

1 2 3 4 5 6 7 8 910