/third_party/libjpeg-turbo/ |
D | transupp.c | 108 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop() 153 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h_no_crop() 154 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_h_no_crop() 218 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h() 219 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_h() 284 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_v() 356 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_transpose() 365 dst_blk_x += compptr->h_samp_factor) { in do_transpose() 369 (JDIMENSION)compptr->h_samp_factor, FALSE); in do_transpose() 370 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transpose() [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 | 69 if (compptr->h_samp_factor <= 0 || in initial_setup() 70 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 75 compptr->h_samp_factor); in initial_setup() 106 jdiv_round_up((long)cinfo->image_width * (long)compptr->h_samp_factor, in initial_setup() 122 jdiv_round_up((long)cinfo->image_width * (long)compptr->h_samp_factor, in initial_setup() 200 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jcmaster.c | 127 if (compptr->h_samp_factor <= 0 || in initial_setup() 128 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 133 compptr->h_samp_factor); in initial_setup() 151 jdiv_round_up((long)cinfo->_jpeg_width * (long)compptr->h_samp_factor, in initial_setup() 158 jdiv_round_up((long)cinfo->_jpeg_width * (long)compptr->h_samp_factor, in initial_setup() 409 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jcsample.c | 156 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 492 if (compptr->h_samp_factor == cinfo->max_h_samp_factor && in jinit_downsampler() 501 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 508 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 527 } else if ((cinfo->max_h_samp_factor % compptr->h_samp_factor) == 0 && in jinit_downsampler()
|
D | jdmaster.c | 61 if (cinfo->comp_info[0].h_samp_factor != 2 || in use_merged_upsample() 62 cinfo->comp_info[1].h_samp_factor != 1 || in use_merged_upsample() 63 cinfo->comp_info[2].h_samp_factor != 1 || in use_merged_upsample() 298 (compptr->h_samp_factor * ssize * 2) == 0) && in jpeg_calc_output_dimensions() 318 (long)(compptr->h_samp_factor * compptr->_DCT_scaled_size), in jpeg_calc_output_dimensions()
|
D | turbojpeg.c | 293 cinfo->comp_info[0].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults() 294 cinfo->comp_info[1].h_samp_factor = 1; in setCompDefaults() 295 cinfo->comp_info[2].h_samp_factor = 1; in setCompDefaults() 297 cinfo->comp_info[3].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults() 324 if (dinfo->comp_info[0].h_samp_factor == tjMCUWidth[i] / 8 && in getSubsamp() 335 if (dinfo->comp_info[k].h_samp_factor == href && in getSubsamp() 345 if (dinfo->comp_info[0].h_samp_factor == 2 && in getSubsamp() 357 if (dinfo->comp_info[k].h_samp_factor == href && in getSubsamp() 367 if (dinfo->comp_info[0].h_samp_factor * in getSubsamp() 372 if (dinfo->comp_info[k].h_samp_factor == in getSubsamp() [all …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | transupp.c | 108 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop() 153 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h_no_crop() 154 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_h_no_crop() 218 comp_width = MCU_cols * compptr->h_samp_factor; in do_flip_h() 219 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_h() 284 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_flip_v() 356 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_transpose() 365 dst_blk_x += compptr->h_samp_factor) { in do_transpose() 369 (JDIMENSION)compptr->h_samp_factor, FALSE); in do_transpose() 370 for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) { in do_transpose() [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 | 69 if (compptr->h_samp_factor <= 0 || in initial_setup() 70 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 75 compptr->h_samp_factor); in initial_setup() 106 jdiv_round_up((long)cinfo->image_width * (long)compptr->h_samp_factor, in initial_setup() 122 jdiv_round_up((long)cinfo->image_width * (long)compptr->h_samp_factor, in initial_setup() 200 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jcmaster.c | 127 if (compptr->h_samp_factor <= 0 || in initial_setup() 128 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 133 compptr->h_samp_factor); in initial_setup() 151 jdiv_round_up((long)cinfo->_jpeg_width * (long)compptr->h_samp_factor, in initial_setup() 158 jdiv_round_up((long)cinfo->_jpeg_width * (long)compptr->h_samp_factor, in initial_setup() 409 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jcsample.c | 156 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 492 if (compptr->h_samp_factor == cinfo->max_h_samp_factor && in jinit_downsampler() 501 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 508 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 527 } else if ((cinfo->max_h_samp_factor % compptr->h_samp_factor) == 0 && in jinit_downsampler()
|
D | jdmaster.c | 61 if (cinfo->comp_info[0].h_samp_factor != 2 || in use_merged_upsample() 62 cinfo->comp_info[1].h_samp_factor != 1 || in use_merged_upsample() 63 cinfo->comp_info[2].h_samp_factor != 1 || in use_merged_upsample() 298 (compptr->h_samp_factor * ssize * 2) == 0) && in jpeg_calc_output_dimensions() 318 (long)(compptr->h_samp_factor * compptr->_DCT_scaled_size), in jpeg_calc_output_dimensions()
|
D | turbojpeg.c | 290 cinfo->comp_info[0].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults() 291 cinfo->comp_info[1].h_samp_factor = 1; in setCompDefaults() 292 cinfo->comp_info[2].h_samp_factor = 1; in setCompDefaults() 294 cinfo->comp_info[3].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults() 321 if (dinfo->comp_info[0].h_samp_factor == tjMCUWidth[i] / 8 && in getSubsamp() 332 if (dinfo->comp_info[k].h_samp_factor == href && in getSubsamp() 342 if (dinfo->comp_info[0].h_samp_factor == 2 && in getSubsamp() 354 if (dinfo->comp_info[k].h_samp_factor == href && in getSubsamp() 778 compptr->h_samp_factor, 32) * in tjEncodeYUVPlanes() 792 compptr->h_samp_factor, 32) * row]; in tjEncodeYUVPlanes() [all …]
|
/third_party/flutter/skia/src/images/ |
D | SkJpegEncoder.cpp | 134 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams() 136 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams() 138 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams() 142 fCInfo.comp_info[0].h_samp_factor = 2; in setParams() 144 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 146 fCInfo.comp_info[2].h_samp_factor = 1; in setParams() 150 fCInfo.comp_info[0].h_samp_factor = 1; in setParams() 152 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 154 fCInfo.comp_info[2].h_samp_factor = 1; in setParams()
|
/third_party/skia/src/images/ |
D | SkJpegEncoder.cpp | 134 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams() 136 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams() 138 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams() 142 fCInfo.comp_info[0].h_samp_factor = 2; in setParams() 144 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 146 fCInfo.comp_info[2].h_samp_factor = 1; in setParams() 150 fCInfo.comp_info[0].h_samp_factor = 1; in setParams() 152 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 154 fCInfo.comp_info[2].h_samp_factor = 1; in setParams()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | transupp.c | 247 comp_width = drop_width * compptr->h_samp_factor; in do_drop() 249 x_drop_blocks = x_crop_offset * compptr->h_samp_factor; in do_drop() 291 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop() 335 comp_width = MCU_cols * compptr->h_samp_factor; in do_crop_ext_zero() 337 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop_ext_zero() 411 comp_width = MCU_cols * compptr->h_samp_factor; in do_crop_ext_flat() 413 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop_ext_flat() 492 comp_width = MCU_cols * compptr->h_samp_factor; in do_crop_ext_reflect() 494 x_crop_blocks = x_crop_offset * compptr->h_samp_factor; in do_crop_ext_reflect() 584 x_wipe_blocks = x_crop_offset * compptr->h_samp_factor; in do_wipe() [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 | 69 if (compptr->h_samp_factor <= 0 || in initial_setup() 70 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 75 compptr->h_samp_factor); in initial_setup() 106 jdiv_round_up((long)cinfo->image_width * (long)compptr->h_samp_factor, in initial_setup() 122 jdiv_round_up((long)cinfo->image_width * (long)compptr->h_samp_factor, in initial_setup() 200 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jcsample.c | 156 h_expand = cinfo->max_h_samp_factor / compptr->h_samp_factor; in int_downsample() 475 if (compptr->h_samp_factor == cinfo->max_h_samp_factor && in jinit_downsampler() 484 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 491 } else if (compptr->h_samp_factor * 2 == cinfo->max_h_samp_factor && in jinit_downsampler() 510 } else if ((cinfo->max_h_samp_factor % compptr->h_samp_factor) == 0 && in jinit_downsampler()
|
D | jcmaster.c | 127 if (compptr->h_samp_factor <= 0 || in initial_setup() 128 compptr->h_samp_factor > MAX_SAMP_FACTOR || in initial_setup() 133 compptr->h_samp_factor); in initial_setup() 151 jdiv_round_up((long)cinfo->_jpeg_width * (long)compptr->h_samp_factor, in initial_setup() 158 jdiv_round_up((long)cinfo->_jpeg_width * (long)compptr->h_samp_factor, in initial_setup() 409 compptr->MCU_width = compptr->h_samp_factor; in per_scan_setup()
|
D | jdmaster.c | 60 if (cinfo->comp_info[0].h_samp_factor != 2 || in use_merged_upsample() 61 cinfo->comp_info[1].h_samp_factor != 1 || in use_merged_upsample() 62 cinfo->comp_info[2].h_samp_factor != 1 || in use_merged_upsample() 286 (compptr->h_samp_factor * ssize * 2) == 0) && in jpeg_calc_output_dimensions() 306 (long)(compptr->h_samp_factor * compptr->_DCT_scaled_size), in jpeg_calc_output_dimensions()
|
D | turbojpeg.c | 324 cinfo->comp_info[0].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults() 325 cinfo->comp_info[1].h_samp_factor = 1; in setCompDefaults() 326 cinfo->comp_info[2].h_samp_factor = 1; in setCompDefaults() 328 cinfo->comp_info[3].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults() 353 if (dinfo->comp_info[0].h_samp_factor == tjMCUWidth[i] / 8 && in getSubsamp() 364 if (dinfo->comp_info[k].h_samp_factor == href && in getSubsamp() 374 if (dinfo->comp_info[0].h_samp_factor == 2 && in getSubsamp() 386 if (dinfo->comp_info[k].h_samp_factor == href && in getSubsamp() 396 if (dinfo->comp_info[0].h_samp_factor * in getSubsamp() 401 if (dinfo->comp_info[k].h_samp_factor == in getSubsamp() [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/ |
D | soft_jpegd.cc | 52 … (libjpeg_handler->comp_info[0].h_samp_factor == libjpeg_handler->comp_info[0].v_samp_factor)) { in SetFormat() 56 … (libjpeg_handler->comp_info[1].h_samp_factor == libjpeg_handler->comp_info[2].h_samp_factor) && in SetFormat() 58 …if (libjpeg_handler->comp_info[0].h_samp_factor == ((libjpeg_handler->comp_info[1].h_samp_factor) … in SetFormat() 64 …} else if (libjpeg_handler->comp_info[0].h_samp_factor == libjpeg_handler->comp_info[1].h_samp_fac… in SetFormat()
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | gstjpegdec.c | 1160 r_h = dec->cinfo.comp_info[0].h_samp_factor; in gst_jpeg_dec_prepare_decode() 1180 i, dec->cinfo.comp_info[i].h_samp_factor, in gst_jpeg_dec_prepare_decode() 1224 r_h < dec->cinfo.comp_info[0].h_samp_factor || in gst_jpeg_dec_prepare_decode() 1225 r_h < dec->cinfo.comp_info[1].h_samp_factor) in gst_jpeg_dec_prepare_decode() 1301 || dec->cinfo.comp_info[0].h_samp_factor != 2 in gst_jpeg_dec_decode() 1302 || dec->cinfo.comp_info[1].h_samp_factor != 1 in gst_jpeg_dec_decode() 1303 || dec->cinfo.comp_info[2].h_samp_factor != 1)) { in gst_jpeg_dec_decode() 1308 dec->cinfo.comp_info[0].h_samp_factor, dec->cinfo.num_components, in gst_jpeg_dec_decode()
|