/external/pdfium/core/fxcodec/codec/ |
fx_codec_jpeg.cpp | 102 int* num_components, 141 *num_components = cinfo.num_components; 225 if (cinfo.num_components == 3 && !m_bJpegTransform) 266 if (cinfo.num_components < nComps) 273 (static_cast<uint32_t>(cinfo.image_width) * cinfo.num_components + 3) / 276 m_nComps = cinfo.num_components; 341 int* num_components, 344 return JpegLoadInfo(src_buf, src_size, width, height, num_components, 450 *nComps = ctx->m_Info.num_components; [all...] |
/external/libjpeg-turbo/ |
jdinput.c | 60 if (cinfo->num_components > MAX_COMPONENTS) 61 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, 67 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 95 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 137 if (cinfo->comps_in_scan < cinfo->num_components || cinfo->progressive_mode)
|
transupp.c | 106 for (ci = 0; ci < dstinfo->num_components; ci++) { 152 for (ci = 0; ci < dstinfo->num_components; ci++) { 218 for (ci = 0; ci < dstinfo->num_components; ci++) { 283 for (ci = 0; ci < dstinfo->num_components; ci++) { 356 for (ci = 0; ci < dstinfo->num_components; ci++) { 411 for (ci = 0; ci < dstinfo->num_components; ci++) { 492 for (ci = 0; ci < dstinfo->num_components; ci++) { 562 for (ci = 0; ci < dstinfo->num_components; ci++) { 673 for (ci = 0; ci < dstinfo->num_components; ci++) { [all...] |
jddctmgr.c | 106 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 342 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
|
jdcolor.c | 370 register int num_components = cinfo->num_components; local 374 if (num_components == 3) { 387 } else if (num_components == 4) { 404 for (ci = 0; ci < num_components; ci++) { 409 outptr += num_components; 763 /* Make sure num_components agrees with jpeg_color_space */ 766 if (cinfo->num_components != 1) 772 if (cinfo->num_components != 3) 778 if (cinfo->num_components != 4 [all...] |
jcmarker.c | 296 emit_2bytes(cinfo, 3 * cinfo->num_components + 2 + 5 + 1); /* length */ 307 emit_byte(cinfo, cinfo->num_components); 309 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 509 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 523 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
|
jccolor.c | 459 * We assume input_components == num_components. 471 int nc = cinfo->num_components; 586 /* Check num_components, set conversion method based on requested space */ 589 if (cinfo->num_components != 1) 617 if (cinfo->num_components != 3) 646 if (cinfo->num_components != 3) 677 if (cinfo->num_components != 4) 691 if (cinfo->num_components != 4) 709 cinfo->num_components != cinfo->input_components)
|
jdmaster.c | 41 if (cinfo->jpeg_color_space != JCS_YCbCr || cinfo->num_components != 3 || 244 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 293 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 313 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 365 cinfo->out_color_components = cinfo->num_components; 594 nscans = 2 + 3 * cinfo->num_components; 597 nscans = cinfo->num_components;
|
turbojpeg.c | 264 if(cinfo->num_components>3) 269 if(cinfo->num_components>3) 341 if(dinfo->num_components==1 && dinfo->jpeg_color_space==JCS_GRAYSCALE) 346 if(dinfo->num_components==pixelsize[i] 349 && pixelsize[i]==3 && dinfo->num_components==4)) 355 for(k=1; k<dinfo->num_components; k++) 366 if(match==dinfo->num_components-1) 378 for(k=1; k<dinfo->num_components; k++) 389 if(match==dinfo->num_components-1) 948 for(i=0; i<cinfo->num_components; i++ [all...] |
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jdinput.c | 55 if (cinfo->num_components > MAX_COMPONENTS) 56 ERREXIT2(cinfo, JERR_COMPONENT_COUNT, cinfo->num_components, 62 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 80 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 113 if (cinfo->comps_in_scan < cinfo->num_components || cinfo->progressive_mode)
|
fpdfapi_jdmaster.c | 51 if (cinfo->jpeg_color_space != JCS_YCbCr || cinfo->num_components != 3 || 131 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 147 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 190 cinfo->out_color_components = cinfo->num_components; 412 nscans = 2 + 3 * cinfo->num_components; 415 nscans = cinfo->num_components;
|
fpdfapi_jddctmgr.c | 98 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 259 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
|
fpdfapi_jcmainct.c | 181 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 268 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 285 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
|
fpdfapi_jcmarker.c | 285 emit_2bytes(cinfo, 3 * cinfo->num_components + 2 + 5 + 1); /* length */ 296 emit_byte(cinfo, cinfo->num_components); 298 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 504 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 518 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
|
/external/mesa3d/src/compiler/nir/ |
nir_opt_peephole_select.c | 222 phi->dest.ssa.num_components, 224 sel->dest.write_mask = (1 << phi->dest.ssa.num_components) - 1;
|
nir_lower_clamp_color_outputs.c | 93 s = nir_ssa_for_src(b, intr->src[0], intr->num_components);
|
nir_normalize_cubemap_coords.c | 57 assert(orig_coord->num_components >= 3);
|
nir_lower_io.c | 208 load->num_components = intrin->num_components; 249 store->num_components = intrin->num_components; 350 load->num_components = intrin->num_components; 466 intrin->dest.ssa.num_components,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_nir_attribute_workarounds.c | 69 for (int i = 0; i < val->num_components; i++) { 73 val = nir_vec(b, comps, val->num_components);
|
brw_vec4_nir.cpp | 304 unsigned num_components) 320 reg_as_src.swizzle = brw_swizzle_for_size(num_components); 326 unsigned num_components) 328 return get_nir_src(src, brw_type_for_nir_type(type), num_components); 332 vec4_visitor::get_nir_src(const nir_src &src, unsigned num_components) 335 return get_nir_src(src, nir_type_int32, num_components); 369 unsigned remaining = brw_writemask_for_size(instr->def.num_components); 375 for (unsigned i = 0; i < instr->def.num_components; i++) { 381 for (unsigned j = i; j < instr->def.num_components; j++) { 401 reg.writemask = brw_writemask_for_size(instr->def.num_components); 464 unsigned num_components = instr->num_components; local 594 int num_components = instr->num_components; local [all...] |
brw_ir_vec4.h | 110 const unsigned num_components = MAX2(width / 4 * stride, 4); local 111 return byte_offset(reg, num_components * type_sz(reg.type) * delta); 191 const unsigned num_components = MAX2(width / 4 * stride, 4); local 192 return byte_offset(reg, num_components * type_sz(reg.type) * delta);
|
brw_vec4_tes.cpp | 246 dst.writemask = brw_writemask_for_size(instr->num_components); 260 if (instr->num_components > 2) { 274 dst.writemask = brw_writemask_for_size(instr->num_components);
|
/external/mesa3d/src/compiler/glsl/ |
opt_dead_code_local.cpp | 109 if (ir->mask.num_components > 1) 111 if (ir->mask.num_components > 2) 113 if (ir->mask.num_components > 3)
|
opt_vectorize.cpp | 144 mask->num_components, 1); 150 mask->num_components, 1); 157 mask->num_components);
|
/external/mesa3d/src/intel/vulkan/ |
anv_nir_apply_dynamic_offsets.c | 75 offset_load->num_components = 2; 107 intrin->num_components, 118 nir_ssa_def *zero = nir_build_imm(b, intrin->num_components,
|