/third_party/ffmpeg/libavfilter/ |
D | vf_ocr.c | 37 TessBaseAPI *tess; member 55 s->tess = TessBaseAPICreate(); in init() 56 if (TessBaseAPIInit3(s->tess, s->datapath, s->language) == -1) { in init() 61 if (!TessBaseAPISetVariable(s->tess, "tessedit_char_whitelist", s->whitelist)) { in init() 66 if (!TessBaseAPISetVariable(s->tess, "tessedit_char_blacklist", s->blacklist)) { in init() 97 result = TessBaseAPIRect(s->tess, in->data[0], 1, in filter_frame() 99 confs = TessBaseAPIAllWordConfidences(s->tess); in filter_frame() 118 TessBaseAPIEnd(s->tess); in uninit() 119 TessBaseAPIDelete(s->tess); in uninit()
|
/third_party/skia/src/gpu/ops/ |
D | AALinearizingConvexPathRenderer.cpp | 43 void extract_verts(const GrAAConvexTessellator& tess, in extract_verts() argument 50 for (int i = 0; i < tess.numPts(); ++i) { in extract_verts() 53 localCoordsMatrix->mapPoints(&lc, &tess.point(i), 1); in extract_verts() 55 verts << tess.point(i) << color << VertexWriter::If(localCoordsMatrix, lc) in extract_verts() 56 << tess.coverage(i); in extract_verts() 59 for (int i = 0; i < tess.numIndices(); ++i) { in extract_verts() 60 idxs[i] = tess.index(i) + firstIndex; in extract_verts() 225 GrAAConvexTessellator tess(args.fStyle, args.fStrokeWidth, in onPrepareDraws() local 228 if (!tess.tessellate(args.fViewMatrix, args.fPath)) { in onPrepareDraws() 232 int currentVertices = tess.numPts(); in onPrepareDraws() [all …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pipeline.c | 555 assert(tcs_info->tess.tcs_vertices_out == 0 || in merge_tess_info() 556 tes_info->tess.tcs_vertices_out == 0 || in merge_tess_info() 557 tcs_info->tess.tcs_vertices_out == tes_info->tess.tcs_vertices_out); in merge_tess_info() 558 tes_info->tess.tcs_vertices_out |= tcs_info->tess.tcs_vertices_out; in merge_tess_info() 560 assert(tcs_info->tess.spacing == TESS_SPACING_UNSPECIFIED || in merge_tess_info() 561 tes_info->tess.spacing == TESS_SPACING_UNSPECIFIED || in merge_tess_info() 562 tcs_info->tess.spacing == tes_info->tess.spacing); in merge_tess_info() 563 tes_info->tess.spacing |= tcs_info->tess.spacing; in merge_tess_info() 565 assert(tcs_info->tess._primitive_mode == 0 || in merge_tess_info() 566 tes_info->tess._primitive_mode == 0 || in merge_tess_info() [all …]
|
/third_party/skia/src/gpu/geometry/ |
D | GrAAConvexTessellator.cpp | 850 void GrAAConvexTessellator::Ring::init(const GrAAConvexTessellator& tess) { in init() argument 851 this->computeNormals(tess); in init() 852 this->computeBisectors(tess); in init() 864 void GrAAConvexTessellator::Ring::computeNormals(const GrAAConvexTessellator& tess) { in computeNormals() argument 868 fPts[cur].fNorm = tess.point(fPts[next].fIndex) - tess.point(fPts[cur].fIndex); in computeNormals() 870 fPts[cur].fNorm = SkPointPriv::MakeOrthog(fPts[cur].fNorm, tess.side()); in computeNormals() 874 void GrAAConvexTessellator::Ring::computeBisectors(const GrAAConvexTessellator& tess) { in computeBisectors() argument 880 SkPointPriv::MakeOrthog(fPts[cur].fNorm, (SkPointPriv::Side)-tess.side()) + in computeBisectors() 881 SkPointPriv::MakeOrthog(fPts[prev].fNorm, tess.side()); in computeBisectors() 892 bool GrAAConvexTessellator::Ring::isConvex(const GrAAConvexTessellator& tess) const { in isConvex() [all …]
|
D | GrAAConvexTessellator.h | 150 void init(const GrAAConvexTessellator& tess); 160 void draw(SkCanvas* canvas, const GrAAConvexTessellator& tess) const; 165 void computeBisectors(const GrAAConvexTessellator& tess); 167 SkDEBUGCODE(bool isConvex(const GrAAConvexTessellator& tess) const;)
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4_tcs.cpp | 85 if (nir->info.tess.tcs_vertices_out % 2) { in emit_prolog() 87 brw_imm_ud(nir->info.tess.tcs_vertices_out), in emit_prolog() 102 if (nir->info.tess.tcs_vertices_out % 2) { in emit_thread_end() 398 nir->info.tess.tcs_vertices_out <= (devinfo->ver >= 12 ? 32 : 16) && in brw_compile_tcs() 407 prog_data->instances = nir->info.tess.tcs_vertices_out; in brw_compile_tcs() 413 DIV_ROUND_UP(nir->info.tess.tcs_vertices_out, verts_per_thread); in brw_compile_tcs() 433 output_size_bytes += nir->info.tess.tcs_vertices_out * in brw_compile_tcs()
|
D | brw_shader.cpp | 1381 (enum brw_tess_partitioning) (nir->info.tess.spacing - 1); in brw_compile_tes() 1383 switch (nir->info.tess._primitive_mode) { in brw_compile_tes() 1397 if (nir->info.tess.point_mode) { in brw_compile_tes() 1399 } else if (nir->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) { in brw_compile_tes() 1404 nir->info.tess.ccw ? BRW_TESS_OUTPUT_TOPOLOGY_TRI_CW in brw_compile_tes()
|
/third_party/skia/src/gpu/v1/ |
D | PathRendererChain.cpp | 60 auto tess = sk_make_sp<TessellationPathRenderer>(); in PathRendererChain() local 61 fTessellationPathRenderer = tess.get(); in PathRendererChain() 62 fChain.push_back(std::move(tess)); in PathRendererChain()
|
/third_party/mesa3d/src/mesa/main/ |
D | draw_validate.c | 316 if (tes->info.tess.point_mode) { in _mesa_update_valid_to_render_state() 319 } else if (tes->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) { in _mesa_update_valid_to_render_state() 389 if (tes->info.tess.point_mode) in _mesa_update_valid_to_render_state() 391 else if (tes->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) in _mesa_update_valid_to_render_state()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.c | 345 v->tess.primitive_mode = info->tess._primitive_mode; in alloc_variant() 346 v->tess.tcs_vertices_out = info->tess.tcs_vertices_out; in alloc_variant() 347 v->tess.spacing = info->tess.spacing; in alloc_variant() 348 v->tess.ccw = info->tess.ccw; in alloc_variant() 349 v->tess.point_mode = info->tess.point_mode; in alloc_variant()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 1809 gl_prog->info.tess.tcs_vertices_out = 0; in link_tcs_out_layout_qualifiers() 1825 if (gl_prog->info.tess.tcs_vertices_out != 0 && in link_tcs_out_layout_qualifiers() 1826 gl_prog->info.tess.tcs_vertices_out != in link_tcs_out_layout_qualifiers() 1830 gl_prog->info.tess.tcs_vertices_out, in link_tcs_out_layout_qualifiers() 1834 gl_prog->info.tess.tcs_vertices_out = in link_tcs_out_layout_qualifiers() 1843 if (gl_prog->info.tess.tcs_vertices_out == 0) { in link_tcs_out_layout_qualifiers() 1869 gl_prog->info.tess._primitive_mode = TESS_PRIMITIVE_UNSPECIFIED; in link_tes_in_layout_qualifiers() 1870 gl_prog->info.tess.spacing = TESS_SPACING_UNSPECIFIED; in link_tes_in_layout_qualifiers() 1890 if (gl_prog->info.tess._primitive_mode != TESS_PRIMITIVE_UNSPECIFIED && in link_tes_in_layout_qualifiers() 1891 gl_prog->info.tess._primitive_mode != in link_tes_in_layout_qualifiers() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline.c | 857 assert(tcs_info->tess.tcs_vertices_out == 0 || in merge_tess_info() 858 tes_info->tess.tcs_vertices_out == 0 || in merge_tess_info() 859 tcs_info->tess.tcs_vertices_out == tes_info->tess.tcs_vertices_out); in merge_tess_info() 860 tes_info->tess.tcs_vertices_out |= tcs_info->tess.tcs_vertices_out; in merge_tess_info() 862 assert(tcs_info->tess.spacing == TESS_SPACING_UNSPECIFIED || in merge_tess_info() 863 tes_info->tess.spacing == TESS_SPACING_UNSPECIFIED || in merge_tess_info() 864 tcs_info->tess.spacing == tes_info->tess.spacing); in merge_tess_info() 865 tes_info->tess.spacing |= tcs_info->tess.spacing; in merge_tess_info() 867 assert(tcs_info->tess._primitive_mode == 0 || in merge_tess_info() 868 tes_info->tess._primitive_mode == 0 || in merge_tess_info() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_tess.c | 135 …nir_push_if(b, nir_ige(b, state->count, nir_imm_int(b, b->impl->function->shader->info.tess.tcs_ve… in start_tcs_loop() 323 if (nir->info.tess._primitive_mode != TESS_PRIMITIVE_QUADS) { in dxil_nir_fixup_tess_level_for_domain() 328 new_array_size = nir->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES ? 3 : 2; in dxil_nir_fixup_tess_level_for_domain() 331 new_array_size = nir->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES ? 1 : 0; in dxil_nir_fixup_tess_level_for_domain()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_tess_io_to_mem.c | 330 … unsigned pervertex_output_patch_size = b->shader->info.tess.tcs_vertices_out * output_vertex_size; in hs_output_lds_offset() 370 ? nir_imm_int(b, b->shader->info.tess.tcs_vertices_out) in hs_per_vertex_output_vmem_offset() 527 switch (shader->info.tess._primitive_mode) { in hs_emit_write_tess_factors() 596 if (shader->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) { in hs_emit_write_tess_factors() 600 } else if (shader->info.tess._primitive_mode == TESS_PRIMITIVE_TRIANGLES) { in hs_emit_write_tess_factors() 733 .tcs_out_patch_fits_subgroup = wave_size % shader->info.tess.tcs_vertices_out == 0, in ac_nir_lower_hs_outputs_to_mem()
|
/third_party/spirv-tools/test/opt/ |
D | interface_var_sroa_test.cpp | 265 OpEntryPoint TessellationEvaluation %tess "tess" %x %y in TEST_F() 369 OpEntryPoint TessellationControl %tess "tess" %x %y %z in TEST_F()
|
/third_party/skia/bench/ |
D | TessellateBench.cpp | 143 auto tess = PathCurveTessellator::Make(&arena, variable 145 tess->prepare(fTarget.get(), 157 auto tess = PathWedgeTessellator::Make(&arena, variable 159 tess->prepare(fTarget.get(),
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_abi.c | 99 …nir_intrinsic_set_arg_upper_bound_u32_amd(load_arg, 2048 / MAX2(b->shader->info.tess.tcs_vertices_… in lower_abi_instr() 109 return nir_imm_int(b, b->shader->info.tess.tcs_vertices_out); in lower_abi_instr() 201 unsigned out_vertices_per_patch = b->shader->info.tess.tcs_vertices_out; in lower_abi_instr()
|
D | radv_pipeline.c | 2414 if (tes->info.tess.point_mode) in radv_get_num_input_vertices() 2416 if (tes->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES) in radv_get_num_input_vertices() 3101 (info->stage == MESA_SHADER_TESS_EVAL && info->tess.point_mode) || in radv_link_shaders() 3432 num_vertices_per_prim = stages[es_stage].nir->info.tess.point_mode ? 1 in radv_determine_ngg_settings() 3433 … : stages[es_stage].nir->info.tess._primitive_mode == TESS_PRIMITIVE_ISOLINES ? 2 in radv_determine_ngg_settings() 3774 assert(tcs_info->tess.tcs_vertices_out == 0 || tes_info->tess.tcs_vertices_out == 0 || in merge_tess_info() 3775 tcs_info->tess.tcs_vertices_out == tes_info->tess.tcs_vertices_out); in merge_tess_info() 3776 tes_info->tess.tcs_vertices_out |= tcs_info->tess.tcs_vertices_out; in merge_tess_info() 3778 assert(tcs_info->tess.spacing == TESS_SPACING_UNSPECIFIED || in merge_tess_info() 3779 tes_info->tess.spacing == TESS_SPACING_UNSPECIFIED || in merge_tess_info() [all …]
|
D | radv_shader_info.c | 655 info->tes._primitive_mode = nir->info.tess._primitive_mode; in radv_nir_shader_info_pass() 656 info->tes.spacing = nir->info.tess.spacing; in radv_nir_shader_info_pass() 657 info->tes.ccw = nir->info.tess.ccw; in radv_nir_shader_info_pass() 658 info->tes.point_mode = nir->info.tess.point_mode; in radv_nir_shader_info_pass() 661 info->tcs.tcs_vertices_out = nir->info.tess.tcs_vertices_out; in radv_nir_shader_info_pass()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.c | 718 OUT_RING(ring, hs->tess.tcs_vertices_out); in setup_stateobj() 724 hs->tess.tcs_vertices_out)); in setup_stateobj() 733 hs->tess.tcs_vertices_out * vs->output_size / 4; in setup_stateobj() 741 const uint32_t patch_control_points = hs->tess.tcs_vertices_out; in setup_stateobj() 747 uint32_t prims_per_wave = wavesize / hs->tess.tcs_vertices_out; in setup_stateobj() 762 if (ds->tess.point_mode) in setup_stateobj() 764 else if (ds->tess.primitive_mode == TESS_PRIMITIVE_ISOLINES) in setup_stateobj() 766 else if (ds->tess.ccw) in setup_stateobj() 772 fd6_gl2spacing(ds->tess.spacing)) | in setup_stateobj()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 427 nir->info.tess.tcs_vertices_out; in nir_tgsi_scan_shader() 431 …info->properties[TGSI_PROPERTY_TES_PRIM_MODE] = u_tess_prim_from_shader(nir->info.tess._primitive_… in nir_tgsi_scan_shader() 439 info->properties[TGSI_PROPERTY_TES_SPACING] = (nir->info.tess.spacing + 1) % 3; in nir_tgsi_scan_shader() 440 info->properties[TGSI_PROPERTY_TES_VERTEX_ORDER_CW] = !nir->info.tess.ccw; in nir_tgsi_scan_shader() 441 info->properties[TGSI_PROPERTY_TES_POINT_MODE] = nir->info.tess.point_mode; in nir_tgsi_scan_shader()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_gather_info.c | 141 shader->info.tess.tcs_cross_invocation_inputs_read |= bitfield; in set_io_mask() 160 shader->info.tess.tcs_cross_invocation_outputs_read |= bitfield; in set_io_mask() 588 shader->info.tess.tcs_cross_invocation_inputs_read |= slot_mask; in gather_intrinsic_info() 611 shader->info.tess.tcs_cross_invocation_outputs_read |= slot_mask; in gather_intrinsic_info() 978 shader->info.tess.tcs_cross_invocation_inputs_read = 0; in nir_shader_gather_info() 979 shader->info.tess.tcs_cross_invocation_outputs_read = 0; in nir_shader_gather_info()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compiler.cpp | 981 key->hs.primitive_mode = next->current->nir->info.tess._primitive_mode; in d3d12_fill_shader_key() 982 key->hs.ccw = next->current->nir->info.tess.ccw; in d3d12_fill_shader_key() 983 key->hs.point_mode = next->current->nir->info.tess.point_mode; in d3d12_fill_shader_key() 984 key->hs.spacing = next->current->nir->info.tess.spacing; in d3d12_fill_shader_key() 994 key->ds.tcs_vertices_out = prev->current->nir->info.tess.tcs_vertices_out; in d3d12_fill_shader_key() 1157 new_nir_variant->info.tess._primitive_mode = (tess_primitive_mode)key.hs.primitive_mode; in select_shader_variant() 1158 new_nir_variant->info.tess.ccw = key.hs.ccw; in select_shader_variant() 1159 new_nir_variant->info.tess.point_mode = key.hs.point_mode; in select_shader_variant() 1160 new_nir_variant->info.tess.spacing = key.hs.spacing; in select_shader_variant() 1164 new_nir_variant->info.tess.tcs_vertices_out = key.ds.tcs_vertices_out; in select_shader_variant()
|
/third_party/mesa3d/docs/relnotes/ |
D | 18.3.3.rst | 61 - radv: Set partial_vs_wave for pipelines with just GS, not tess. 153 - radv: clean up setting partial_es_wave for distributed tess on VI
|
D | 21.1.4.rst | 110 - anv: Fix dynamic primitive topology for tess on Gfx7.x too 126 - anv: fix dynamic primitive topology for tess
|