Home
last modified time | relevance | path

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

123

/external/skia/src/images/
DSkJpegEncoder.cpp150 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams()
151 SkASSERT(2 == fCInfo.comp_info[0].v_samp_factor); in setParams()
152 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams()
153 SkASSERT(1 == fCInfo.comp_info[1].v_samp_factor); in setParams()
154 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams()
155 SkASSERT(1 == fCInfo.comp_info[2].v_samp_factor); in setParams()
158 fCInfo.comp_info[0].h_samp_factor = 2; in setParams()
159 fCInfo.comp_info[0].v_samp_factor = 1; in setParams()
160 fCInfo.comp_info[1].h_samp_factor = 1; in setParams()
161 fCInfo.comp_info[1].v_samp_factor = 1; in setParams()
[all …]
/external/ImageMagick/coders/
Djpeg.c941 "%dx%d,%dx%d,%dx%d,%dx%d",jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor()
942 jpeg_info->comp_info[0].v_samp_factor, in JPEGSetImageSamplingFactor()
943 jpeg_info->comp_info[1].h_samp_factor, in JPEGSetImageSamplingFactor()
944 jpeg_info->comp_info[1].v_samp_factor, in JPEGSetImageSamplingFactor()
945 jpeg_info->comp_info[2].h_samp_factor, in JPEGSetImageSamplingFactor()
946 jpeg_info->comp_info[2].v_samp_factor, in JPEGSetImageSamplingFactor()
947 jpeg_info->comp_info[3].h_samp_factor, in JPEGSetImageSamplingFactor()
948 jpeg_info->comp_info[3].v_samp_factor); in JPEGSetImageSamplingFactor()
956 jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor()
957 jpeg_info->comp_info[0].v_samp_factor); in JPEGSetImageSamplingFactor()
[all …]
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdmaster.c56 if (cinfo->comp_info[0].h_samp_factor != 2 || in use_merged_upsample()
57 cinfo->comp_info[1].h_samp_factor != 1 || in use_merged_upsample()
58 cinfo->comp_info[2].h_samp_factor != 1 || in use_merged_upsample()
59 cinfo->comp_info[0].v_samp_factor > 2 || in use_merged_upsample()
60 cinfo->comp_info[1].v_samp_factor != 1 || in use_merged_upsample()
61 cinfo->comp_info[2].v_samp_factor != 1) in use_merged_upsample()
64 if (cinfo->comp_info[0].DCT_scaled_size != cinfo->min_DCT_scaled_size || in use_merged_upsample()
65 cinfo->comp_info[1].DCT_scaled_size != cinfo->min_DCT_scaled_size || in use_merged_upsample()
66 cinfo->comp_info[2].DCT_scaled_size != cinfo->min_DCT_scaled_size) in use_merged_upsample()
131 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jpeg_calc_output_dimensions()
[all …]
Dfpdfapi_jdmainct.c176 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers()
209 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers()
249 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_wraparound_pointers()
277 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers()
503 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_main_controller()
Dfpdfapi_jcmainct.c181 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in process_data_buffer_main()
268 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_main_controller()
285 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_main_controller()
Dfpdfapi_jdapimin.c143 int cid0 = cinfo->comp_info[0].component_id; in default_decompress_parms()
144 int cid1 = cinfo->comp_info[1].component_id; in default_decompress_parms()
145 int cid2 = cinfo->comp_info[2].component_id; in default_decompress_parms()
Dfpdfapi_jddctmgr.c98 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in start_pass()
259 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_inverse_dct()
Dfpdfapi_jcprepct.c174 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in pre_process_data()
283 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in create_context_buffer()
345 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_prep_controller()
Dfpdfapi_jcmaster.c82 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
94 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
281 &cinfo->comp_info[scanptr->component_index[ci]]; in select_scan_parameters()
297 cinfo->cur_comp_info[ci] = &cinfo->comp_info[ci]; in select_scan_parameters()
Dfpdfapi_jcparam.c280 if (cinfo->comp_info == NULL) in jpeg_set_defaults()
281 cinfo->comp_info = (jpeg_component_info *) in jpeg_set_defaults()
397 (compptr = &cinfo->comp_info[index], \ in jpeg_set_colorspace()
Dfpdfapi_jdmarker.c282 if (cinfo->comp_info == NULL) /* do only once, even if suspend */ in get_sof()
283 cinfo->comp_info = (jpeg_component_info *) (*cinfo->mem->alloc_small) in get_sof()
287 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in get_sof()
295 if (compptr->component_id == cinfo->comp_info[i].component_id) break; in get_sof()
357 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in get_sos()
1279 cinfo->comp_info = NULL; /* until allocated by get_sof */ in reset_marker_reader()
/external/skia/src/codec/
DSkJpegCodec.cpp800 SkASSERT(dinfo->comp_info); in is_yuv_supported()
817 if ((1 != dinfo->comp_info[1].h_samp_factor) || in is_yuv_supported()
818 (1 != dinfo->comp_info[1].v_samp_factor) || in is_yuv_supported()
819 (1 != dinfo->comp_info[2].h_samp_factor) || in is_yuv_supported()
820 (1 != dinfo->comp_info[2].v_samp_factor)) in is_yuv_supported()
833 int hSampY = dinfo->comp_info[0].h_samp_factor; in is_yuv_supported()
834 int vSampY = dinfo->comp_info[0].v_samp_factor; in is_yuv_supported()
849 sizeInfo->fSizes[SkYUVSizeInfo::kY].set(dinfo->comp_info[0].downsampled_width, in onQueryYUV8()
850 dinfo->comp_info[0].downsampled_height); in onQueryYUV8()
851 sizeInfo->fSizes[SkYUVSizeInfo::kU].set(dinfo->comp_info[1].downsampled_width, in onQueryYUV8()
[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.c261 cinfo->comp_info[0].h_samp_factor=tjMCUWidth[subsamp]/8; in setCompDefaults()
262 cinfo->comp_info[1].h_samp_factor=1; in setCompDefaults()
263 cinfo->comp_info[2].h_samp_factor=1; in setCompDefaults()
265 cinfo->comp_info[3].h_samp_factor=tjMCUWidth[subsamp]/8; in setCompDefaults()
266 cinfo->comp_info[0].v_samp_factor=tjMCUHeight[subsamp]/8; in setCompDefaults()
267 cinfo->comp_info[1].v_samp_factor=1; in setCompDefaults()
268 cinfo->comp_info[2].v_samp_factor=1; in setCompDefaults()
270 cinfo->comp_info[3].v_samp_factor=tjMCUHeight[subsamp]/8; in setCompDefaults()
351 if(dinfo->comp_info[0].h_samp_factor==tjMCUWidth[i]/8 in getSubsamp()
352 && dinfo->comp_info[0].v_samp_factor==tjMCUHeight[i]/8) in getSubsamp()
[all …]
Dtransupp.c107 compptr = dstinfo->comp_info + ci; in do_crop()
153 compptr = dstinfo->comp_info + ci; in do_flip_h_no_crop()
219 compptr = dstinfo->comp_info + ci; in do_flip_h()
284 compptr = dstinfo->comp_info + ci; in do_flip_v()
357 compptr = dstinfo->comp_info + ci; in do_transpose()
412 compptr = dstinfo->comp_info + ci; in do_rot_90()
493 compptr = dstinfo->comp_info + ci; in do_rot_270()
563 compptr = dstinfo->comp_info + ci; in do_rot_180()
674 compptr = dstinfo->comp_info + ci; in do_transverse()
1105 compptr = srcinfo->comp_info + ci; in jtransform_request_workspace()
[all …]
Djdmainct.c148 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers()
181 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers()
221 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers()
447 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.c177 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in pre_process_data()
286 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in create_context_buffer()
348 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_prep_controller()
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()
Djcparam.c193 if (cinfo->comp_info == NULL) in jpeg_set_defaults()
194 cinfo->comp_info = (jpeg_component_info *) in jpeg_set_defaults()
329 (compptr = &cinfo->comp_info[index], \ in jpeg_set_colorspace()
Djcmaster.c125 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
137 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
328 &cinfo->comp_info[scanptr->component_index[ci]]; in select_scan_parameters()
344 cinfo->cur_comp_info[ci] = &cinfo->comp_info[ci]; in select_scan_parameters()
Djdmainct.h58 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_wraparound_pointers()
/external/libvncserver/common/
Dturbojpeg.c195 cinfo->comp_info[0].h_samp_factor=tjMCUWidth[subsamp]/8; in setCompDefaults()
196 cinfo->comp_info[1].h_samp_factor=1; in setCompDefaults()
197 cinfo->comp_info[2].h_samp_factor=1; in setCompDefaults()
198 cinfo->comp_info[0].v_samp_factor=tjMCUHeight[subsamp]/8; in setCompDefaults()
199 cinfo->comp_info[1].v_samp_factor=1; in setCompDefaults()
200 cinfo->comp_info[2].v_samp_factor=1; in setCompDefaults()
266 if(dinfo->comp_info[0].h_samp_factor==tjMCUWidth[i]/8 in getSubsamp()
267 && dinfo->comp_info[0].v_samp_factor==tjMCUHeight[i]/8) in getSubsamp()
272 if(dinfo->comp_info[k].h_samp_factor==1 in getSubsamp()
273 && dinfo->comp_info[k].v_samp_factor==1) in getSubsamp()
/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()
1116 if (sp->cinfo.d.comp_info[0].h_samp_factor != sp->h_sampling || in JPEGPreDecode()
1117 sp->cinfo.d.comp_info[0].v_samp_factor != sp->v_sampling) { in JPEGPreDecode()
1121 sp->cinfo.d.comp_info[0].h_samp_factor, in JPEGPreDecode()
1122 sp->cinfo.d.comp_info[0].v_samp_factor, in JPEGPreDecode()
1128 if (sp->cinfo.d.comp_info[ci].h_samp_factor != 1 || in JPEGPreDecode()
1129 sp->cinfo.d.comp_info[ci].v_samp_factor != 1) { in JPEGPreDecode()
1136 if (sp->cinfo.d.comp_info[0].h_samp_factor != 1 || in JPEGPreDecode()
1137 sp->cinfo.d.comp_info[0].v_samp_factor != 1) { in JPEGPreDecode()
[all …]

123