/external/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() 364 if (dinfo->comp_info[0].h_samp_factor * in getSubsamp() 369 if (dinfo->comp_info[i].h_samp_factor == in getSubsamp() [all …]
|
D | jcprepct.c | 289 cinfo->max_h_samp_factor) / compptr->h_samp_factor), in create_context_buffer() 347 cinfo->max_h_samp_factor) / compptr->h_samp_factor), in jinit_c_prep_controller()
|
D | rdswitch.c | 413 cinfo->comp_info[ci].h_samp_factor = val1; in set_sample_factors() 419 cinfo->comp_info[ci].h_samp_factor = 1; in set_sample_factors()
|
D | jctrans.c | 117 outcomp->h_samp_factor = incomp->h_samp_factor; in jpeg_copy_critical_parameters()
|
D | jdapistd.c | 221 1 : compptr->h_samp_factor; in jpeg_crop_scanline() 227 compptr->h_samp_factor), in jpeg_crop_scanline()
|
D | jcparam.c | 332 compptr->h_samp_factor = (hsamp), \ in jpeg_set_colorspace()
|
D | jdsample.c | 444 h_in_group = (compptr->h_samp_factor * compptr->_DCT_scaled_size) / in jinit_upsampler()
|
D | jdmarker.c | 287 compptr->h_samp_factor = (c >> 4) & 15; in get_sof() 292 compptr->component_id, compptr->h_samp_factor, in get_sof()
|
D | jcmarker.c | 311 emit_byte(cinfo, (compptr->h_samp_factor << 4) + compptr->v_samp_factor); in emit_sof()
|
/external/skia/src/images/ |
D | SkJpegEncoder.cpp | 133 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams() 135 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams() 137 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams() 141 fCInfo.comp_info[0].h_samp_factor = 2; in setParams() 143 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 145 fCInfo.comp_info[2].h_samp_factor = 1; in setParams() 149 fCInfo.comp_info[0].h_samp_factor = 1; in setParams() 151 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 153 fCInfo.comp_info[2].h_samp_factor = 1; in setParams()
|
/external/skqp/src/images/ |
D | SkJpegEncoder.cpp | 133 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams() 135 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams() 137 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams() 141 fCInfo.comp_info[0].h_samp_factor = 2; in setParams() 143 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 145 fCInfo.comp_info[2].h_samp_factor = 1; in setParams() 149 fCInfo.comp_info[0].h_samp_factor = 1; in setParams() 151 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 153 fCInfo.comp_info[2].h_samp_factor = 1; in setParams()
|
/external/ImageMagick/coders/ |
D | jpeg.c | 1012 "%dx%d,%dx%d,%dx%d,%dx%d",jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor() 1014 jpeg_info->comp_info[1].h_samp_factor, in JPEGSetImageSamplingFactor() 1016 jpeg_info->comp_info[2].h_samp_factor, in JPEGSetImageSamplingFactor() 1018 jpeg_info->comp_info[3].h_samp_factor, in JPEGSetImageSamplingFactor() 1027 jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor() 1035 "%dx%d,%dx%d,%dx%d",jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor() 1037 jpeg_info->comp_info[1].h_samp_factor, in JPEGSetImageSamplingFactor() 1039 jpeg_info->comp_info[2].h_samp_factor, in JPEGSetImageSamplingFactor() 1048 "%dx%d,%dx%d,%dx%d,%dx%d",jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor() 1050 jpeg_info->comp_info[1].h_samp_factor, in JPEGSetImageSamplingFactor() [all …]
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
D | jpeg_mem_unittest.cc | 425 CHECK_EQ(cinfo.comp_info[1].h_samp_factor, cinfo.comp_info[2].h_samp_factor) in IsChromaDownsampled() 430 CHECK_GT(cinfo.comp_info[i].h_samp_factor, 0) << "Invalid sampling factor."; in IsChromaDownsampled() 431 CHECK_EQ(cinfo.comp_info[i].h_samp_factor, cinfo.comp_info[i].v_samp_factor) in IsChromaDownsampled() 438 cinfo.comp_info[1].h_samp_factor < cinfo.comp_info[0].h_samp_factor; in IsChromaDownsampled()
|
/external/pdfium/third_party/libtiff/ |
D | tif_jpeg.c | 653 samples_per_clump += compptr->h_samp_factor * in alloc_downsampled_buffers() 1118 if (sp->cinfo.d.comp_info[0].h_samp_factor != sp->h_sampling || in JPEGPreDecode() 1123 sp->cinfo.d.comp_info[0].h_samp_factor, in JPEGPreDecode() 1130 if (sp->cinfo.d.comp_info[ci].h_samp_factor != 1 || in JPEGPreDecode() 1138 if (sp->cinfo.d.comp_info[0].h_samp_factor != 1 || in JPEGPreDecode() 1422 int hsamp = compptr->h_samp_factor; in JPEGDecodeRaw() 1818 sp->cinfo.c.comp_info[0].h_samp_factor = sp->h_sampling; in JPEGPreEncode() 2013 int hsamp = compptr->h_samp_factor; in JPEGEncodeRaw()
|
/external/skqp/src/codec/ |
D | SkJpegCodec.cpp | 816 if ((1 != dinfo->comp_info[1].h_samp_factor) || in is_yuv_supported() 818 (1 != dinfo->comp_info[2].h_samp_factor) || in is_yuv_supported() 832 int hSampY = dinfo->comp_info[0].h_samp_factor; in is_yuv_supported()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 816 if ((1 != dinfo->comp_info[1].h_samp_factor) || in is_yuv_supported() 818 (1 != dinfo->comp_info[2].h_samp_factor) || in is_yuv_supported() 832 int hSampY = dinfo->comp_info[0].h_samp_factor; in is_yuv_supported()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | mjpeg_decoder.cc | 189 return decompress_struct_->comp_info[component].h_samp_factor; in GetHorizSampFactor()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | mjpeg_decoder.cc | 190 return decompress_struct_->comp_info[component].h_samp_factor; in GetHorizSampFactor()
|
/external/libyuv/files/source/ |
D | mjpeg_decoder.cc | 190 return decompress_struct_->comp_info[component].h_samp_factor; in GetHorizSampFactor()
|