Home
last modified time | relevance | path

Searched refs:num_components (Results 1 – 25 of 117) sorted by relevance

12345

/external/mesa3d/src/glsl/
Dopt_swizzle_swizzle.cpp61 if (swiz2->mask.num_components >= 1) in visit_enter()
63 if (swiz2->mask.num_components >= 2) in visit_enter()
65 if (swiz2->mask.num_components >= 3) in visit_enter()
67 if (swiz2->mask.num_components >= 4) in visit_enter()
70 if (ir->mask.num_components >= 1) in visit_enter()
72 if (ir->mask.num_components >= 2) in visit_enter()
74 if (ir->mask.num_components >= 3) in visit_enter()
76 if (ir->mask.num_components >= 4) in visit_enter()
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_copy_helper_funcs.py48 (num_components, component_size) = _GetPartitionInfo(300, 200, 10)
49 self.assertEqual(30, num_components)
53 (num_components, component_size) = _GetPartitionInfo(301, 200, 10)
54 self.assertEqual(31, num_components)
58 (num_components, component_size) = _GetPartitionInfo(299, 200, 10)
59 self.assertEqual(30, num_components)
63 (num_components, component_size) = _GetPartitionInfo(301, 2, 10)
64 self.assertEqual(2, num_components)
68 (num_components, component_size) = _GetPartitionInfo((10 ** 150) + 1,
71 self.assertEqual((10 ** 149) + 1, num_components)
[all …]
/external/libjpeg-turbo/
Djcparam.c352 cinfo->num_components = 1; in jpeg_set_colorspace()
358 cinfo->num_components = 3; in jpeg_set_colorspace()
365 cinfo->num_components = 3; in jpeg_set_colorspace()
374 cinfo->num_components = 4; in jpeg_set_colorspace()
382 cinfo->num_components = 4; in jpeg_set_colorspace()
389 cinfo->num_components = cinfo->input_components; in jpeg_set_colorspace()
390 if (cinfo->num_components < 1 || cinfo->num_components > MAX_COMPONENTS) in jpeg_set_colorspace()
391 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in jpeg_set_colorspace()
393 for (ci = 0; ci < cinfo->num_components; ci++) { in jpeg_set_colorspace()
470 int ncomps = cinfo->num_components; in jpeg_simple_progression()
Djcmaster.c87 || cinfo->num_components <= 0 || cinfo->input_components <= 0) in initial_setup()
106 if (cinfo->num_components > MAX_COMPONENTS) in initial_setup()
107 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in initial_setup()
113 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
125 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
191 for (ci = 0; ci < cinfo->num_components; ci++) in validate_script()
199 for (ci = 0; ci < cinfo->num_components; ci++) in validate_script()
210 if (thisi < 0 || thisi >= cinfo->num_components) in validate_script()
285 for (ci = 0; ci < cinfo->num_components; ci++) { in validate_script()
291 for (ci = 0; ci < cinfo->num_components; ci++) { in validate_script()
[all …]
Djcprepct.c157 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_data()
176 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in pre_process_data()
220 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_context()
238 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_context()
282 (cinfo->num_components * 5 * rgroup_height) * in create_context_buffer()
285 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in create_context_buffer()
347 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_c_prep_controller()
Djctrans.c80 dstinfo->input_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
111 dstinfo->num_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
112 if (dstinfo->num_components < 1 || dstinfo->num_components > MAX_COMPONENTS) in jpeg_copy_critical_parameters()
113 ERREXIT2(dstinfo, JERR_COMPONENT_COUNT, dstinfo->num_components, in jpeg_copy_critical_parameters()
116 ci < dstinfo->num_components; ci++, incomp++, outcomp++) { in jpeg_copy_critical_parameters()
Drdjpgcom.c280 int data_precision, num_components; in process_SOFn() local
289 num_components = read_1_byte(); in process_SOFn()
309 image_width, image_height, num_components, data_precision); in process_SOFn()
312 if (length != (unsigned int) (8 + num_components * 3)) in process_SOFn()
315 for (ci = 0; ci < num_components; ci++) { in process_SOFn()
Djdcolor.c369 register int num_components = cinfo->num_components; in null_convert() local
373 if (num_components == 3) { in null_convert()
386 } else if (num_components == 4) { in null_convert()
403 for (ci = 0; ci < num_components; ci++) { in null_convert()
408 outptr += num_components; in null_convert()
765 if (cinfo->num_components != 1) in jinit_color_deconverter()
771 if (cinfo->num_components != 3) in jinit_color_deconverter()
777 if (cinfo->num_components != 4) in jinit_color_deconverter()
782 if (cinfo->num_components < 1) in jinit_color_deconverter()
799 for (ci = 1; ci < cinfo->num_components; ci++) in jinit_color_deconverter()
[all …]
Djdmainct.c143 cinfo->num_components * 2 * sizeof(JSAMPARRAY)); in alloc_funny_pointers()
144 main_ptr->xbuffer[1] = main_ptr->xbuffer[0] + cinfo->num_components; in alloc_funny_pointers()
146 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers()
179 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers()
219 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers()
445 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_main_controller()
Dtransupp.c105 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_crop()
151 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_flip_h_no_crop()
217 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_flip_h()
282 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_flip_v()
355 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_transpose()
410 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_rot_90()
491 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_rot_270()
561 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_rot_180()
672 for (ci = 0; ci < dstinfo->num_components; ci++) { in do_transverse()
904 srcinfo->num_components == 3) in jtransform_request_workspace()
[all …]
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdcolor.c175 register int num_components = cinfo->num_components; in null_convert() local
180 for (ci = 0; ci < num_components; ci++) { in null_convert()
185 outptr += num_components; in null_convert()
318 if (cinfo->num_components != 1) in jinit_color_deconverter()
324 if (cinfo->num_components != 3) in jinit_color_deconverter()
330 if (cinfo->num_components != 4) in jinit_color_deconverter()
335 if (cinfo->num_components < 1) in jinit_color_deconverter()
352 for (ci = 1; ci < cinfo->num_components; ci++) in jinit_color_deconverter()
385 cinfo->out_color_components = cinfo->num_components; in jinit_color_deconverter()
Dfpdfapi_jcparam.c421 cinfo->num_components = 1; in jpeg_set_colorspace()
427 cinfo->num_components = 3; in jpeg_set_colorspace()
434 cinfo->num_components = 3; in jpeg_set_colorspace()
443 cinfo->num_components = 4; in jpeg_set_colorspace()
451 cinfo->num_components = 4; in jpeg_set_colorspace()
458 cinfo->num_components = cinfo->input_components; in jpeg_set_colorspace()
459 if (cinfo->num_components < 1 || cinfo->num_components > MAX_COMPONENTS) in jpeg_set_colorspace()
460 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in jpeg_set_colorspace()
462 for (ci = 0; ci < cinfo->num_components; ci++) { in jpeg_set_colorspace()
539 int ncomps = cinfo->num_components; in jpeg_simple_progression()
Dfpdfapi_jcmaster.c56 || cinfo->num_components <= 0 || cinfo->input_components <= 0) in initial_setup()
75 if (cinfo->num_components > MAX_COMPONENTS) in initial_setup()
76 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in initial_setup()
82 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()
156 for (ci = 0; ci < cinfo->num_components; ci++) in validate_script()
164 for (ci = 0; ci < cinfo->num_components; ci++) in validate_script()
175 if (thisi < 0 || thisi >= cinfo->num_components) in validate_script()
250 for (ci = 0; ci < cinfo->num_components; ci++) { in validate_script()
256 for (ci = 0; ci < cinfo->num_components; ci++) { in validate_script()
[all …]
Dfpdfapi_jcprepct.c155 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_data()
174 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in pre_process_data()
218 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_context()
236 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_context()
280 (cinfo->num_components * 5 * rgroup_height) * in create_context_buffer()
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_jctrans.c77 dstinfo->input_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
102 dstinfo->num_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
103 if (dstinfo->num_components < 1 || dstinfo->num_components > MAX_COMPONENTS) in jpeg_copy_critical_parameters()
104 ERREXIT2(dstinfo, JERR_COMPONENT_COUNT, dstinfo->num_components, in jpeg_copy_critical_parameters()
107 ci < dstinfo->num_components; ci++, incomp++, outcomp++) { in jpeg_copy_critical_parameters()
Dfpdfapi_jccolor.c317 int nc = cinfo->num_components; in null_convert()
397 if (cinfo->num_components != 1) in jinit_color_converter()
411 if (cinfo->num_components != 3) in jinit_color_converter()
420 if (cinfo->num_components != 3) in jinit_color_converter()
432 if (cinfo->num_components != 4) in jinit_color_converter()
441 if (cinfo->num_components != 4) in jinit_color_converter()
454 cinfo->num_components != cinfo->input_components) in jinit_color_converter()
Dfpdfapi_jdmainct.c173 cinfo->num_components * 2 * SIZEOF(JSAMPARRAY)); in alloc_funny_pointers()
174 main->xbuffer[1] = main->xbuffer[0] + cinfo->num_components; in alloc_funny_pointers()
176 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_jdinput.c55 if (cinfo->num_components > MAX_COMPONENTS) in initial_setup()
56 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in initial_setup()
62 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
80 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
113 if (cinfo->comps_in_scan < cinfo->num_components || cinfo->progressive_mode) in initial_setup()
/external/opencv3/3rdparty/libjpeg/
Djcparam.c446 cinfo->num_components = 1; in jpeg_set_colorspace()
452 cinfo->num_components = 3; in jpeg_set_colorspace()
461 cinfo->num_components = 3; in jpeg_set_colorspace()
470 cinfo->num_components = 4; in jpeg_set_colorspace()
478 cinfo->num_components = 4; in jpeg_set_colorspace()
485 cinfo->num_components = cinfo->input_components; in jpeg_set_colorspace()
486 if (cinfo->num_components < 1 || cinfo->num_components > MAX_COMPONENTS) in jpeg_set_colorspace()
487 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in jpeg_set_colorspace()
489 for (ci = 0; ci < cinfo->num_components; ci++) { in jpeg_set_colorspace()
566 int ncomps = cinfo->num_components; in jpeg_simple_progression()
Djcprepct.c155 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_data()
174 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in pre_process_data()
220 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_context()
238 for (ci = 0; ci < cinfo->num_components; ci++) { in pre_process_context()
282 (cinfo->num_components * 5 * rgroup_height) * in create_context_buffer()
285 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()
Djctrans.c78 dstinfo->input_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
110 dstinfo->num_components = srcinfo->num_components; in jpeg_copy_critical_parameters()
111 if (dstinfo->num_components < 1 || dstinfo->num_components > MAX_COMPONENTS) in jpeg_copy_critical_parameters()
112 ERREXIT2(dstinfo, JERR_COMPONENT_COUNT, dstinfo->num_components, in jpeg_copy_critical_parameters()
115 ci < dstinfo->num_components; ci++, incomp++, outcomp++) { in jpeg_copy_critical_parameters()
Djcmaster.c254 cinfo->num_components <= 0 || cinfo->input_components <= 0) in initial_setup()
273 if (cinfo->num_components > MAX_COMPONENTS) in initial_setup()
274 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, in initial_setup()
280 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
292 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in initial_setup()
384 for (ci = 0; ci < cinfo->num_components; ci++) in validate_script()
392 for (ci = 0; ci < cinfo->num_components; ci++) in validate_script()
403 if (thisi < 0 || thisi >= cinfo->num_components) in validate_script()
478 for (ci = 0; ci < cinfo->num_components; ci++) { in validate_script()
484 for (ci = 0; ci < cinfo->num_components; ci++) { in validate_script()
[all …]
Djdmainct.c174 cinfo->num_components * 2 * SIZEOF(JSAMPARRAY)); in alloc_funny_pointers()
175 mainp->xbuffer[1] = mainp->xbuffer[0] + cinfo->num_components; in alloc_funny_pointers()
177 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in alloc_funny_pointers()
210 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in make_funny_pointers()
250 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_wraparound_pointers()
278 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in set_bottom_pointers()
504 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; in jinit_d_main_controller()
Djccolor.c385 register int nc = cinfo->num_components; in null_convert()
470 if (cinfo->num_components != 1) in jinit_color_converter()
483 if (cinfo->num_components != 3) in jinit_color_converter()
502 if (cinfo->num_components != 3) in jinit_color_converter()
514 if (cinfo->num_components != 4) in jinit_color_converter()
523 if (cinfo->num_components != 4) in jinit_color_converter()
536 cinfo->num_components != cinfo->input_components) in jinit_color_converter()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp252 int& num_components, in _JpegLoadInfo() argument
296 num_components = cinfo.num_components; in _JpegLoadInfo()
388 if (cinfo.num_components == 3 && !m_bJpegTransform) { in InitDecode()
428 if (cinfo.num_components < nComps) { in Create()
435 (static_cast<FX_DWORD>(cinfo.image_width) * cinfo.num_components + 3) / in Create()
438 m_nComps = cinfo.num_components; in Create()
534 int& num_components, in LoadInfo() argument
539 return _JpegLoadInfo(src_buf, src_size, width, height, num_components, in LoadInfo()
659 *nComps = p->m_Info.num_components;

12345