Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavfilter/
Dvf_waveform.c88 int ncomp; member
313 int depth, depth2, rgb, i, ret, ncomp, ncomp2; in query_formats() local
341 ncomp = desc->nb_components; in query_formats()
346 if (ncomp != ncomp2 || depth != depth2) in query_formats()
355 if (s->filter == LOWPASS && ncomp == 1 && depth == 8) in query_formats()
357 else if (s->filter == LOWPASS && ncomp == 1 && depth == 9) in query_formats()
359 else if (s->filter == LOWPASS && ncomp == 1 && depth == 10) in query_formats()
361 else if (s->filter == LOWPASS && ncomp == 1 && depth == 12) in query_formats()
363 else if (rgb && depth == 8 && ncomp > 2) in query_formats()
365 else if (rgb && depth == 9 && ncomp > 2) in query_formats()
[all …]
Dvf_histogram.c43 int ncomp; member
212 s->ncomp = s->desc->nb_components; in config_input()
255 int ncomp = 0, i; in config_output() local
260 for (i = 0; i < s->ncomp; i++) { in config_output()
262 ncomp++; in config_output()
268 outlink->w = s->width * FFMAX(ncomp * (s->display_mode == 1), 1); in config_output()
269 outlink->h = s->histogram_size * FFMAX(ncomp * (s->display_mode == 2), 1); in config_output()
271 outlink->w = s->histogram_size * FFMAX(ncomp * (s->display_mode == 1), 1); in config_output()
272 outlink->h = (s->level_height + s->scale_height) * FFMAX(ncomp * (s->display_mode == 2), 1); in config_output()
320 for (m = 0, k = 0; k < s->ncomp; k++) { in filter_frame()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c151 load_const(struct ir2_context *ctx, float *value_f, unsigned ncomp) in load_const() argument
160 imm_ncomp = so->immediates[idx].ncomp; in load_const()
161 for (i = 0; i < ncomp; i++) { in load_const()
174 if (i == ncomp) in load_const()
182 for (i = 0; i < ncomp; i++) { in load_const()
194 so->immediates[idx].ncomp = imm_ncomp; in load_const()
196 if (ncomp == 1) in load_const()
292 instr_create_alu(struct ir2_context *ctx, nir_op opcode, unsigned ncomp) in instr_create_alu() argument
343 instr->alu.write_mask = (1 << ncomp) - 1; in instr_create_alu()
346 instr->ssa.ncomp = ncomp; in instr_create_alu()
[all …]
Dir2_cp.c106 unsigned ncomp; in cp_export() local
124 ncomp = dst_ncomp(instr); in cp_export()
136 for (int i = 0; i < ncomp; i++) in cp_export()
187 for (int i = 0; i < ncomp; i++) in cp_export()
208 p->ssa.ncomp = 0; in cp_export()
226 for (int i = 0; i < ncomp; i++) { in cp_export()
228 c[i]->ssa.ncomp++; in cp_export()
Dir2_private.h67 uint8_t ncomp; member
363 return instr->ssa.ncomp; in dst_ncomp()
366 return instr->reg->ncomp; in dst_ncomp()
370 unsigned ncomp = 0; in dst_ncomp() local
371 for (int i = 0; i < instr->reg->ncomp; i++) in dst_ncomp()
372 ncomp += !!(instr->alu.write_mask & 1 << i); in dst_ncomp()
373 return ncomp; in dst_ncomp()
Dir2_ra.c158 for (int i = 0; i < reg->ncomp; i++) { in ra_reg()
176 for (int i = 0; i < reg->ncomp; i++) { in ra_reg()
227 for (int i = 0; i < reg->ncomp; i++) { in ra_block_free()
Dir2_assemble.c30 src_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in src_swizzle() argument
44 for (int i = 0; i < ncomp; i++) { in src_swizzle()
119 fetch_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in fetch_swizzle() argument
121 unsigned alu_swiz = src_swizzle(ctx, src, ncomp); in fetch_swizzle()
123 for (int i = 0; i < ncomp; i++) in fetch_swizzle()
Dfd2_program.h49 unsigned ncomp; member
Dir2.h71 uint8_t ncomp; member
Dir2.c201 ins->ssa.ncomp = 1; in scalarize_case1()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_a6xx.c71 unsigned ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_ssbo() local
77 val = ir3_create_collect(b, ir3_get_src(ctx, &intr->src[0]), ncomp); in emit_intrinsic_store_ssbo()
81 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_ssbo()
234 unsigned ncomp = ir3_get_num_components_for_image_format(format); in emit_intrinsic_store_image() local
240 ir3_create_collect(b, value, ncomp), 0); in emit_intrinsic_store_image()
241 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_image()
410 unsigned ncomp = nir_intrinsic_src_components(intr, 0); in emit_intrinsic_store_global_ir3() local
415 value = ir3_create_collect(b, ir3_get_src(ctx, &intr->src[0]), ncomp); in emit_intrinsic_store_global_ir3()
427 create_immed(b, ncomp), 0); in emit_intrinsic_store_global_ir3()
432 create_immed(b, 0), 0, value, 0, create_immed(b, ncomp), 0); in emit_intrinsic_store_global_ir3()
Dir3_a4xx.c103 unsigned ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_ssbo() local
115 src0 = ir3_create_collect(b, ir3_get_src(ctx, &intr->src[0]), ncomp); in emit_intrinsic_store_ssbo()
120 stgb->cat6.iim_val = ncomp; in emit_intrinsic_store_ssbo()
288 unsigned ncomp = in emit_intrinsic_load_image() local
316 ldib->cat6.iim_val = ncomp; in emit_intrinsic_load_image()
336 unsigned ncomp = in emit_intrinsic_store_image() local
351 stib = ir3_STIB(b, ibo, 0, ir3_create_collect(b, value, ncomp), 0, in emit_intrinsic_store_image()
353 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_image()
Dir3_compiler_nir.c893 unsigned ncomp = intr->num_components; in emit_intrinsic_load_ubo_ldc() local
897 ldc->dsts[0]->wrmask = MASK(ncomp); in emit_intrinsic_load_ubo_ldc()
898 ldc->cat6.iim_val = ncomp; in emit_intrinsic_load_ubo_ldc()
907 ir3_split_dest(b, dst, ldc, 0, ncomp); in emit_intrinsic_load_ubo_ldc()
1108 unsigned base, wrmask, ncomp; in emit_intrinsic_store_shared() local
1115 ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_shared()
1119 stl = ir3_STL(b, offset, 0, ir3_create_collect(b, value, ncomp), 0, in emit_intrinsic_store_shared()
1120 create_immed(b, ncomp), 0); in emit_intrinsic_store_shared()
1316 unsigned wrmask, ncomp; in emit_intrinsic_store_scratch() local
1324 ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_scratch()
[all …]
Dir3_nir.c294 unsigned ncomp = tex->coord_components; in ir3_nir_lower_array_sampler_cb() local
295 nir_ssa_def *src = nir_ssa_for_src(b, tex->src[coord_idx].src, ncomp); in ir3_nir_lower_array_sampler_cb()
297 assume(ncomp >= 1); in ir3_nir_lower_array_sampler_cb()
298 nir_ssa_def *ai = nir_channel(b, src, ncomp - 1); in ir3_nir_lower_array_sampler_cb()
301 nir_src_for_ssa(nir_vector_insert_imm(b, src, ai, ncomp - 1))); in ir3_nir_lower_array_sampler_cb()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c92 unsigned ncomp[PIPE_MAX_SO_BUFFERS] = {0}; in emit_stream_out() local
102 ncomp[out->output_buffer] += out->num_components; in emit_stream_out()
133 COND(ncomp[0] > 0, A5XX_VPC_SO_BUF_CNTL_BUF0) | in emit_stream_out()
134 COND(ncomp[1] > 0, A5XX_VPC_SO_BUF_CNTL_BUF1) | in emit_stream_out()
135 COND(ncomp[2] > 0, A5XX_VPC_SO_BUF_CNTL_BUF2) | in emit_stream_out()
136 COND(ncomp[3] > 0, A5XX_VPC_SO_BUF_CNTL_BUF3)); in emit_stream_out()
138 OUT_RING(ring, ncomp[0]); in emit_stream_out()
140 OUT_RING(ring, ncomp[1]); in emit_stream_out()
142 OUT_RING(ring, ncomp[2]); in emit_stream_out()
144 OUT_RING(ring, ncomp[3]); in emit_stream_out()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_valuefactory.cpp834 int ncomp = swizzle_str.length(); in array_from_string() local
836 if (ncomp > 4 || ncomp <= 0) { in array_from_string()
840 << " swizzle:'" << swizzle_str << "' -> '" << ncomp << "'\n"; in array_from_string()
847 assert(frac >= 0 && frac <= 4 - ncomp); in array_from_string()
849 auto array = new LocalArray( sel, ncomp, size, frac); in array_from_string()
851 for (int i = 0; i < ncomp; ++i) { in array_from_string()
Dsfn_instr_export.h170 unsigned ncomp, PRegister m_index);
173 unsigned ncomp() const;
Dsfn_instr_export.cpp366 unsigned base_addr, unsigned ncomp, in MemRingOutInstr() argument
372 m_num_comp(ncomp), in MemRingOutInstr()
383 unsigned MemRingOutInstr::ncomp() const in ncomp() function in r600::MemRingOutInstr
Dsfn_instr_alu.cpp2490 int ncomp = nir_dest_num_components(alu.dest.dest); in emit_tex_fdd() local
2492 for (auto i = 0; i < ncomp; ++i) in emit_tex_fdd()
2499 for (int i = 0; i < ncomp; ++i) { in emit_tex_fdd()
2512 for (auto i = 0; i < ncomp; ++i) { in emit_tex_fdd()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_algebraic.py2322 for ncomp in [2, 3, 4, 8, 16]:
2324 (('ball_iequal' + str(ncomp), ('ieq', a, b), ~0), ('ball_iequal' + str(ncomp), a, b)),
2325 (('ball_iequal' + str(ncomp), ('feq', a, b), ~0), ('ball_fequal' + str(ncomp), a, b)),
2326 (('bany_inequal' + str(ncomp), ('ine', a, b), 0), ('bany_inequal' + str(ncomp), a, b)),
2327 (('bany_inequal' + str(ncomp), ('fneu', a, b), 0), ('bany_fnequal' + str(ncomp), a, b)),
Dnir_lower_tex.c899 unsigned ncomp = tex->coord_components; in saturate_src() local
901 ncomp--; in saturate_src()
903 for (unsigned j = 0; j < ncomp; j++) { in saturate_src()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.c5454 gint ncomp, const GValue * cmap_array, const GValue * cdef_array) in build_jp2h_extension() argument
5474 if (ncomp == 0) in build_jp2h_extension()
5475 ncomp = 3; in build_jp2h_extension()
5478 if (ncomp == 0) in build_jp2h_extension()
5479 ncomp = 1; in build_jp2h_extension()
5482 if (ncomp == 0) in build_jp2h_extension()
5483 ncomp = 3; in build_jp2h_extension()
5504 gst_byte_writer_put_uint16_be_unchecked (&writer, ncomp); in build_jp2h_extension()
Datoms.h1108 gint ncomp, const GValue * cmap_array,
Dgstqtmux.c6595 gint ncomp = 0; in gst_qt_mux_video_sink_set_caps() local
6601 gst_structure_get_int (structure, "num-components", &ncomp); in gst_qt_mux_video_sink_set_caps()
6612 build_jp2h_extension (width, height, colorspace, ncomp, cmap_array, in gst_qt_mux_video_sink_set_caps()
Dqtdemux.c11674 gint ncomp = 0; in qtdemux_parse_trak() local
11694 ncomp = QT_UINT16 (((guint8 *) ihdr->data) + 16); in qtdemux_parse_trak()
11784 "num-components", G_TYPE_INT, ncomp, NULL); in qtdemux_parse_trak()

12