Lines Matching refs:coef

82   my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
89 coef->MCU_rows_per_iMCU_row = 1;
92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
97 coef->MCU_ctr = 0;
98 coef->MCU_vert_offset = 0;
122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
125 if (coef->pub.coef_arrays != NULL) {
127 coef->pub.decompress_data = decompress_smooth_data;
129 coef->pub.decompress_data = decompress_data;
149 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
162 (cinfo->coef->MCU_column_right_boundary -
163 cinfo->coef->MCU_column_left_boundary) - 1;
168 for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row;
170 for (MCU_col_num = coef->MCU_ctr; MCU_col_num <= last_MCU_col;
173 if (MCU_col_num < coef->pub.MCU_columns_to_skip) {
177 jzero_far((void FAR *) coef->MCU_buffer[0],
179 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
181 coef->MCU_vert_offset = yoffset;
182 coef->MCU_ctr = MCU_col_num;
211 (JCOEFPTR) coef->MCU_buffer[blkn+xindex],
222 coef->MCU_ctr = 0;
257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
269 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index],
289 (cinfo->coef->column_right_boundary - cinfo->coef->column_left_boundary)
295 for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row;
302 int col_offset = cinfo->coef->column_left_boundary;
310 for (MCU_col_num = coef->MCU_ctr; MCU_col_num < MCUs_per_row;
320 coef->MCU_buffer[blkn++] = buffer_ptr++;
324 jzero_far((void FAR *) coef->MCU_buffer[blkn-1],
334 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
336 coef->MCU_vert_offset = yoffset;
337 coef->MCU_ctr = MCU_col_num;
342 coef->MCU_ctr = 0;
394 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
401 scan_header->MCU_rows_per_iMCU_row = coef->MCU_rows_per_iMCU_row;
403 size_t allocate_size = coef->MCU_rows_per_iMCU_row
413 for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row;
415 for (MCU_col_num = coef->MCU_ctr; MCU_col_num < cinfo->MCUs_per_row;
427 coef->MCU_vert_offset = yoffset;
428 coef->MCU_ctr = MCU_col_num;
433 coef->MCU_ctr = 0;
454 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
468 scan_header->MCU_rows_per_iMCU_row = coef->MCU_rows_per_iMCU_row;
472 size_t allocate_size = coef->MCU_rows_per_iMCU_row
484 ((j_common_ptr) cinfo, coef->whole_image[compptr->component_index],
489 for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row;
491 for (MCU_col_num = coef->MCU_ctr; MCU_col_num < cinfo->MCUs_per_row;
507 coef->MCU_buffer[blkn++] = buffer_ptr++;
510 jzero_far((void FAR *) coef->MCU_buffer[blkn-1],
523 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
525 coef->MCU_vert_offset = yoffset;
526 coef->MCU_ctr = MCU_col_num;
531 coef->MCU_ctr = 0;
556 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
583 ((j_common_ptr) cinfo, coef->whole_image[ci],
602 (cinfo->coef->MCU_column_right_boundary -
603 cinfo->coef->MCU_column_left_boundary) *
605 start_block = coef->pub.MCU_columns_to_skip *
660 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
672 if (coef->coef_bits_latch == NULL)
673 coef->coef_bits_latch = (int *)
677 coef_bits_latch = coef->coef_bits_latch;
716 my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
773 ((j_common_ptr) cinfo, coef->whole_image[ci],
780 ((j_common_ptr) cinfo, coef->whole_image[ci],
785 coef_bits = coef->coef_bits_latch + (ci * SAVED_COEFS);
931 my_coef_ptr coef;
933 coef = (my_coef_ptr)
936 cinfo->coef = (struct jpeg_d_coef_controller *) coef;
937 coef->pub.start_input_pass = start_input_pass;
938 coef->pub.start_output_pass = start_output_pass;
939 coef->pub.column_left_boundary = 0;
940 coef->pub.column_right_boundary = 0;
941 coef->pub.MCU_columns_to_skip = 0;
943 coef->coef_bits_latch = NULL;
949 /* Allocate one iMCU row virtual array, coef->whole_image[ci],
959 coef->whole_image[ci] = (*cinfo->mem->request_virt_barray)
966 coef->pub.consume_data_build_huffman_index =
968 coef->pub.consume_data = consume_data_multi_scan;
969 coef->pub.coef_arrays = coef->whole_image; /* link to virtual arrays */
970 coef->pub.decompress_data = decompress_onepass;
980 coef->MCU_buffer[i] = buffer + i;
982 coef->pub.consume_data_build_huffman_index =
984 coef->pub.consume_data = dummy_consume_data;
985 coef->pub.coef_arrays = NULL; /* flag for no virtual arrays */
986 coef->pub.decompress_data = decompress_onepass;
1009 coef->whole_image[ci] = (*cinfo->mem->request_virt_barray)
1017 coef->pub.consume_data = consume_data;
1018 coef->pub.decompress_data = decompress_data;
1019 coef->pub.coef_arrays = coef->whole_image; /* link to virtual arrays */
1032 coef->MCU_buffer[i] = buffer + i;
1034 coef->pub.consume_data = dummy_consume_data;
1035 coef->pub.decompress_data = decompress_onepass;
1036 coef->pub.coef_arrays = NULL; /* flag for no virtual arrays */