Home
last modified time | relevance | path

Searched refs:comp_info (Results 1 – 25 of 38) sorted by relevance

12

/external/skia/src/images/
DSkJpegEncoder.cpp133 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/
DSkJpegEncoder.cpp133 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/
Djpeg.c1012 "%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/
Djdmaster.c61 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 …]
Drdswitch.c380 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()
Dturbojpeg.c290 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 …]
Dtransupp.c107 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 …]
Djdmainct.c151 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()
Djdapimin.c155 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()
Djcprepct.c175 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()
Djcparam.c194 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()
Djddctmgr.c106 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()
Djcmaster.c125 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()
Djcmarker.c308 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()
Djdcoefct.c283 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()
Djdmainct.h58 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_wraparound_pointers()
Djdinput.c67 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()
Djctrans.c114 for (ci = 0, incomp = srcinfo->comp_info, outcomp = dstinfo->comp_info; in jpeg_copy_critical_parameters()
Djdmarker.c277 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()
Djcmainct.c154 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_main_controller()
Djccoefct.c256 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/
DSkJpegCodec.cpp799 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/
DSkJpegCodec.cpp799 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/
Djpeg_mem_unittest.cc425 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/
Dtif_jpeg.c642 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 …]

12