Home
last modified time | relevance | path

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

/third_party/cups-filters/cupsfilters/
Dtestrgb.c35 int cube_size, int num_comps, const char *basename);
37 int cube_size, int num_comps,
93 int num_comps, /* I - Number of components */ in test_gray() argument
129 rgb = cupsRGBNew(num_samples, samples, cube_size, num_comps); in test_gray()
135 for (i = 0; i < num_comps; i ++) in test_gray()
158 for (x = 0, outptr = output; x < width; x ++, outptr += num_comps) in test_gray()
160 for (i = 0; i < num_comps; i ++) in test_gray()
175 if (num_comps > 4) in test_gray()
181 if (num_comps > 6) in test_gray()
205 for (i = 0; i < num_comps; i ++) in test_gray()
[all …]
Dtestcmyk.c30 void test_gray(int num_comps, const char *basename);
31 void test_rgb(int num_comps, const char *basename);
79 test_gray(int num_comps, /* I - Number of components */ in test_gray() argument
115 cmyk = cupsCMYKNew(num_comps); in test_gray()
117 switch (num_comps) in test_gray()
147 for (i = 0; i < num_comps; i ++) in test_gray()
170 for (x = 0, outptr = output; x < width; x ++, outptr += num_comps) in test_gray()
172 for (i = 0; i < num_comps; i ++) in test_gray()
179 switch (num_comps) in test_gray()
246 for (i = 0; i < num_comps; i ++) in test_gray()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp91 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) = 0;
104 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) override;
209 unsigned num_comps = util_bitcount(comps); in create_new_io_var() local
210 assert(num_comps > 1); in create_new_io_var()
217 var->type = glsl_replace_vector_type(var->type, num_comps); in create_new_io_var()
342 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); in vec_instr_stack_pop() local
387 num_comps); in vec_instr_stack_pop()
398 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) in create_new_io() argument
404 new_intr->num_components = num_comps; in create_new_io()
406 nir_intrinsic_set_write_mask(new_intr, (1 << num_comps) - 1); in create_new_io()
[all …]
Dsfn_nir_vectorize_vs_inputs.c141 unsigned comp, unsigned num_comps, unsigned old_num_comps) in r600_create_new_load() argument
151 nir_ssa_dest_init(&new_intr->instr, &new_intr->dest, num_comps, in r600_create_new_load()
153 new_intr->num_components = num_comps; in r600_create_new_load()
194 unsigned num_comps = in r600_vec_instr_stack_pop() local
210 num_comps, old_num_comps); in r600_vec_instr_stack_pop()
350 unsigned num_comps = util_bitcount(comps); in r600_create_new_io_var() local
351 assert(num_comps > 1); in r600_create_new_io_var()
358 var->type = glsl_replace_vector_type(var->type, num_comps); in r600_create_new_io_var()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_so_emit.c148 unsigned num_comps = state->output[slot].num_components; in so_emit_prim() local
151 unsigned write_size = num_comps * sizeof(float); in so_emit_prim()
185 unsigned num_comps = state->output[slot].num_components; in so_emit_prim() local
200 num_comps * sizeof(float)); in so_emit_prim()
203 num_comps * sizeof(float)); in so_emit_prim()
210 slot, start_comp, num_comps, idx); in so_emit_prim()
211 for (j = 0; j < num_comps; ++j) { in so_emit_prim()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io.c407 const unsigned num_comps = in lower_load() local
413 num_comps * 2, 32, nir_type_uint32); in lower_load()
414 for (unsigned i = 0; i < num_comps; i++) { in lower_load()
421 dest_comp += num_comps; in lower_load()
519 const unsigned num_comps = in lower_store() local
523 if (write_mask & BITFIELD_MASK(num_comps)) { in lower_store()
526 BITFIELD_RANGE(src_comp, num_comps)); in lower_store()
530 for (unsigned i = 0; i < num_comps; i++) { in lower_store()
531 if (write_mask & BITFIELD_MASK(num_comps) & (1 << i)) in lower_store()
542 src_comp += num_comps; in lower_store()
[all …]
Dnir_linking_helpers.c342 unsigned num_comps = 4 - var->data.location_frac; in get_unmoveable_components_masks() local
343 comps_slot2 = (elements * dmul) - num_comps; in get_unmoveable_components_masks()
351 ((1 << num_comps) - 1) << var->data.location_frac; in get_unmoveable_components_masks()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c278 unsigned num_comps = stream_out->num_components; in si_llvm_streamout_store_output() local
281 assert(num_comps && num_comps <= 4); in si_llvm_streamout_store_output()
282 if (!num_comps || num_comps > 4) in si_llvm_streamout_store_output()
286 for (int j = 0; j < num_comps; j++) { in si_llvm_streamout_store_output()
295 switch (num_comps) { in si_llvm_streamout_store_output()
302 vdata = ac_build_gather_values(&ctx->ac, out, num_comps); in si_llvm_streamout_store_output()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c755 unsigned num_comps = util_bitcount(output->component_mask); in radv_emit_stream_output() local
761 assert(num_comps && num_comps <= 4); in radv_emit_stream_output()
762 if (!num_comps || num_comps > 4) in radv_emit_stream_output()
769 for (int i = 0; i < num_comps; i++) { in radv_emit_stream_output()
776 switch (num_comps) { in radv_emit_stream_output()
783 vdata = ac_build_gather_values(&ctx->ac, out, num_comps); in radv_emit_stream_output()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c571 unsigned num_comps = intrin->dest.ssa.num_components; in split_unaligned_load() local
580 unsigned num_loads = DIV_ROUND_UP(comp_size * num_comps, alignment); in split_unaligned_load()
586 …nir_ssa_def *new_dest = nir_extract_bits(b, srcs, num_loads, 0, num_comps, intrin->dest.ssa.bit_si… in split_unaligned_load()
599 unsigned num_comps = value->num_components; in split_unaligned_store() local
608 unsigned num_stores = DIV_ROUND_UP(comp_size * num_comps, alignment); in split_unaligned_store()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c1109 unsigned num_comps = glsl_get_components(deref->type); in write_0() local
1110 unsigned writemask = (1 << num_comps) - 1; in write_0()
1111 for (unsigned i = 0; i < num_comps; ++i) in write_0()
1113 nir_ssa_def *zero_val = nir_vec(b, scalar_arr, num_comps); in write_0()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah265dec.c610 guint32 num_comps; in _fill_screen_content_ext_parameter() local
632 num_comps = sps->chroma_format_idc ? 3 : 1; in _fill_screen_content_ext_parameter()
637 for (n = 0; n < num_comps; n++) in _fill_screen_content_ext_parameter()
644 for (n = 0; n < num_comps; n++) in _fill_screen_content_ext_parameter()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_visitor.cpp925 unsigned num_comps = output_num_components[varying][component]; in emit_generic_urb_slot() local
926 if (num_comps == 0) in emit_generic_urb_slot()
935 brw_writemask_for_component_packing(num_comps, component); in emit_generic_urb_slot()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-format.c5149 gint num_comps = MIN (3, width - i * 3); in unpack_GRAY10_LE32() local
5157 for (c = 0; c < num_comps; c++) { in unpack_GRAY10_LE32()
5192 gint num_comps = MIN (3, width - i * 3); in pack_GRAY10_LE32() local
5198 for (c = 0; c < num_comps; c++) { in pack_GRAY10_LE32()
5234 gint num_comps = MIN (3, width - i * 3); in unpack_NV12_10LE32() local
5242 for (c = 0; c < num_comps; c++) { in unpack_NV12_10LE32()
5319 gint num_comps = MIN (3, width - i * 3); in pack_NV12_10LE32() local
5325 for (c = 0; c < num_comps; c++) { in pack_NV12_10LE32()
5355 if (IS_CHROMA_LINE_420 (y, flags) && num_comps < 3) in pack_NV12_10LE32()
5387 gint num_comps = MIN (3, width - i * 3); in unpack_NV16_10LE32() local
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_clear.c115 cfg.internal.fixed_function.num_comps = 4; in panvk_meta_clear_color_attachment_emit_rsd()
Dpanvk_vX_cs.c656 cfg.internal.fixed_function.num_comps = 4; in panvk_per_arch()
Dpanvk_vX_meta_copy.c267 cfg.internal.fixed_function.num_comps = 4; in panvk_meta_copy_to_img_emit_rsd()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c717 cfg.fixed_function.num_comps = desc->nr_channels; in GENX()
Dpan_blitter.c155 cfg.internal.fixed_function.num_comps = 4; in pan_blitter_emit_blend()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c422 lower_load_vec32(nir_builder *b, nir_ssa_def *index, unsigned num_comps, nir_ssa_def **comps, nir_i… in lower_load_vec32() argument
424 for (unsigned i = 0; i < num_comps; i++) { in lower_load_vec32()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c435 cfg.fixed_function.num_comps = 4; in panfrost_emit_blend()
/third_party/libabigail/tests/data/test-annotate/
Dtest21-pr19092.so.abi9674 <!-- int d_info::num_comps -->
9675 …<var-decl name='num_comps' type-id='type-id-2' visibility='default' filepath='../.././libiberty/cp…
Dtest15-pr18892.so.abi3827 <!-- int d_info::num_comps -->
3828 …<var-decl name='num_comps' type-id='type-id-6' visibility='default' filepath='../../.././libsaniti…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest21-pr19092.so.abi6275 …<var-decl name='num_comps' type-id='type-id-2' visibility='default' filepath='../.././libiberty/cp…
Dtest15-pr18892.so.abi2036 …<var-decl name='num_comps' type-id='type-id-6' visibility='default' filepath='../../.././libsaniti…