/external/skia/src/images/ |
D | SkJpegEncoder.cpp | 133 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams() 134 SkASSERT(2 == fCInfo.comp_info[0].v_samp_factor); in setParams() 135 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams() 136 SkASSERT(1 == fCInfo.comp_info[1].v_samp_factor); in setParams() 137 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams() 138 SkASSERT(1 == fCInfo.comp_info[2].v_samp_factor); in setParams() 141 fCInfo.comp_info[0].h_samp_factor = 2; in setParams() 142 fCInfo.comp_info[0].v_samp_factor = 1; in setParams() 143 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 144 fCInfo.comp_info[1].v_samp_factor = 1; in setParams() [all …]
|
/external/skqp/src/images/ |
D | SkJpegEncoder.cpp | 133 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams() 134 SkASSERT(2 == fCInfo.comp_info[0].v_samp_factor); in setParams() 135 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams() 136 SkASSERT(1 == fCInfo.comp_info[1].v_samp_factor); in setParams() 137 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams() 138 SkASSERT(1 == fCInfo.comp_info[2].v_samp_factor); in setParams() 141 fCInfo.comp_info[0].h_samp_factor = 2; in setParams() 142 fCInfo.comp_info[0].v_samp_factor = 1; in setParams() 143 fCInfo.comp_info[1].h_samp_factor = 1; in setParams() 144 fCInfo.comp_info[1].v_samp_factor = 1; in setParams() [all …]
|
/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() 1013 jpeg_info->comp_info[0].v_samp_factor, in JPEGSetImageSamplingFactor() 1014 jpeg_info->comp_info[1].h_samp_factor, in JPEGSetImageSamplingFactor() 1015 jpeg_info->comp_info[1].v_samp_factor, in JPEGSetImageSamplingFactor() 1016 jpeg_info->comp_info[2].h_samp_factor, in JPEGSetImageSamplingFactor() 1017 jpeg_info->comp_info[2].v_samp_factor, in JPEGSetImageSamplingFactor() 1018 jpeg_info->comp_info[3].h_samp_factor, in JPEGSetImageSamplingFactor() 1019 jpeg_info->comp_info[3].v_samp_factor); in JPEGSetImageSamplingFactor() 1027 jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor() 1028 jpeg_info->comp_info[0].v_samp_factor); in JPEGSetImageSamplingFactor() [all …]
|
/external/libjpeg-turbo/ |
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() 64 cinfo->comp_info[0].v_samp_factor > 2 || in use_merged_upsample() 65 cinfo->comp_info[1].v_samp_factor != 1 || in use_merged_upsample() 66 cinfo->comp_info[2].v_samp_factor != 1) in use_merged_upsample() 69 if (cinfo->comp_info[0]._DCT_scaled_size != cinfo->_min_DCT_scaled_size || in use_merged_upsample() 70 cinfo->comp_info[1]._DCT_scaled_size != cinfo->_min_DCT_scaled_size || in use_merged_upsample() 71 cinfo->comp_info[2]._DCT_scaled_size != cinfo->_min_DCT_scaled_size) in use_merged_upsample() 244 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jpeg_core_output_dimensions() [all …]
|
D | rdswitch.c | 380 cinfo->comp_info[ci].quant_tbl_no = val; in set_quant_slots() 385 cinfo->comp_info[ci].quant_tbl_no = val; in set_quant_slots() 413 cinfo->comp_info[ci].h_samp_factor = val1; in set_sample_factors() 414 cinfo->comp_info[ci].v_samp_factor = val2; in set_sample_factors() 419 cinfo->comp_info[ci].h_samp_factor = 1; in set_sample_factors() 420 cinfo->comp_info[ci].v_samp_factor = 1; in set_sample_factors()
|
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() 295 cinfo->comp_info[0].v_samp_factor = tjMCUHeight[subsamp] / 8; in setCompDefaults() 296 cinfo->comp_info[1].v_samp_factor = 1; in setCompDefaults() 297 cinfo->comp_info[2].v_samp_factor = 1; in setCompDefaults() 299 cinfo->comp_info[3].v_samp_factor = tjMCUHeight[subsamp] / 8; in setCompDefaults() 321 if (dinfo->comp_info[0].h_samp_factor == tjMCUWidth[i] / 8 && in getSubsamp() 322 dinfo->comp_info[0].v_samp_factor == tjMCUHeight[i] / 8) { in getSubsamp() [all …]
|
D | transupp.c | 107 compptr = dstinfo->comp_info + ci; in do_crop() 152 compptr = dstinfo->comp_info + ci; in do_flip_h_no_crop() 217 compptr = dstinfo->comp_info + ci; in do_flip_h() 282 compptr = dstinfo->comp_info + ci; in do_flip_v() 355 compptr = dstinfo->comp_info + ci; in do_transpose() 411 compptr = dstinfo->comp_info + ci; in do_rot_90() 492 compptr = dstinfo->comp_info + ci; in do_rot_270() 562 compptr = dstinfo->comp_info + ci; in do_rot_180() 676 compptr = dstinfo->comp_info + ci; in do_transverse() 1105 compptr = srcinfo->comp_info + ci; in jtransform_request_workspace() [all …]
|
D | jdmainct.c | 151 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers() 184 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers() 224 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers() 451 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_main_controller()
|
D | jdapimin.c | 155 int cid0 = cinfo->comp_info[0].component_id; in default_decompress_parms() 156 int cid1 = cinfo->comp_info[1].component_id; in default_decompress_parms() 157 int cid2 = cinfo->comp_info[2].component_id; in default_decompress_parms()
|
D | jcprepct.c | 175 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in pre_process_data() 280 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in create_context_buffer() 342 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_prep_controller()
|
D | jcparam.c | 194 if (cinfo->comp_info == NULL) in jpeg_set_defaults() 195 cinfo->comp_info = (jpeg_component_info *) in jpeg_set_defaults() 330 (compptr = &cinfo->comp_info[index], \ in jpeg_set_colorspace()
|
D | jddctmgr.c | 106 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in start_pass() 342 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_inverse_dct()
|
D | jcmaster.c | 125 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 139 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 330 &cinfo->comp_info[scanptr->component_index[ci]]; in select_scan_parameters() 345 cinfo->cur_comp_info[ci] = &cinfo->comp_info[ci]; in select_scan_parameters()
|
D | jcmarker.c | 308 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in emit_sof() 508 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in write_frame_header() 522 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in write_frame_header()
|
D | jdcoefct.c | 283 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_data() 373 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in smoothing_ok() 449 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in decompress_smooth_data() 650 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_coef_controller()
|
D | jdmainct.h | 58 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_wraparound_pointers()
|
D | jdinput.c | 67 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup() 97 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
|
D | jctrans.c | 114 for (ci = 0, incomp = srcinfo->comp_info, outcomp = dstinfo->comp_info; in jpeg_copy_critical_parameters()
|
D | jdmarker.c | 277 if (cinfo->comp_info == NULL) /* do only once, even if suspend */ in get_sof() 278 cinfo->comp_info = (jpeg_component_info *)(*cinfo->mem->alloc_small) in get_sof() 282 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in get_sof() 335 for (ci = 0, compptr = cinfo->comp_info; in get_sos() 1263 cinfo->comp_info = NULL; /* until allocated by get_sof */ in reset_marker_reader()
|
D | jcmainct.c | 154 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_main_controller()
|
D | jccoefct.c | 256 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in compress_first_pass() 423 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_coef_controller()
|
/external/skqp/src/codec/ |
D | SkJpegCodec.cpp | 799 SkASSERT(dinfo->comp_info); in is_yuv_supported() 816 if ((1 != dinfo->comp_info[1].h_samp_factor) || in is_yuv_supported() 817 (1 != dinfo->comp_info[1].v_samp_factor) || in is_yuv_supported() 818 (1 != dinfo->comp_info[2].h_samp_factor) || in is_yuv_supported() 819 (1 != dinfo->comp_info[2].v_samp_factor)) in is_yuv_supported() 832 int hSampY = dinfo->comp_info[0].h_samp_factor; in is_yuv_supported() 833 int vSampY = dinfo->comp_info[0].v_samp_factor; in is_yuv_supported() 848 jpeg_component_info * comp_info = dinfo->comp_info; in onQueryYUV8() local 850 sizeInfo->fSizes[i].set(comp_info[i].downsampled_width, comp_info[i].downsampled_height); in onQueryYUV8() 851 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8() [all …]
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 799 SkASSERT(dinfo->comp_info); in is_yuv_supported() 816 if ((1 != dinfo->comp_info[1].h_samp_factor) || in is_yuv_supported() 817 (1 != dinfo->comp_info[1].v_samp_factor) || in is_yuv_supported() 818 (1 != dinfo->comp_info[2].h_samp_factor) || in is_yuv_supported() 819 (1 != dinfo->comp_info[2].v_samp_factor)) in is_yuv_supported() 832 int hSampY = dinfo->comp_info[0].h_samp_factor; in is_yuv_supported() 833 int vSampY = dinfo->comp_info[0].v_samp_factor; in is_yuv_supported() 848 jpeg_component_info * comp_info = dinfo->comp_info; in onQueryYUV8() local 850 sizeInfo->fSizes[i].set(comp_info[i].downsampled_width, comp_info[i].downsampled_height); in onQueryYUV8() 851 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8() [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() 427 CHECK_EQ(cinfo.comp_info[1].v_samp_factor, cinfo.comp_info[2].v_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 | 642 alloc_downsampled_buffers(TIFF* tif, jpeg_component_info* comp_info, in alloc_downsampled_buffers() argument 651 for (ci = 0, compptr = comp_info; ci < num_components; in alloc_downsampled_buffers() 1118 if (sp->cinfo.d.comp_info[0].h_samp_factor != sp->h_sampling || in JPEGPreDecode() 1119 sp->cinfo.d.comp_info[0].v_samp_factor != sp->v_sampling) { in JPEGPreDecode() 1123 sp->cinfo.d.comp_info[0].h_samp_factor, in JPEGPreDecode() 1124 sp->cinfo.d.comp_info[0].v_samp_factor, in JPEGPreDecode() 1130 if (sp->cinfo.d.comp_info[ci].h_samp_factor != 1 || in JPEGPreDecode() 1131 sp->cinfo.d.comp_info[ci].v_samp_factor != 1) { in JPEGPreDecode() 1138 if (sp->cinfo.d.comp_info[0].h_samp_factor != 1 || in JPEGPreDecode() 1139 sp->cinfo.d.comp_info[0].v_samp_factor != 1) { in JPEGPreDecode() [all …]
|