/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTestLog.hpp | 143 void writeImage (const char* name, const char* description, qpImageCompressionMode compressionMode, qpImageFormat format, int width, int height, int stride, const void* data);
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_compiler.c | 851 /* always set stride to be used during draw */ in update_so_info() 852 zs->sinfo.so_info.stride[output->output_buffer] = so_info->stride[output->output_buffer]; in update_so_info() 877 var->data.xfb.stride = so_info->stride[output->output_buffer] * 4; in update_so_info() 944 var->data.xfb.stride = so_info->stride[output->output_buffer] * 4; in update_so_info() 1531 unsigned stride = glsl_get_explicit_stride(type); in rewrite_64bit_type() local 1532 return glsl_array_type(rewrite_64bit_type(nir, child, var), elements, stride); in rewrite_64bit_type()
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
H A D | nir_to_spirv.c | 425 uint32_t stride = glsl_get_explicit_stride(type); in get_glsl_type() local 426 if (!stride && glsl_type_is_scalar(glsl_get_array_element(type))) { in get_glsl_type() 427 stride = MAX2(glsl_get_bit_size(glsl_get_array_element(type)) / 8, 1); in get_glsl_type() 429 if (stride) in get_glsl_type() 430 spirv_builder_emit_array_stride(&ctx->builder, ret, stride); in get_glsl_type() 680 spirv_builder_emit_xfb_stride(&ctx->builder, var_id, var->data.xfb.stride); in emit_output() 1382 spirv_builder_emit_xfb_stride(&ctx->builder, var_id, so_info->so_info.stride[so_output.output_buffer] * 4); in emit_so_info() 1432 spirv_builder_emit_xfb_stride(&ctx->builder, var_id, var->data.xfb.stride); in emit_so_info() 2720 length = (buffer_size - offset) / stride in emit_get_ssbo_size() 2725 /* multiply by stride */ in emit_get_ssbo_size() [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_state.c | 933 dummy_vtxbuf.stride = 0; in update_vertex_buffers() 1563 context->vtxbuf[i].stride == Stride) in CSMT_ITEM_NO_WAIT() 1566 context->vtxbuf[i].stride = Stride; in CSMT_ITEM_NO_WAIT() 2075 nine_context_set_stream_source(device, i, src->stream[i], src->vtxbuf[i].buffer_offset, src->vtxbuf[i].stride); in nine_context_apply_stateblock() 2597 map, transfer->stride, in CSMT_ITEM_NO_WAIT_WITH_COUNTER() 3145 vtxbuf.buffer_offset, num_vertices * vtxbuf.stride); in update_vertex_buffers_sw() 3147 u_box_1d(vtxbuf.buffer_offset + offset + start_vertice * vtxbuf.stride, in update_vertex_buffers_sw() 3148 num_vertices * vtxbuf.stride, &box); in update_vertex_buffers_sw()
|
/third_party/mesa3d/include/GLES2/ |
H A D | gl2ext.h | 1592 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1593 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1595 GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1596 GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 3056 typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride); 3057 typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3061 GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); 3062 GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3281 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3282 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloa [all...] |
/third_party/openGLES/api/GLES2/ |
H A D | gl2ext.h | 1637 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1638 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1640 GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1641 GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 3165 typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride); 3166 typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3170 GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); 3171 GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3397 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3398 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloa [all...] |
/third_party/skia/third_party/externals/angle2/include/GLES2/ |
H A D | gl2ext.h | 1580 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1581 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 1583 GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); 1584 GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); 3072 typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride); 3073 typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3077 GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride); 3078 GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); 3297 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); 3298 typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloa [all...] |
/kernel/linux/linux-5.10/drivers/dma/xilinx/ |
H A D | xilinx_dma.c | 226 * @stride: Number of bytes between the first 236 u32 stride; member 1418 last->hw.stride); in xilinx_vdma_start_transfer() 2030 hw->stride = (xt->sgl[0].icg + xt->sgl[0].size) << in xilinx_vdma_dma_prep_interleaved() 2032 hw->stride |= chan->config.frm_dly << in xilinx_vdma_dma_prep_interleaved()
|
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
H A D | coda-bit.c | 1069 u32 stride; in coda_start_encoding() local 1337 stride = q_data_src->bytesperline; in coda_start_encoding() 1341 stride = 0; in coda_start_encoding() 1344 coda_write(dev, stride, CODA_CMD_SET_FRAME_BUF_STRIDE); in coda_start_encoding()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 1050 iov->stride * vfid) >> 8); in bnx2x_vf_bus() 1058 return (dev->devfn + iov->offset + iov->stride * vfid) & 0xff; in bnx2x_vf_devfn() 1132 pci_read_config_word(dev, pos + PCI_SRIOV_VF_STRIDE, &iov->stride); in bnx2x_sriov_pci_cfg_info() 1160 "IOV info[%d]: first vf %d, nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n", in bnx2x_sriov_info() 1163 iov->initial, iov->nr_virtfn, iov->offset, iov->stride, iov->pgsz); in bnx2x_sriov_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | dc.c | 407 value = window->stride[1] << 16 | window->stride[0]; in tegra_dc_setup_window() 410 tegra_plane_writel(plane, window->stride[0], DC_WIN_LINE_STRIDE); in tegra_dc_setup_window() 745 * Tegra uses a shared stride for UV planes. Framebuffers are in tegra_plane_atomic_update() 750 window.stride[i] = fb->pitches[i]; in tegra_plane_atomic_update()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 1050 iov->stride * vfid) >> 8); in bnx2x_vf_bus() 1058 return (dev->devfn + iov->offset + iov->stride * vfid) & 0xff; in bnx2x_vf_devfn() 1132 pci_read_config_word(dev, pos + PCI_SRIOV_VF_STRIDE, &iov->stride); in bnx2x_sriov_pci_cfg_info() 1160 "IOV info[%d]: first vf %d, nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n", in bnx2x_sriov_info() 1163 iov->initial, iov->nr_virtfn, iov->offset, iov->stride, iov->pgsz); in bnx2x_sriov_info()
|
/kernel/linux/linux-6.6/drivers/dma/xilinx/ |
H A D | xilinx_dma.c | 229 * @stride: Number of bytes between the first 239 u32 stride; member 1446 last->hw.stride); in xilinx_vdma_start_transfer() 2074 hw->stride = (xt->sgl[0].icg + xt->sgl[0].size) << in xilinx_vdma_dma_prep_interleaved() 2076 hw->stride |= chan->config.frm_dly << in xilinx_vdma_dma_prep_interleaved()
|
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/ |
H A D | coda-bit.c | 1071 u32 stride; in coda_start_encoding() local 1339 stride = q_data_src->bytesperline; in coda_start_encoding() 1343 stride = 0; in coda_start_encoding() 1346 coda_write(dev, stride, CODA_CMD_SET_FRAME_BUF_STRIDE); in coda_start_encoding()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | dc.c | 418 value = window->stride[1] << 16 | window->stride[0]; in tegra_dc_setup_window() 421 tegra_plane_writel(plane, window->stride[0], DC_WIN_LINE_STRIDE); in tegra_dc_setup_window() 767 * Tegra uses a shared stride for UV planes. Framebuffers are in tegra_plane_atomic_update() 772 window.stride[i] = fb->pitches[i]; in tegra_plane_atomic_update()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | hpeldsp_msa.c | 33 #define PCKEV_ST_SB4(in0, in1, in2, in3, in4, in5, in6, in7, pdst, stride) \ 40 ST_SB4(tmp0_m, tmp1_m, tmp2_m, tmp3_m, pdst_m, stride); \ 44 pdst, stride) \ 52 ST_D4(tmp0_m, tmp1_m, 0, 1, 0, 1, pdst_m, stride); \
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | vp9itxfm_16bpp_neon.S | 349 @ void itxfm_add(uint8_t *dst, ptrdiff_t stride, int16_t *block, int eob); 622 @ r1 = dst stride 1069 @ r1 = dst stride 1557 @ Double stride of the input, since we only read every other line 1670 @ r1 = dst stride
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_surface.c | 1204 uint32_t stride, length, *vbuf; in nvc0_blit_3d() local 1317 stride = (3 + 2) * 4; in nvc0_blit_3d() 1318 length = stride * 3 * info->dst.box.depth; in nvc0_blit_3d() 1333 PUSH_DATA (push, NVC0_3D_VERTEX_ARRAY_FETCH_ENABLE | stride << in nvc0_blit_3d()
|
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
H A D | parser_bind_test.cc | 1061 EXPECT_EQ(5u, info1.stride); in TEST_F() 1066 EXPECT_EQ(10u, info2.stride); in TEST_F() 1101 EXPECT_EQ(1u, info1.stride); in TEST_F() 1106 EXPECT_EQ(2u, info2.stride); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | entry_points.cpp | 933 GL_APICALL void GL_APIENTRY glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr) in glVertexAttribPointer() argument 935 return gl::VertexAttribPointer(index, size, type, normalized, stride, ptr); in glVertexAttribPointer() 1210 GL_APICALL void GL_APIENTRY glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) in glVertexAttribIPointer() argument 1212 return gl::VertexAttribIPointer(index, size, type, stride, pointer); in glVertexAttribIPointer()
|
H A D | libGLESv3.cpp | 1810 void GL_APIENTRY VertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) in VertexAttribIPointer() argument 1813 index, size, type, stride, pointer); in VertexAttribIPointer() 1820 if(size < 1 || size > 4 || stride < 0) in VertexAttribIPointer() 1850 context->setVertexAttribState(index, context->getArrayBuffer(), size, type, false, true, stride, pointer); in VertexAttribIPointer()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_c.cpp | 2209 spvc_result spvc_compiler_type_struct_member_array_stride(spvc_compiler compiler, spvc_type type, unsigned index, unsigned *stride) in spvc_compiler_type_struct_member_array_stride() argument 2213 *stride = compiler->compiler->type_struct_member_array_stride(*static_cast<const SPIRType *>(type), index); in spvc_compiler_type_struct_member_array_stride() 2219 spvc_result spvc_compiler_type_struct_member_matrix_stride(spvc_compiler compiler, spvc_type type, unsigned index, unsigned *stride) in spvc_compiler_type_struct_member_matrix_stride() argument 2223 *stride = compiler->compiler->type_struct_member_matrix_stride(*static_cast<const SPIRType *>(type), index); in spvc_compiler_type_struct_member_matrix_stride()
|
/third_party/skia/third_party/skcms/src/ |
H A D | Transform_inl.h | 727 for (int i = dim-1, stride = 1; i >= 0; i--) { in clut() 734 // Notice how we fold in the accumulated stride across previous dimensions here. in clut() 735 index[i+0] = lo * stride; in clut() 736 index[i+4] = hi * stride; in clut() 737 stride *= grid_points[i]; in clut()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cEnhancedLayoutsTests.cpp | 428 // Very indescoverable defect, the column stride should be calculated by rows, such as mat2x3, which is 2, columns 3 rows, its column stride should be 3 * sizeof(float) in GetGLSLConstructor() 654 /** Calculate stride for the type according to std140 rules 664 GLuint stride = alignment * n_columns; in CalculateStd140Stride() local 667 stride *= n_array_elements; in CalculateStd140Stride() 670 return stride; in CalculateStd140Stride() 3624 * @param stride Stride 3628 GLsizei stride, const GLvoid* pointer) in Attribute() 3632 AttribPointer(gl, index, type, n_array_elements, normalized, stride, pointer); in Attribute() 3653 * @param stride Strid 3627 Attribute(GLuint index, const Type& type, GLuint n_array_elements, GLboolean normalized, GLsizei stride, const GLvoid* pointer) Attribute() argument 3656 AttribPointer(const Functions& gl, GLuint index, const Type& type, GLuint n_array_elements, GLboolean normalized, GLsizei stride, const GLvoid* pointer) AttribPointer() argument 5357 GLuint stride = 0; calculateStride() local 6745 GLint stride = variable.m_expected_stride_of_element; test() local 10614 const GLuint stride = calculateStride(*vs_uni_block); test() local 12378 const GLuint stride = calculateStride(*vs_buf_Block); test() local 22181 GLint stride = 0; test() local 23440 GLint stride = 0; test() local 26341 GLint stride = 0; test() local [all...] |
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
H A D | vulkan_funcs.hpp | 1938 VULKAN_HPP_NAMESPACE::DeviceSize stride, 1949 static_cast<VkDeviceSize>( stride ), 1961 VULKAN_HPP_NAMESPACE::DeviceSize stride, in getQueryPoolResults() 1972 static_cast<VkDeviceSize>( stride ), in getQueryPoolResults() 1985 VULKAN_HPP_NAMESPACE::DeviceSize stride, in getQueryPoolResults() 1998 static_cast<VkDeviceSize>( stride ), in getQueryPoolResults() 2011 VULKAN_HPP_NAMESPACE::DeviceSize stride, in getQueryPoolResult() 2023 static_cast<VkDeviceSize>( stride ), in getQueryPoolResult() 4752 uint32_t stride, 4757 m_commandBuffer, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ), drawCount, stride ); 1957 getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy<T> const & data, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const getQueryPoolResults() argument 1981 getQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const getQueryPoolResults() argument 2008 getQueryPoolResult( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VULKAN_HPP_NAMESPACE::DeviceSize stride, VULKAN_HPP_NAMESPACE::QueryResultFlags flags, Dispatch const & d ) const getQueryPoolResult() argument 13904 writeAccelerationStructuresPropertiesKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, ArrayProxy<T> const & data, size_t stride, Dispatch const & d ) const writeAccelerationStructuresPropertiesKHR() argument 13926 writeAccelerationStructuresPropertiesKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t dataSize, size_t stride, Dispatch const & d ) const writeAccelerationStructuresPropertiesKHR() argument 13950 writeAccelerationStructuresPropertyKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, VULKAN_HPP_NAMESPACE::QueryType queryType, size_t stride, Dispatch const & d ) const writeAccelerationStructuresPropertyKHR() argument [all...] |