Home
last modified time | relevance | path

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

12

/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/skia/src/images/
DSkJpegEncoder.cpp134 SkASSERT(2 == fCInfo.comp_info[0].h_samp_factor); in setParams()
135 SkASSERT(2 == fCInfo.comp_info[0].v_samp_factor); in setParams()
136 SkASSERT(1 == fCInfo.comp_info[1].h_samp_factor); in setParams()
137 SkASSERT(1 == fCInfo.comp_info[1].v_samp_factor); in setParams()
138 SkASSERT(1 == fCInfo.comp_info[2].h_samp_factor); in setParams()
139 SkASSERT(1 == fCInfo.comp_info[2].v_samp_factor); in setParams()
142 fCInfo.comp_info[0].h_samp_factor = 2; in setParams()
143 fCInfo.comp_info[0].v_samp_factor = 1; in setParams()
144 fCInfo.comp_info[1].h_samp_factor = 1; in setParams()
145 fCInfo.comp_info[1].v_samp_factor = 1; in setParams()
[all …]
/external/ImageMagick/coders/
Djpeg.c892 "%dx%d,%dx%d,%dx%d,%dx%d",jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor()
893 jpeg_info->comp_info[0].v_samp_factor, in JPEGSetImageSamplingFactor()
894 jpeg_info->comp_info[1].h_samp_factor, in JPEGSetImageSamplingFactor()
895 jpeg_info->comp_info[1].v_samp_factor, in JPEGSetImageSamplingFactor()
896 jpeg_info->comp_info[2].h_samp_factor, in JPEGSetImageSamplingFactor()
897 jpeg_info->comp_info[2].v_samp_factor, in JPEGSetImageSamplingFactor()
898 jpeg_info->comp_info[3].h_samp_factor, in JPEGSetImageSamplingFactor()
899 jpeg_info->comp_info[3].v_samp_factor); in JPEGSetImageSamplingFactor()
907 jpeg_info->comp_info[0].h_samp_factor, in JPEGSetImageSamplingFactor()
908 jpeg_info->comp_info[0].v_samp_factor); in JPEGSetImageSamplingFactor()
[all …]
/external/libjpeg-turbo/
Djdmaster.c60 if (cinfo->comp_info[0].h_samp_factor != 2 || in use_merged_upsample()
61 cinfo->comp_info[1].h_samp_factor != 1 || in use_merged_upsample()
62 cinfo->comp_info[2].h_samp_factor != 1 || in use_merged_upsample()
63 cinfo->comp_info[0].v_samp_factor > 2 || in use_merged_upsample()
64 cinfo->comp_info[1].v_samp_factor != 1 || in use_merged_upsample()
65 cinfo->comp_info[2].v_samp_factor != 1) in use_merged_upsample()
68 if (cinfo->comp_info[0]._DCT_scaled_size != cinfo->_min_DCT_scaled_size || in use_merged_upsample()
69 cinfo->comp_info[1]._DCT_scaled_size != cinfo->_min_DCT_scaled_size || in use_merged_upsample()
70 cinfo->comp_info[2]._DCT_scaled_size != cinfo->_min_DCT_scaled_size) in use_merged_upsample()
232 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()
Dtransupp.c201 compptr1 = srcinfo->comp_info + ci; in adjust_quant()
202 compptr2 = dropinfo->comp_info + ci; in adjust_quant()
246 compptr = dstinfo->comp_info + ci; in do_drop()
290 compptr = dstinfo->comp_info + ci; in do_crop()
334 compptr = dstinfo->comp_info + ci; in do_crop_ext_zero()
410 compptr = dstinfo->comp_info + ci; in do_crop_ext_flat()
491 compptr = dstinfo->comp_info + ci; in do_crop_ext_reflect()
583 compptr = dstinfo->comp_info + ci; in do_wipe()
617 compptr = dstinfo->comp_info + ci; in do_flatten()
669 compptr = dstinfo->comp_info + ci; in do_reflect()
[all …]
Dturbojpeg.c324 cinfo->comp_info[0].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults()
325 cinfo->comp_info[1].h_samp_factor = 1; in setCompDefaults()
326 cinfo->comp_info[2].h_samp_factor = 1; in setCompDefaults()
328 cinfo->comp_info[3].h_samp_factor = tjMCUWidth[subsamp] / 8; in setCompDefaults()
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()
353 if (dinfo->comp_info[0].h_samp_factor == tjMCUWidth[i] / 8 && in getSubsamp()
354 dinfo->comp_info[0].v_samp_factor == tjMCUHeight[i] / 8) { in getSubsamp()
[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()
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.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()
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()
Djdmainct.h58 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_wraparound_pointers()
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()
Djctrans.c115 for (ci = 0, incomp = srcinfo->comp_info, outcomp = dstinfo->comp_info; in jpeg_copy_critical_parameters()
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()
Djcmainct.c154 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_main_controller()
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()
1260 cinfo->comp_info = NULL; /* until allocated by get_sof */ in reset_marker_reader()
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/rust/crates/bindgen/src/codegen/
Dimpl_partialeq.rs11 comp_info: &CompInfo, in gen_partialeq_impl()
21 } else if comp_info.kind() == CompKind::Union { in gen_partialeq_impl()
27 for base in comp_info.base_members().iter() { in gen_partialeq_impl()
45 for field in comp_info.fields() { in gen_partialeq_impl()
/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/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc424 CHECK_EQ(cinfo.comp_info[1].h_samp_factor, cinfo.comp_info[2].h_samp_factor) in IsChromaDownsampled()
426 CHECK_EQ(cinfo.comp_info[1].v_samp_factor, cinfo.comp_info[2].v_samp_factor) in IsChromaDownsampled()
429 CHECK_GT(cinfo.comp_info[i].h_samp_factor, 0) << "Invalid sampling factor."; in IsChromaDownsampled()
430 CHECK_EQ(cinfo.comp_info[i].h_samp_factor, cinfo.comp_info[i].v_samp_factor) in IsChromaDownsampled()
437 cinfo.comp_info[1].h_samp_factor < cinfo.comp_info[0].h_samp_factor; in IsChromaDownsampled()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c687 alloc_downsampled_buffers(TIFF* tif, jpeg_component_info* comp_info, in alloc_downsampled_buffers() argument
696 for (ci = 0, compptr = comp_info; ci < num_components; in alloc_downsampled_buffers()
1251 if (sp->cinfo.d.comp_info[0].h_samp_factor != sp->h_sampling || in JPEGPreDecode()
1252 sp->cinfo.d.comp_info[0].v_samp_factor != sp->v_sampling) { in JPEGPreDecode()
1256 sp->cinfo.d.comp_info[0].h_samp_factor, in JPEGPreDecode()
1257 sp->cinfo.d.comp_info[0].v_samp_factor, in JPEGPreDecode()
1263 if (sp->cinfo.d.comp_info[ci].h_samp_factor != 1 || in JPEGPreDecode()
1264 sp->cinfo.d.comp_info[ci].v_samp_factor != 1) { in JPEGPreDecode()
1271 if (sp->cinfo.d.comp_info[0].h_samp_factor != 1 || in JPEGPreDecode()
1272 sp->cinfo.d.comp_info[0].v_samp_factor != 1) { in JPEGPreDecode()
[all …]
/external/skia/src/codec/
DSkJpegCodec.cpp761 SkASSERT(dinfo->comp_info); in is_yuv_supported()
778 if ((1 != dinfo->comp_info[1].h_samp_factor) || in is_yuv_supported()
779 (1 != dinfo->comp_info[1].v_samp_factor) || in is_yuv_supported()
780 (1 != dinfo->comp_info[2].h_samp_factor) || in is_yuv_supported()
781 (1 != dinfo->comp_info[2].v_samp_factor)) in is_yuv_supported()
794 int hSampY = dinfo->comp_info[0].h_samp_factor; in is_yuv_supported()
795 int vSampY = dinfo->comp_info[0].v_samp_factor; in is_yuv_supported()
825 rowBytes[i] = dinfo->comp_info[i].width_in_blocks * DCTSIZE; in is_yuv_supported()
893 int numYRowsPerBlock = DCTSIZE * dinfo->comp_info[0].v_samp_factor; in onGetYUVAPlanes()
945 int remainingUVRows = dinfo->comp_info[1].downsampled_height - DCTSIZE * numIters; in onGetYUVAPlanes()

12