Searched refs:h_samp_factor (Results 1 – 16 of 16) sorted by relevance
/external/jpeg/ |
D | transupp.c | 86 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h() 211 dst_blk_x += compptr->h_samp_factor) { in do_transpose() 214 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_transpose() 215 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transpose() 253 comp_width = MCU_cols * compptr->h_samp_factor; in do_rot_90() 261 dst_blk_x += compptr->h_samp_factor) { in do_rot_90() 264 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_rot_90() 265 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_rot_90() 325 dst_blk_x += compptr->h_samp_factor) { in do_rot_270() 328 (JDIMENSION) compptr->h_samp_factor, FALSE); in do_rot_270() [all …]
|
D | jccoefct.c | 250 int bi, ci, h_samp_factor, block_row, block_rows, ndummy; in compress_first_pass() local 272 h_samp_factor = compptr->h_samp_factor; in compress_first_pass() 274 ndummy = (int) (blocks_across % h_samp_factor); in compress_first_pass() 276 ndummy = h_samp_factor - ndummy; in compress_first_pass() 303 MCUs_across = blocks_across / h_samp_factor; in compress_first_pass() 311 lastDC = lastblockrow[h_samp_factor-1][0]; in compress_first_pass() 312 for (bi = 0; bi < h_samp_factor; bi++) { in compress_first_pass() 315 thisblockrow += h_samp_factor; /* advance to next MCU in row */ in compress_first_pass() 316 lastblockrow += h_samp_factor; in compress_first_pass() 428 (long) compptr->h_samp_factor), in jinit_c_coef_controller()
|
D | jdinput.c | 66 if (compptr->h_samp_factor<=0 || compptr->h_samp_factor>MAX_SAMP_FACTOR || in initial_setup() 70 compptr->h_samp_factor); in initial_setup() 87 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 98 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 176 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jcmaster.c | 84 if (compptr->h_samp_factor<=0 || compptr->h_samp_factor>MAX_SAMP_FACTOR || in initial_setup() 88 compptr->h_samp_factor); in initial_setup() 102 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 109 jdiv_round_up((long) cinfo->image_width * (long) compptr->h_samp_factor, in initial_setup() 361 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jdmaster.c | 69 if (cinfo->comp_info[0].h_samp_factor != 2 || in use_merged_upsample() 70 cinfo->comp_info[1].h_samp_factor != 1 || in use_merged_upsample() 71 cinfo->comp_info[2].h_samp_factor != 1 || in use_merged_upsample() 152 (compptr->h_samp_factor * ssize * 2 <= in jpeg_calc_output_dimensions() 169 (long) (compptr->h_samp_factor * compptr->DCT_scaled_size), in jpeg_calc_output_dimensions()
|
D | jcsample.c | 149 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 485 if (compptr->h_samp_factor == cinfo->max_h_samp_factor && in jinit_downsampler() 494 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 498 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 507 } else if ((cinfo->max_h_samp_factor % compptr->h_samp_factor) == 0 && in jinit_downsampler()
|
D | jdcoefct.c | 286 iMCU_width_To_MCU_width = cinfo->cur_comp_info[0]->h_samp_factor; in consume_data() 464 factor = jmin(factor, cinfo->cur_comp_info[ci]->h_samp_factor); in consume_data_build_huffman_index_progressive() 604 compptr->h_samp_factor); in decompress_data() 606 compptr->h_samp_factor; in decompress_data() 962 (long) compptr->h_samp_factor), in jinit_d_coef_controller() 1012 (long) compptr->h_samp_factor), in jinit_d_coef_controller()
|
D | rdswitch.c | 321 cinfo->comp_info[ci].h_samp_factor = val1; in set_sample_factors() 327 cinfo->comp_info[ci].h_samp_factor = 1; in set_sample_factors()
|
D | jcprepct.c | 292 cinfo->max_h_samp_factor) / compptr->h_samp_factor), in create_context_buffer() 350 cinfo->max_h_samp_factor) / compptr->h_samp_factor), in jinit_c_prep_controller()
|
D | jctrans.c | 109 outcomp->h_samp_factor = incomp->h_samp_factor; in jpeg_copy_critical_parameters()
|
D | jdsample.c | 431 h_in_group = (compptr->h_samp_factor * compptr->DCT_scaled_size) / in jinit_upsampler()
|
D | jcparam.c | 399 compptr->h_samp_factor = (hsamp), \ in jpeg_set_colorspace()
|
D | jdmarker.c | 284 compptr->h_samp_factor = (c >> 4) & 15; in get_sof() 289 compptr->component_id, compptr->h_samp_factor, in get_sof()
|
D | jcmarker.c | 301 emit_byte(cinfo, (compptr->h_samp_factor << 4) + compptr->v_samp_factor); in emit_sof()
|
D | jpeglib.h | 122 int h_samp_factor; /* horizontal sampling factor (1..4) */ member
|
D | libjpeg.doc | 1001 int h_samp_factor 2514 * Ensure the sampling factors, cinfo->comp_info[i].h_samp_factor and 2543 cinfo->comp_info[0].h_samp_factor = 2 for Y 2545 cinfo->comp_info[1].h_samp_factor = 1 for Cb 2547 cinfo->comp_info[2].h_samp_factor = 1 for Cr
|