/third_party/boost/libs/spirit/test/x3/ |
D | tst.cpp | 71 boost::spirit::x3::case_compare<boost::spirit::char_encoding::standard> ncomp; variable 82 docheck(lookup, ncomp, "not-yet-there", false); in tests() 83 docheck(lookup, ncomp, "", false); in tests() 86 docheck(lookup, ncomp, "apple", true, 5, 123); // full match in tests() 87 docheck(lookup, ncomp, "banana", false); // no-match in tests() 88 docheck(lookup, ncomp, "applexxx", true, 5, 123); // partial match in tests() 91 docheck(lookup, ncomp, "applepie", true, 8, 456); // full match in tests() 92 docheck(lookup, ncomp, "banana", false); // no-match in tests() 93 docheck(lookup, ncomp, "applepiexxx", true, 8, 456); // partial match in tests() 94 docheck(lookup, ncomp, "apple", true, 5, 123); // full match in tests() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_waveform.c | 88 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 …]
|
D | vf_histogram.c | 43 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/ |
D | ir2_nir.c | 148 load_const(struct ir2_context *ctx, float *value_f, unsigned ncomp) in load_const() argument 157 imm_ncomp = so->immediates[idx].ncomp; in load_const() 158 for (i = 0; i < ncomp; i++) { in load_const() 171 if (i == ncomp) in load_const() 179 for (i = 0; i < ncomp; i++) { in load_const() 191 so->immediates[idx].ncomp = imm_ncomp; in load_const() 193 if (ncomp == 1) in load_const() 289 instr_create_alu(struct ir2_context *ctx, nir_op opcode, unsigned ncomp) in instr_create_alu() argument 340 instr->alu.write_mask = (1 << ncomp) - 1; in instr_create_alu() 343 instr->ssa.ncomp = ncomp; in instr_create_alu() [all …]
|
D | ir2_cp.c | 106 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()
|
D | ir2_private.h | 67 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()
|
D | ir2_ra.c | 158 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()
|
D | ir2_assemble.c | 30 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()
|
D | fd2_program.h | 49 unsigned ncomp; member
|
D | ir2.h | 71 uint8_t ncomp; member
|
D | ir2.c | 201 ins->ssa.ncomp = 1; in scalarize_case1()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_a4xx.c | 72 unsigned ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_ssbo() local 84 src0 = ir3_create_collect(b, ir3_get_src(ctx, &intr->src[0]), ncomp); in emit_intrinsic_store_ssbo() 89 stgb->cat6.iim_val = ncomp; in emit_intrinsic_store_ssbo() 241 unsigned ncomp = in emit_intrinsic_load_image() local 247 ldib->cat6.iim_val = ncomp; in emit_intrinsic_load_image() 267 unsigned ncomp = in emit_intrinsic_store_image() local 282 stib = ir3_STIB(b, ibo, 0, ir3_create_collect(b, value, ncomp), 0, in emit_intrinsic_store_image() 284 stib->cat6.iim_val = ncomp; in emit_intrinsic_store_image()
|
D | ir3_a6xx.c | 71 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() 399 unsigned ncomp = nir_intrinsic_src_components(intr, 0); in emit_intrinsic_store_global_ir3() local 406 value = ir3_create_collect(b, ir3_get_src(ctx, &intr->src[0]), ncomp); in emit_intrinsic_store_global_ir3() 410 create_immed(b, 0), 0, value, 0, create_immed(b, ncomp), 0); in emit_intrinsic_store_global_ir3()
|
D | ir3_nir_lower_load_barycentric_at_offset.c | 33 load(nir_builder *b, unsigned ncomp, nir_intrinsic_op op) in load() argument 36 nir_ssa_dest_init(&load_size->instr, &load_size->dest, ncomp, 32, NULL); in load()
|
D | ir3_compiler_nir.c | 757 unsigned ncomp = intr->num_components; in emit_intrinsic_load_ubo_ldc() local 761 ldc->dsts[0]->wrmask = MASK(ncomp); in emit_intrinsic_load_ubo_ldc() 762 ldc->cat6.iim_val = ncomp; in emit_intrinsic_load_ubo_ldc() 771 ir3_split_dest(b, dst, ldc, 0, ncomp); in emit_intrinsic_load_ubo_ldc() 911 unsigned base, wrmask, ncomp; in emit_intrinsic_store_shared() local 918 ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_shared() 922 stl = ir3_STL(b, offset, 0, ir3_create_collect(b, value, ncomp), 0, in emit_intrinsic_store_shared() 923 create_immed(b, ncomp), 0); in emit_intrinsic_store_shared() 1096 unsigned wrmask, ncomp; in emit_intrinsic_store_scratch() local 1102 ncomp = ffs(~wrmask) - 1; in emit_intrinsic_store_scratch() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.c | 92 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/freedreno/a6xx/ |
D | fd6_program.c | 191 uint32_t ncomp[PIPE_MAX_SO_BUFFERS]; in setup_stream_out() local 195 memset(ncomp, 0, sizeof(ncomp)); in setup_stream_out() 207 ncomp[out->output_buffer] += out->num_components; in setup_stream_out() 246 COND(ncomp[0] > 0, A6XX_VPC_SO_STREAM_CNTL_BUF0_STREAM(1)) | in setup_stream_out() 247 COND(ncomp[1] > 0, A6XX_VPC_SO_STREAM_CNTL_BUF1_STREAM(1)) | in setup_stream_out() 248 COND(ncomp[2] > 0, A6XX_VPC_SO_STREAM_CNTL_BUF2_STREAM(1)) | in setup_stream_out() 249 COND(ncomp[3] > 0, A6XX_VPC_SO_STREAM_CNTL_BUF3_STREAM(1))); in setup_stream_out() 251 OUT_RING(ring, ncomp[0]); in setup_stream_out() 253 OUT_RING(ring, ncomp[1]); in setup_stream_out() 255 OUT_RING(ring, ncomp[2]); in setup_stream_out() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_export.cpp | 249 unsigned base_addr, unsigned ncomp, in MemRingOutIntruction() argument 255 m_num_comp(ncomp), in MemRingOutIntruction() 265 unsigned MemRingOutIntruction::ncomp() const in ncomp() function in r600::MemRingOutIntruction
|
D | sfn_instruction_export.h | 154 unsigned ncomp, PValue m_index); 157 unsigned ncomp() const;
|
D | sfn_value_gpr.h | 189 inline GPRVector::Swizzle swizzle_from_comps(unsigned ncomp) in swizzle_from_comps() argument 192 for (int i = ncomp; i < 4; ++i) in swizzle_from_comps()
|
D | sfn_emitaluinstruction.cpp | 948 … const GPRVector::Values& v, GPRVector::Values& out, int ncomp) in split_alu_modifiers() argument 952 for (int i = 0; i < ncomp; ++i) { in split_alu_modifiers() 970 int ncomp = nir_dest_num_components(instr.dest.dest); in emit_tex_fdd() local 972 for (auto i = 0; i < ncomp; ++i) in emit_tex_fdd() 975 auto src = vec_from_nir_with_fetch_constant(instr.src[0].src, (1 << ncomp) - 1, src_swz); in emit_tex_fdd() 979 split_alu_modifiers(instr.src[0], src.values(), tmp.values(), ncomp); in emit_tex_fdd() 985 v[i] = from_nir(instr.dest, (i < ncomp) ? i : 0); in emit_tex_fdd()
|
D | sfn_emitaluinstruction.h | 98 GPRVector::Values& out, int ncomp);
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_algebraic.py | 2211 for ncomp in [2, 3, 4, 8, 16]: 2213 (('ball_iequal' + str(ncomp), ('ieq', a, b), ~0), ('ball_iequal' + str(ncomp), a, b)), 2214 (('ball_iequal' + str(ncomp), ('feq', a, b), ~0), ('ball_fequal' + str(ncomp), a, b)), 2215 (('bany_inequal' + str(ncomp), ('ine', a, b), 0), ('bany_inequal' + str(ncomp), a, b)), 2216 (('bany_inequal' + str(ncomp), ('fneu', a, b), 0), ('bany_fnequal' + str(ncomp), a, b)),
|
D | nir_lower_tex.c | 854 unsigned ncomp = tex->coord_components; in saturate_src() local 856 ncomp--; in saturate_src() 858 for (unsigned j = 0; j < ncomp; j++) { in saturate_src()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 746 uint32_t ncomp[IR3_MAX_SO_BUFFERS] = {}; in tu6_setup_streamout() local 771 ncomp[out->output_buffer] += out->num_components; in tu6_setup_streamout() 812 COND(ncomp[0] > 0, in tu6_setup_streamout() 814 COND(ncomp[1] > 0, in tu6_setup_streamout() 816 COND(ncomp[2] > 0, in tu6_setup_streamout() 818 COND(ncomp[3] > 0, in tu6_setup_streamout() 822 tu_cs_emit(cs, ncomp[i]); in tu6_setup_streamout()
|