/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | transupp.c | 104 blk_y += compptr->v_samp_factor) { in dequant_comp() 107 (JDIMENSION)compptr->v_samp_factor, TRUE); in dequant_comp() 108 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in dequant_comp() 135 blk_y += compptr->v_samp_factor) { in requant_comp() 138 (JDIMENSION)compptr->v_samp_factor, TRUE); in requant_comp() 139 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in requant_comp() 248 comp_height = drop_height * compptr->v_samp_factor; in do_drop() 250 y_drop_blocks = y_crop_offset * compptr->v_samp_factor; in do_drop() 251 for (blk_y = 0; blk_y < comp_height; blk_y += compptr->v_samp_factor) { in do_drop() 254 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_drop() [all …]
|
D | jccoefct.c | 83 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 261 coef->iMCU_row_num * compptr->v_samp_factor, in compress_first_pass() 262 (JDIMENSION)compptr->v_samp_factor, TRUE); in compress_first_pass() 265 block_rows = compptr->v_samp_factor; in compress_first_pass() 268 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in compress_first_pass() 269 if (block_rows == 0) block_rows = compptr->v_samp_factor; in compress_first_pass() 304 for (block_row = block_rows; block_row < compptr->v_samp_factor; in compress_first_pass() 359 coef->iMCU_row_num * compptr->v_samp_factor, in compress_output() 360 (JDIMENSION)compptr->v_samp_factor, FALSE); in compress_output() 430 (long)compptr->v_samp_factor), in jinit_c_coef_controller() [all …]
|
D | jcsample.c | 133 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample() 157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample() 169 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in int_downsample() 235 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v1_downsample() 272 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_downsample() 330 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_smooth_downsample() 411 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in fullsize_smooth_downsample() 476 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler() 485 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler() 492 compptr->v_samp_factor * 2 == cinfo->max_v_samp_factor) { in jinit_downsampler() [all …]
|
D | jdinput.c | 71 compptr->v_samp_factor <= 0 || in initial_setup() 72 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 77 compptr->v_samp_factor); in initial_setup() 109 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup() 125 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup() 172 tmp = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in per_scan_setup() 173 if (tmp == 0) tmp = compptr->v_samp_factor; in per_scan_setup() 201 compptr->MCU_height = compptr->v_samp_factor; in per_scan_setup()
|
D | jdcoefct.c | 207 cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data() 208 (JDIMENSION)compptr->v_samp_factor, TRUE); in consume_data() 295 cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data() 296 (JDIMENSION)compptr->v_samp_factor, FALSE); in decompress_data() 299 block_rows = compptr->v_samp_factor; in decompress_data() 302 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data() 303 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data() 479 block_rows = compptr->v_samp_factor; in decompress_smooth_data() 482 block_rows = compptr->v_samp_factor; in decompress_smooth_data() 486 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data() [all …]
|
D | turbojpeg.c | 329 cinfo->comp_info[0].v_samp_factor = tjMCUHeight[subsamp] / 8; in setCompDefaults() 330 cinfo->comp_info[1].v_samp_factor = 1; in setCompDefaults() 331 cinfo->comp_info[2].v_samp_factor = 1; in setCompDefaults() 333 cinfo->comp_info[3].v_samp_factor = tjMCUHeight[subsamp] / 8; in setCompDefaults() 354 dinfo->comp_info[0].v_samp_factor == tjMCUHeight[i] / 8) { in getSubsamp() 365 dinfo->comp_info[k].v_samp_factor == vref) in getSubsamp() 375 dinfo->comp_info[0].v_samp_factor == 2 && in getSubsamp() 387 dinfo->comp_info[k].v_samp_factor == vref) in getSubsamp() 397 dinfo->comp_info[0].v_samp_factor <= in getSubsamp() 403 dinfo->comp_info[k].v_samp_factor == in getSubsamp() [all …]
|
D | jcmaster.c | 129 compptr->v_samp_factor <= 0 || in initial_setup() 130 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 135 compptr->v_samp_factor); in initial_setup() 154 jdiv_round_up((long)cinfo->_jpeg_height * (long)compptr->v_samp_factor, in initial_setup() 161 jdiv_round_up((long)cinfo->_jpeg_height * (long)compptr->v_samp_factor, in initial_setup() 381 tmp = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in per_scan_setup() 382 if (tmp == 0) tmp = compptr->v_samp_factor; in per_scan_setup() 410 compptr->MCU_height = compptr->v_samp_factor; in per_scan_setup()
|
/third_party/libjpeg-turbo/ |
D | transupp.c | 109 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_crop() 111 dst_blk_y += compptr->v_samp_factor) { in do_crop() 114 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_crop() 118 (JDIMENSION)compptr->v_samp_factor, FALSE); in do_crop() 119 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_crop() 156 blk_y += compptr->v_samp_factor) { in do_flip_h_no_crop() 159 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_flip_h_no_crop() 160 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_flip_h_no_crop() 220 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_flip_h() 222 dst_blk_y += compptr->v_samp_factor) { in do_flip_h() [all …]
|
D | jccoefct.c | 83 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 261 coef->iMCU_row_num * compptr->v_samp_factor, in compress_first_pass() 262 (JDIMENSION)compptr->v_samp_factor, TRUE); in compress_first_pass() 265 block_rows = compptr->v_samp_factor; in compress_first_pass() 268 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in compress_first_pass() 269 if (block_rows == 0) block_rows = compptr->v_samp_factor; in compress_first_pass() 304 for (block_row = block_rows; block_row < compptr->v_samp_factor; in compress_first_pass() 359 coef->iMCU_row_num * compptr->v_samp_factor, in compress_output() 360 (JDIMENSION)compptr->v_samp_factor, FALSE); in compress_output() 430 (long)compptr->v_samp_factor), in jinit_c_coef_controller() [all …]
|
D | jcsample.c | 133 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample() 157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample() 169 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in int_downsample() 235 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v1_downsample() 273 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_downsample() 332 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_smooth_downsample() 425 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in fullsize_smooth_downsample() 493 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler() 502 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler() 509 compptr->v_samp_factor * 2 == cinfo->max_v_samp_factor) { in jinit_downsampler() [all …]
|
D | jdcoefct.c | 205 cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data() 206 (JDIMENSION)compptr->v_samp_factor, TRUE); in consume_data() 291 cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data() 292 (JDIMENSION)compptr->v_samp_factor, FALSE); in decompress_data() 295 block_rows = compptr->v_samp_factor; in decompress_data() 298 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data() 299 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data() 456 block_rows = compptr->v_samp_factor; in decompress_smooth_data() 461 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data() 462 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_smooth_data() [all …]
|
D | jdinput.c | 71 compptr->v_samp_factor <= 0 || in initial_setup() 72 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 77 compptr->v_samp_factor); in initial_setup() 109 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup() 125 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup() 172 tmp = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in per_scan_setup() 173 if (tmp == 0) tmp = compptr->v_samp_factor; in per_scan_setup() 201 compptr->MCU_height = compptr->v_samp_factor; in per_scan_setup()
|
D | turbojpeg.c | 298 cinfo->comp_info[0].v_samp_factor = tjMCUHeight[subsamp] / 8; in setCompDefaults() 299 cinfo->comp_info[1].v_samp_factor = 1; in setCompDefaults() 300 cinfo->comp_info[2].v_samp_factor = 1; in setCompDefaults() 302 cinfo->comp_info[3].v_samp_factor = tjMCUHeight[subsamp] / 8; in setCompDefaults() 325 dinfo->comp_info[0].v_samp_factor == tjMCUHeight[i] / 8) { in getSubsamp() 336 dinfo->comp_info[k].v_samp_factor == vref) in getSubsamp() 346 dinfo->comp_info[0].v_samp_factor == 2 && in getSubsamp() 358 dinfo->comp_info[k].v_samp_factor == vref) in getSubsamp() 368 dinfo->comp_info[0].v_samp_factor <= in getSubsamp() 374 dinfo->comp_info[k].v_samp_factor == in getSubsamp() [all …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | transupp.c | 109 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_crop() 111 dst_blk_y += compptr->v_samp_factor) { in do_crop() 114 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_crop() 118 (JDIMENSION)compptr->v_samp_factor, FALSE); in do_crop() 119 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_crop() 156 blk_y += compptr->v_samp_factor) { in do_flip_h_no_crop() 159 (JDIMENSION)compptr->v_samp_factor, TRUE); in do_flip_h_no_crop() 160 for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) { in do_flip_h_no_crop() 220 y_crop_blocks = y_crop_offset * compptr->v_samp_factor; in do_flip_h() 222 dst_blk_y += compptr->v_samp_factor) { in do_flip_h() [all …]
|
D | jccoefct.c | 83 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 261 coef->iMCU_row_num * compptr->v_samp_factor, in compress_first_pass() 262 (JDIMENSION)compptr->v_samp_factor, TRUE); in compress_first_pass() 265 block_rows = compptr->v_samp_factor; in compress_first_pass() 268 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in compress_first_pass() 269 if (block_rows == 0) block_rows = compptr->v_samp_factor; in compress_first_pass() 304 for (block_row = block_rows; block_row < compptr->v_samp_factor; in compress_first_pass() 359 coef->iMCU_row_num * compptr->v_samp_factor, in compress_output() 360 (JDIMENSION)compptr->v_samp_factor, FALSE); in compress_output() 430 (long)compptr->v_samp_factor), in jinit_c_coef_controller() [all …]
|
D | jcsample.c | 133 out_ptr = output_buf[ci] + (out_row_group_index * compptr->v_samp_factor); in sep_downsample() 157 v_expand = cinfo->max_v_samp_factor / compptr->v_samp_factor; in int_downsample() 169 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in int_downsample() 235 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v1_downsample() 273 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_downsample() 332 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in h2v2_smooth_downsample() 425 for (outrow = 0; outrow < compptr->v_samp_factor; outrow++) { in fullsize_smooth_downsample() 493 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler() 502 compptr->v_samp_factor == cinfo->max_v_samp_factor) { in jinit_downsampler() 509 compptr->v_samp_factor * 2 == cinfo->max_v_samp_factor) { in jinit_downsampler() [all …]
|
D | jdcoefct.c | 205 cinfo->input_iMCU_row * compptr->v_samp_factor, in consume_data() 206 (JDIMENSION)compptr->v_samp_factor, TRUE); in consume_data() 291 cinfo->output_iMCU_row * compptr->v_samp_factor, in decompress_data() 292 (JDIMENSION)compptr->v_samp_factor, FALSE); in decompress_data() 295 block_rows = compptr->v_samp_factor; in decompress_data() 298 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in decompress_data() 299 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_data() 456 block_rows = compptr->v_samp_factor; in decompress_smooth_data() 461 block_rows = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in decompress_smooth_data() 462 if (block_rows == 0) block_rows = compptr->v_samp_factor; in decompress_smooth_data() [all …]
|
D | jdinput.c | 71 compptr->v_samp_factor <= 0 || in initial_setup() 72 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 77 compptr->v_samp_factor); in initial_setup() 109 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup() 125 jdiv_round_up((long)cinfo->image_height * (long)compptr->v_samp_factor, in initial_setup() 172 tmp = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in per_scan_setup() 173 if (tmp == 0) tmp = compptr->v_samp_factor; in per_scan_setup() 201 compptr->MCU_height = compptr->v_samp_factor; in per_scan_setup()
|
D | jcmaster.c | 129 compptr->v_samp_factor <= 0 || in initial_setup() 130 compptr->v_samp_factor > MAX_SAMP_FACTOR) in initial_setup() 135 compptr->v_samp_factor); in initial_setup() 154 jdiv_round_up((long)cinfo->_jpeg_height * (long)compptr->v_samp_factor, in initial_setup() 161 jdiv_round_up((long)cinfo->_jpeg_height * (long)compptr->v_samp_factor, in initial_setup() 381 tmp = (int)(compptr->height_in_blocks % compptr->v_samp_factor); in per_scan_setup() 382 if (tmp == 0) tmp = compptr->v_samp_factor; in per_scan_setup() 410 compptr->MCU_height = compptr->v_samp_factor; in per_scan_setup()
|
/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() 57 … (libjpeg_handler->comp_info[1].v_samp_factor == libjpeg_handler->comp_info[2].v_samp_factor)) { in SetFormat() 59 …if (libjpeg_handler->comp_info[0].v_samp_factor == ((libjpeg_handler->comp_info[1].v_samp_factor) … in SetFormat() 61 …} else if (libjpeg_handler->comp_info[0].v_samp_factor == libjpeg_handler->comp_info[1].v_samp_fac… in SetFormat() 65 … if (libjpeg_handler->comp_info[0].v_samp_factor == libjpeg_handler->comp_info[1].v_samp_factor) { in SetFormat()
|
/third_party/flutter/skia/src/images/ |
D | SkJpegEncoder.cpp | 135 SkASSERT(2 == fCInfo.comp_info[0].v_samp_factor); in setParams() 137 SkASSERT(1 == fCInfo.comp_info[1].v_samp_factor); in setParams() 139 SkASSERT(1 == fCInfo.comp_info[2].v_samp_factor); in setParams() 143 fCInfo.comp_info[0].v_samp_factor = 1; in setParams() 145 fCInfo.comp_info[1].v_samp_factor = 1; in setParams() 147 fCInfo.comp_info[2].v_samp_factor = 1; in setParams() 151 fCInfo.comp_info[0].v_samp_factor = 1; in setParams() 153 fCInfo.comp_info[1].v_samp_factor = 1; in setParams() 155 fCInfo.comp_info[2].v_samp_factor = 1; in setParams()
|
/third_party/skia/src/images/ |
D | SkJpegEncoder.cpp | 135 SkASSERT(2 == fCInfo.comp_info[0].v_samp_factor); in setParams() 137 SkASSERT(1 == fCInfo.comp_info[1].v_samp_factor); in setParams() 139 SkASSERT(1 == fCInfo.comp_info[2].v_samp_factor); in setParams() 143 fCInfo.comp_info[0].v_samp_factor = 1; in setParams() 145 fCInfo.comp_info[1].v_samp_factor = 1; in setParams() 147 fCInfo.comp_info[2].v_samp_factor = 1; in setParams() 151 fCInfo.comp_info[0].v_samp_factor = 1; in setParams() 153 fCInfo.comp_info[1].v_samp_factor = 1; in setParams() 155 fCInfo.comp_info[2].v_samp_factor = 1; in setParams()
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/ |
D | jcsample-neon.c | 77 JDIMENSION v_samp_factor, in jsimd_h2v1_downsample_neon() argument 91 for (outrow = 0; outrow < v_samp_factor; outrow++) { in jsimd_h2v1_downsample_neon() 131 JDIMENSION v_samp_factor, in jsimd_h2v2_downsample_neon() argument 145 for (outrow = 0; outrow < v_samp_factor; outrow++) { in jsimd_h2v2_downsample_neon()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/ |
D | jcsample-altivec.c | 31 JDIMENSION v_samp_factor, in jsimd_h2v1_downsample_altivec() argument 53 for (outrow = 0; outrow < v_samp_factor; outrow++) { in jsimd_h2v1_downsample_altivec() 88 JDIMENSION v_samp_factor, in jsimd_h2v2_downsample_altivec() argument 110 for (inrow = 0, outrow = 0; outrow < v_samp_factor; in jsimd_h2v2_downsample_altivec()
|
/third_party/libjpeg-turbo/simd/powerpc/ |
D | jcsample-altivec.c | 31 JDIMENSION v_samp_factor, in jsimd_h2v1_downsample_altivec() argument 53 for (outrow = 0; outrow < v_samp_factor; outrow++) { in jsimd_h2v1_downsample_altivec() 88 JDIMENSION v_samp_factor, in jsimd_h2v2_downsample_altivec() argument 110 for (inrow = 0, outrow = 0; outrow < v_samp_factor; in jsimd_h2v2_downsample_altivec()
|