Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2codecdevice.c75 clear_topology (struct media_v2_topology *topology) in clear_topology() argument
77 g_free ((gpointer) (gsize) topology->ptr_entities); in clear_topology()
78 g_free ((gpointer) (gsize) topology->ptr_interfaces); in clear_topology()
79 g_free ((gpointer) (gsize) topology->ptr_pads); in clear_topology()
80 g_free ((gpointer) (gsize) topology->ptr_links); in clear_topology()
81 memset (topology, 0, sizeof (struct media_v2_topology)); in clear_topology()
85 get_topology (gint fd, struct media_v2_topology *topology) in get_topology() argument
91 memset (topology, 0, sizeof (struct media_v2_topology)); in get_topology()
93 ret = ioctl (fd, MEDIA_IOC_G_TOPOLOGY, topology); in get_topology()
99 version = topology->topology_version; in get_topology()
[all …]
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c1206 const struct drm_i915_query_topology_info *topology, in update_from_single_slice_topology() argument
1220 assert(topology->max_slices == 1); in update_from_single_slice_topology()
1221 assert(topology->max_subslices > 0); in update_from_single_slice_topology()
1222 assert(topology->max_eus_per_subslice > 0); in update_from_single_slice_topology()
1233 for (uint32_t ss_idx = 0; ss_idx < topology->max_subslices; ss_idx++) { in update_from_single_slice_topology()
1242 (topology->data[topology->subslice_offset + ss_idx / 8] >> in update_from_single_slice_topology()
1265 (topology->data[topology->eu_offset + in update_from_single_slice_topology()
1266 ss_idx * topology->eu_stride + in update_from_single_slice_topology()
1285 const struct drm_i915_query_topology_info *topology) in update_from_topology() argument
1289 assert(topology->max_slices > 0); in update_from_topology()
[all …]
/third_party/alsa-utils/topology/
Dalsatplg.rst23 alsatplg (ALSA Topology compiler) is a program to compile topology
26 Current audio drivers typically hard code topology information
34 The ALSA topology project removes the need for re-writing or
36 Drivers have no hard coded topology data meaning a single driver
37 can be used on different devices by updating the topology data
40 to include an updated topology file describing the update.
57 source binary topology file for the decode
84 The master topology files for each supported sound card are in
85 ``/usr/share/alsa/topology``.
88 ``/usr/share/alsa/topology/broadwell/broadwell.conf``, this file
[all …]
DMakefile.am11 alsatplg_SOURCES = topology.c pre-processor.c pre-process-class.c pre-process-object.c \
14 noinst_HEADERS = topology.h pre-processor.h
/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp25 uint32_t ComputePrimitiveCount(VkPrimitiveTopology topology, uint32_t vertexCount) in ComputePrimitiveCount() argument
27 switch(topology) in ComputePrimitiveCount()
42 UNSUPPORTED("VkPrimitiveTopology %d", int(topology)); in ComputePrimitiveCount()
50 VkPrimitiveTopology topology, in ProcessPrimitiveRestart() argument
64 uint32_t primitiveCount = ComputePrimitiveCount(topology, vertexCount); in ProcessPrimitiveRestart()
85 uint32_t primitiveCount = ComputePrimitiveCount(topology, vertexCount); in ProcessPrimitiveRestart()
108 void IndexBuffer::getIndexBuffers(VkPrimitiveTopology topology, uint32_t count, uint32_t first, boo… in getIndexBuffers() argument
119 ProcessPrimitiveRestart(static_cast<uint16_t *>(indexBuffer), topology, count, indexBuffers); in getIndexBuffers()
122 ProcessPrimitiveRestart(static_cast<uint32_t *>(indexBuffer), topology, count, indexBuffers); in getIndexBuffers()
130 indexBuffers->push_back({ ComputePrimitiveCount(topology, count), indexBuffer }); in getIndexBuffers()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dgeometry.txt26 <<drawing-primitive-topologies, primitive topology>> if tessellation is
31 pipeline topology of ename:VK_PRIMITIVE_TOPOLOGY_POINT_LIST, or with a
34 <<drawing-point-lists, point list topology>> or
37 pipeline topology of ename:VK_PRIMITIVE_TOPOLOGY_LINE_LIST or
41 <<drawing-line-lists, line list topology>> or <<drawing-line-strips,
42 line strip topology>>, or by <<tessellation-isoline-tessellation,
45 when tessellation is inactive, with a pipeline topology of
49 <<drawing-line-lists-with-adjacency, line list with adjacency topology>>
51 topology>>.
53 pipeline topology of ename:VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,
[all …]
Dgeometry.adoc26 <<drawing-primitive-topologies, primitive topology>> if tessellation is
31 pipeline topology of ename:VK_PRIMITIVE_TOPOLOGY_POINT_LIST, or with a
34 <<drawing-point-lists, point list topology>> or
37 pipeline topology of ename:VK_PRIMITIVE_TOPOLOGY_LINE_LIST or
41 <<drawing-line-lists, line list topology>> or <<drawing-line-strips,
42 line strip topology>>, or by <<tessellation-isoline-tessellation,
45 when tessellation is inactive, with a pipeline topology of
49 <<drawing-line-lists-with-adjacency, line list with adjacency topology>>
51 topology>>.
53 pipeline topology of ename:VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp95 virtual void createBufferData (VkPrimitiveTopology topology,
121 virtual void createBufferData (VkPrimitiveTopology topology,
145 virtual void createBufferData (VkPrimitiveTopology topology,
405 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkI… in createBufferData() argument
423 switch (topology) in createBufferData()
459 switch (topology) in createBufferData()
820 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIn… in createBufferData() argument
838 switch (topology) in createBufferData()
869 switch (topology) in createBufferData()
1561 …const rr::PrimitiveType topology = m_primitiveTopology == VK_PRIMITIVE_TOPOLOGY_PATCH_LIST ? rr::… in verifyImage() local
[all …]
DvktPipelineMultisampleTests.cpp162 VkPrimitiveTopology topology,
195 VkPrimitiveTopology topology,
227 VkPrimitiveTopology topology,
260 VkPrimitiveTopology topology,
287 VkPrimitiveTopology topology,
315 VkPrimitiveTopology topology,
343 VkPrimitiveTopology topology,
373 VkPrimitiveTopology topology,
451 const VkPrimitiveTopology topology,
582 VkPrimitiveTopology topology,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp95 virtual void createBufferData (VkPrimitiveTopology topology,
121 virtual void createBufferData (VkPrimitiveTopology topology,
145 virtual void createBufferData (VkPrimitiveTopology topology,
405 void PrimitiveTopologyTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkI… in createBufferData() argument
423 switch (topology) in createBufferData()
459 switch (topology) in createBufferData()
820 void PrimitiveRestartTest::createBufferData (VkPrimitiveTopology topology, int primitiveCount, VkIn… in createBufferData() argument
838 switch (topology) in createBufferData()
869 switch (topology) in createBufferData()
1561 …const rr::PrimitiveType topology = m_primitiveTopology == VK_PRIMITIVE_TOPOLOGY_PATCH_LIST ? rr::… in verifyImage() local
[all …]
DvktPipelineMultisampleTests.cpp162 VkPrimitiveTopology topology,
195 VkPrimitiveTopology topology,
227 VkPrimitiveTopology topology,
260 VkPrimitiveTopology topology,
287 VkPrimitiveTopology topology,
315 VkPrimitiveTopology topology,
343 VkPrimitiveTopology topology,
373 VkPrimitiveTopology topology,
451 const VkPrimitiveTopology topology,
582 VkPrimitiveTopology topology,
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_barycentric/
DvktFragmentShadingBarycentricTests.cpp89 VkPrimitiveTopology topology; member
221 const VkPrimitiveTopology topology, in makeGraphicsPipeline() argument
320topology, // const VkPrimitiveTopology topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LI… in makeGraphicsPipeline()
379 switch (m_testParams.topology) in generateVertexBuffer()
654 …if (m_testParams.provokingVertexLast && m_testParams.topology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_ST… in getProvokingVertexLast()
679 const VkPrimitiveTopology topology = m_testParams.topology; in iterate() local
704 … *pipelineLayout, *renderPass, *vertModule, *fragModule, width, height, topology, VK_SAMPLE_COUNT_… in iterate()
795 switch (m_testParams.topology) in generateVertexBuffer()
1082 … dynamicStateTopology ? primitiveTopologyCastToList(m_testParams.topology) : m_testParams.topology; in iterate()
1142 vkd.cmdSetPrimitiveTopology(*commandBuffer, m_testParams.topology); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_barycentric/
DvktFragmentShadingBarycentricTests.cpp89 VkPrimitiveTopology topology; member
221 const VkPrimitiveTopology topology, in makeGraphicsPipeline() argument
320topology, // const VkPrimitiveTopology topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LI… in makeGraphicsPipeline()
379 switch (m_testParams.topology) in generateVertexBuffer()
654 …if (m_testParams.provokingVertexLast && m_testParams.topology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_ST… in getProvokingVertexLast()
679 const VkPrimitiveTopology topology = m_testParams.topology; in iterate() local
704 … *pipelineLayout, *renderPass, *vertModule, *fragModule, width, height, topology, VK_SAMPLE_COUNT_… in iterate()
795 switch (m_testParams.topology) in generateVertexBuffer()
1082 … dynamicStateTopology ? primitiveTopologyCastToList(m_testParams.topology) : m_testParams.topology; in iterate()
1142 vkd.cmdSetPrimitiveTopology(*commandBuffer, m_testParams.topology); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp118 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float … in genVertices() argument
129 switch (topology) in genVertices()
396 void initPrograms (SourceCollections& programCollection, const VkPrimitiveTopology topology) in initPrograms() argument
398 const float pointSize = (topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST ? 1.0f : 0.0f); in initPrograms()
414 tcu::TestStatus testPrimitivesInside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesInside() argument
418 switch (topology) in testPrimitivesInside()
473 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesInside()
476 DrawCallData drawCallData (topology, vertices); in testPrimitivesInside()
492 tcu::TestStatus testPrimitivesOutside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesOutside() argument
494 switch (topology) in testPrimitivesOutside()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/
DvktClippingTests.cpp118 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float … in genVertices() argument
129 switch (topology) in genVertices()
396 void initPrograms (SourceCollections& programCollection, const VkPrimitiveTopology topology) in initPrograms() argument
398 const float pointSize = (topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST ? 1.0f : 0.0f); in initPrograms()
414 tcu::TestStatus testPrimitivesInside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesInside() argument
418 switch (topology) in testPrimitivesInside()
473 …const std::vector<Vec4> vertices = genVertices(topology, Vec4(0.0f, 0.0f, cases[caseNdx].zPos, … in testPrimitivesInside()
476 DrawCallData drawCallData (topology, vertices); in testPrimitivesInside()
492 tcu::TestStatus testPrimitivesOutside (Context& context, const VkPrimitiveTopology topology) in testPrimitivesOutside() argument
494 switch (topology) in testPrimitivesOutside()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawIndirectTest.cpp320 …RTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.groupParams, testSpec.topology) in IndirectDraw()
1213 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1216 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1221 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1224 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1229 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1232 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1254 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1257 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1262 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
[all …]
DvktDrawMultipleClearsWithinRenderPass.cpp128 VkPrimitiveTopology topology; member
173 Topology topology; member
226 const auto& vertexData = verticesByTopology[(size_t)m_params.topology]; in MultipleClearsTest()
363 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(vertexData.topology)); in MultipleClearsTest()
437 const auto& vertexData = verticesByTopology[(size_t)m_params.topology]; in drawCommands()
824 for(const auto &topology : topologiesToTest) in init() local
827 if (m_groupParams->useSecondaryCmdBuffer && (topology != Topology::TRIANGLE_STRIP)) in init()
830 …const string testNameSuffix = formatSuffix.str() + verticesByTopology[(deUint32)topology].testName… in init()
836 topology, // Topology topology; in init()
857 topology, // Topology topology; in init()
[all …]
DvktBasicDrawTests.cpp107 vk::VkPrimitiveTopology topology; member
114 : topology (top) in DrawParamsBase()
262 …cess& reference, const tcu::ConstPixelBufferAccess& result, const vk::VkPrimitiveTopology topology) in imageCompare() argument
264 if (topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in imageCompare()
453 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology)); in initPipeline()
594 … rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage()
683 if (m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY || in checkSupport()
684 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY || in checkSupport()
685 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY || in checkSupport()
686 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY) in checkSupport()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawIndirectTest.cpp320 …RTYPE_VERTEX], testSpec.shaders[glu::SHADERTYPE_FRAGMENT], testSpec.groupParams, testSpec.topology) in IndirectDraw()
1213 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1216 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1221 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1224 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1229 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1232 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1254 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
1257 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP; in init()
1262 testSpec.topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST; in init()
[all …]
DvktDrawMultipleClearsWithinRenderPass.cpp128 VkPrimitiveTopology topology; member
173 Topology topology; member
226 const auto& vertexData = verticesByTopology[(size_t)m_params.topology]; in MultipleClearsTest()
363 pipelineCreateInfo.addState (PipelineCreateInfo::InputAssemblerState(vertexData.topology)); in MultipleClearsTest()
437 const auto& vertexData = verticesByTopology[(size_t)m_params.topology]; in drawCommands()
824 for(const auto &topology : topologiesToTest) in init() local
827 if (m_groupParams->useSecondaryCmdBuffer && (topology != Topology::TRIANGLE_STRIP)) in init()
830 …const string testNameSuffix = formatSuffix.str() + verticesByTopology[(deUint32)topology].testName… in init()
836 topology, // Topology topology; in init()
857 topology, // Topology topology; in init()
[all …]
DvktBasicDrawTests.cpp107 vk::VkPrimitiveTopology topology; member
114 : topology (top) in DrawParamsBase()
262 …cess& reference, const tcu::ConstPixelBufferAccess& result, const vk::VkPrimitiveTopology topology) in imageCompare() argument
264 if (topology == vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST) in imageCompare()
453 pipelineCreateInfo.addState(PipelineCreateInfo::InputAssemblerState(m_data.topology)); in initPipeline()
594 … rr::PrimitiveList(mapVkPrimitiveTopology(m_data.topology), (deUint32)vertices.size(), 0))); in generateRefImage()
683 if (m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY || in checkSupport()
684 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY || in checkSupport()
685 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY || in checkSupport()
686 m_data.topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY) in checkSupport()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Ddraw_vertex_binding.adoc28 must: be of the same <<drawing-primitive-topology-class, topology
30 slink:VkPipelineInputAssemblyStateCreateInfo::pname:topology state
40 <<drawing-primitive-topology-class, topology class>> as the pipeline
41 slink:VkPipelineInputAssemblyStateCreateInfo::pname:topology state
/third_party/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp114 D3D12_PRIMITIVE_TOPOLOGY topology = D3D_PRIMITIVE_TOPOLOGY_UNDEFINED; in set_primitive_topology() local
117 topology = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; in set_primitive_topology()
120 topology = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP; in set_primitive_topology()
123 topology = D3D_PRIMITIVE_TOPOLOGY_POINTLIST; in set_primitive_topology()
126 topology = D3D_PRIMITIVE_TOPOLOGY_LINELIST; in set_primitive_topology()
129 topology = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP; in set_primitive_topology()
136 gpu->currentCommandList()->setPrimitiveTopology(topology); in set_primitive_topology()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir.h48 unsigned topology);
52 unsigned topology);
54 unsigned topology);
/third_party/alsa-lib/utils/
Dalsa.m438 AC_ARG_ENABLE(alsa-topology,
39 AS_HELP_STRING([--enable-alsatopology], [Force to use the Alsa topology library]),
132 #include <alsa/topology.h>
190 dnl add the alsa topology library; must be at the end
191 AC_MSG_CHECKING(for ALSA topology LDFLAGS)

12345678910>>...16