/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_push.c | 279 data += (ptrdiff_t)(info->index_size ? draw->index_bias : 0) * vb->stride; in nv50_push_vbo() 281 ctx.translate->set_buffer(ctx.translate, i, data, vb->stride, ~0); in nv50_push_vbo() 306 vert_count /= targ->stride; in nv50_push_vbo()
|
/third_party/mesa3d/src/gbm/main/ |
H A D | gbm.c | 170 /** Get the stride of the buffer object 176 * \return The stride of the allocated buffer object in bytes 184 /** Get the stride for the given plane 187 * \param plane for which you want the stride 415 * according to the width, height, stride and format of the buffer object. 605 * \param stride Ptr for returned stride in bytes of the mapped region 618 uint32_t flags, uint32_t *stride, void **map_data) in gbm_bo_map() 620 if (!bo || width == 0 || height == 0 || !stride || !map_data) { in gbm_bo_map() 626 flags, stride, map_dat in gbm_bo_map() 615 gbm_bo_map(struct gbm_bo *bo, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t flags, uint32_t *stride, void **map_data) gbm_bo_map() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationUtil.hpp | 75 GraphicsPipelineBuilder& setVertexInputSingleAttribute (const vk::VkFormat vertexFormat, const deUint32 stride); 413 //! 'offset' is the offset of first object in memory, and 'stride' is the distance between consecutive objects. 415 std::vector<T> readInterleavedData (const int count, const void* memory, const int offset, const int stride) in readInterleavedData() argument 423 pData += stride; in readInterleavedData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
H A D | mtl_state_cache.h | 142 return stepFunction == rhs.stepFunction && stepRate == rhs.stepRate && stride == rhs.stride; in operator ==() 147 uint32_t stride; member
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationUtil.hpp | 75 GraphicsPipelineBuilder& setVertexInputSingleAttribute (const vk::VkFormat vertexFormat, const deUint32 stride); 414 //! 'offset' is the offset of first object in memory, and 'stride' is the distance between consecutive objects. 416 std::vector<T> readInterleavedData (const int count, const void* memory, const int offset, const int stride) in readInterleavedData() argument 424 pData += stride; in readInterleavedData()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pTextureUploadTests.cpp | 219 int stride = deAlign32(pixelSize*m_texSize, m_alignment); in init() local 221 m_texData.resize(stride*m_texSize); in init() 223 tcu::PixelBufferAccess access (texFmt, m_texSize, m_texSize, 1, stride, 0, &m_texData[0]); in init()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 1786 * Set the boot block stride size. in nand_boot_set_geometry() 1796 * Set the search area stride exponent. in nand_boot_set_geometry() 1814 unsigned int stride; in mx23_check_transcription_stamp() local 1830 for (stride = 0; stride < search_area_size_in_strides; stride++) { in mx23_check_transcription_stamp() 1832 page = stride * rom_geo->stride_size_in_pages; in mx23_check_transcription_stamp() 1874 unsigned int stride; in mx23_write_transcription_stamp() local 1912 for (stride = 0; stride < search_area_size_in_stride in mx23_write_transcription_stamp() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | wr.c | 65 size_t stride; in memcpy_send_wqe() local 71 stride = !n ? ALIGN(copysz, 16) : copysz; in memcpy_send_wqe() 72 *seg += stride; in memcpy_send_wqe() 73 *wqe_sz += stride >> 4; in memcpy_send_wqe() 119 size_t stride; in set_eth_seg() local 132 stride = ALIGN(sizeof(struct mlx5_wqe_eth_seg) - in set_eth_seg() 134 *size += stride / 16; in set_eth_seg() 135 *seg += stride; in set_eth_seg() 722 data_sentry->stride = cpu_to_be16(block_size); in set_sig_data_segment() 727 prot_sentry->stride in set_sig_data_segment() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | compaction.c | 557 unsigned int stride, in isolate_freepages_block() 569 stride = 1; in isolate_freepages_block() 574 for (; blockpfn < end_pfn; blockpfn += stride, cursor += stride) { in isolate_freepages_block() 1468 unsigned int stride; in isolate_freepages() local 1491 stride = cc->mode == MIGRATE_ASYNC ? COMPACT_CLUSTER_MAX : 1; in isolate_freepages() 1526 block_end_pfn, freelist, stride, false); in isolate_freepages() 1551 /* Adjust stride depending on isolation */ in isolate_freepages() 1553 stride = 1; in isolate_freepages() 1556 stride in isolate_freepages() 553 isolate_freepages_block(struct compact_control *cc, unsigned long *start_pfn, unsigned long end_pfn, struct list_head *freelist, unsigned int stride, bool strict) isolate_freepages_block() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 2008 * Set the boot block stride size. in nand_boot_set_geometry() 2018 * Set the search area stride exponent. in nand_boot_set_geometry() 2036 unsigned int stride; in mx23_check_transcription_stamp() local 2052 for (stride = 0; stride < search_area_size_in_strides; stride++) { in mx23_check_transcription_stamp() 2054 page = stride * rom_geo->stride_size_in_pages; in mx23_check_transcription_stamp() 2096 unsigned int stride; in mx23_write_transcription_stamp() local 2134 for (stride = 0; stride < search_area_size_in_stride in mx23_write_transcription_stamp() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 1234 u32 width, height, stride, fourcc, val; in dw100_hw_set_source() local 1241 stride = q_data->pix_fmt.plane_fmt[0].bytesperline; in dw100_hw_set_source() 1247 addr_uv = addr_y + (stride * height); in dw100_hw_set_source() 1250 "Set HW source registers for %ux%u - stride %u, pixfmt: %p4cc, dma:%pad\n", in dw100_hw_set_source() 1251 width, height, stride, &fourcc, &addr_y); in dw100_hw_set_source() 1279 dw100_write(dw_dev, DW100_SRC_IMG_STRIDE, stride); in dw100_hw_set_source() 1291 u32 width, height, stride, fourcc, val, size_y, size_uv; in dw100_hw_set_destination() local 1297 stride = q_data->pix_fmt.plane_fmt[0].bytesperline; in dw100_hw_set_destination() 1307 addr_uv = addr_y + ALIGN(stride * height, 16); in dw100_hw_set_destination() 1314 "Set HW source registers for %ux%u - stride in dw100_hw_set_destination() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | compaction.c | 588 unsigned int stride, in isolate_freepages_block() 600 stride = 1; in isolate_freepages_block() 605 for (; blockpfn < end_pfn; blockpfn += stride, page += stride) { in isolate_freepages_block() 1647 unsigned int stride; in isolate_freepages() local 1670 stride = cc->mode == MIGRATE_ASYNC ? COMPACT_CLUSTER_MAX : 1; in isolate_freepages() 1712 block_end_pfn, freelist, stride, false); in isolate_freepages() 1738 /* Adjust stride depending on isolation */ in isolate_freepages() 1740 stride = 1; in isolate_freepages() 1743 stride in isolate_freepages() 584 isolate_freepages_block(struct compact_control *cc, unsigned long *start_pfn, unsigned long end_pfn, struct list_head *freelist, unsigned int stride, bool strict) isolate_freepages_block() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libvpxenc.c | 1577 int *stride = rawimg_alpha->stride; in realloc_alpha_uv() local 1588 planes[VPX_PLANE_U] = av_malloc_array(stride[VPX_PLANE_U], height); in realloc_alpha_uv() 1589 planes[VPX_PLANE_V] = av_malloc_array(stride[VPX_PLANE_V], height); in realloc_alpha_uv() 1593 memset(planes[VPX_PLANE_U], 0x80, stride[VPX_PLANE_U] * height); in realloc_alpha_uv() 1594 memset(planes[VPX_PLANE_V], 0x80, stride[VPX_PLANE_V] * height); in realloc_alpha_uv() 1629 rawimg->stride[VPX_PLANE_Y] = frame->linesize[0]; in vpx_encode() 1630 rawimg->stride[VPX_PLANE_U] = frame->linesize[1]; in vpx_encode() 1631 rawimg->stride[VPX_PLANE_V] = frame->linesize[2]; in vpx_encode() 1638 rawimg_alpha->stride[VPX_PLANE_ in vpx_encode() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 691 transfer->stride, /* dstRowStride, bytes */ in make_texture() 703 transfer->stride, /* dstRowStride, bytes */ in make_texture() 1043 ubyte *dest = stmap + spanY * pt->stride; in draw_stencil_pixels() 1050 uint *dest = (uint *) (stmap + spanY * pt->stride); in draw_stencil_pixels() 1058 uint *dest = (uint *) (stmap + spanY * pt->stride); in draw_stencil_pixels() 1068 uint *dest = (uint *) (stmap + spanY * pt->stride); in draw_stencil_pixels() 1076 uint *dest = (uint *) (stmap + spanY * pt->stride); in draw_stencil_pixels() 1086 uint *dest = (uint *) (stmap + spanY * pt->stride); in draw_stencil_pixels() 1096 uint *dest = (uint *) (stmap + spanY * pt->stride); in draw_stencil_pixels() 1485 dst = drawMap + y * ptDraw->stride; in copy_stencil_pixels() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_command_buffer.c | 994 uint32_t stride) in vn_CmdDrawIndirect() 997 stride); in vn_CmdDrawIndirect() 1008 uint32_t stride) in vn_CmdDrawIndexedIndirect() 1011 drawCount, stride); in vn_CmdDrawIndexedIndirect() 1024 uint32_t stride) in vn_CmdDrawIndirectCount() 1027 countBuffer, countBufferOffset, maxDrawCount, stride); in vn_CmdDrawIndirectCount() 1040 uint32_t stride) in vn_CmdDrawIndexedIndirectCount() 1044 stride); in vn_CmdDrawIndexedIndirectCount() 1423 VkDeviceSize stride, in vn_CmdCopyQueryPoolResults() 1427 firstQuery, queryCount, dstBuffer, dstOffset, stride, in vn_CmdCopyQueryPoolResults() 990 vn_CmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) vn_CmdDrawIndirect() argument 1004 vn_CmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) vn_CmdDrawIndexedIndirect() argument 1018 vn_CmdDrawIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) vn_CmdDrawIndirectCount() argument 1034 vn_CmdDrawIndexedIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) vn_CmdDrawIndexedIndirectCount() argument 1417 vn_CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) vn_CmdCopyQueryPoolResults() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_context.c | 1799 unsigned stride = transfer->stride; in trace_context_transfer_unmap() local 1818 stride, in trace_context_transfer_unmap() 1822 trace_dump_arg(uint, stride); in trace_context_transfer_unmap() 1841 stride, in trace_context_transfer_unmap() 1845 trace_dump_arg(uint, stride); in trace_context_transfer_unmap() 1898 unsigned stride, in trace_context_texture_subdata() 1916 stride, in trace_context_texture_subdata() 1920 trace_dump_arg(uint, stride); in trace_context_texture_subdata() 1926 data, stride, layer_strid in trace_context_texture_subdata() 1892 trace_context_texture_subdata(struct pipe_context *_context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) trace_context_texture_subdata() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcUniformBlockCase.cpp | 460 int stride = getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140Layout() local 463 entry.matrixStride = stride; in computeStd140Layout() 466 curOffset += numVecs * stride; in computeStd140Layout() 487 int stride = getDataTypeArrayStride(elemBasicType); in computeStd140Layout() local 494 entry.arrayStride = stride; in computeStd140Layout() 497 curOffset += stride * type.getArraySize(); in computeStd140Layout() 510 int stride = getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140Layout() local 518 entry.arrayStride = stride * numVecs; in computeStd140Layout() 519 entry.matrixStride = stride; in computeStd140Layout() 522 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | SecondaryCommandBuffer.h | 267 uint32_t stride; member 301 uint32_t stride; member 598 uint32_t stride); 612 uint32_t stride); 1190 uint32_t stride) in drawIndexedIndirect() 1197 paramStruct->stride = stride; in drawIndexedIndirect() 1249 uint32_t stride) in drawIndirect() 1255 paramStruct->stride = stride; in drawIndirect() 1187 drawIndexedIndirect(const Buffer &buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) drawIndexedIndirect() argument 1246 drawIndirect(const Buffer &buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) drawIndirect() argument [all...] |
/third_party/skia/third_party/externals/libwebp/swig/ |
H A D | libwebp_java_wrap.c | 926 int width, int height, int stride, 929 int width, int height, int stride, 933 int width, int height, int stride, in EncodeLossy() 939 encfn(rgb, width, height, stride, quality_factor, &output); in EncodeLossy() 948 int width, int height, int stride, in EncodeLossless() 952 const size_t image_size = encfn(rgb, width, height, stride, &output); in EncodeLossless() 969 int width, int height, int stride, float quality_factor) { \ 970 return EncodeLossy(rgb, width, height, stride, quality_factor, \ 984 int width, int height, int stride) { \ 985 return EncodeLossless(rgb, width, height, stride, \ 932 EncodeLossy(const uint8_t* rgb, int width, int height, int stride, float quality_factor, WebPEncodeFunction encfn, int* output_size, int* unused) EncodeLossy() argument 947 EncodeLossless(const uint8_t* rgb, int width, int height, int stride, WebPEncodeLosslessFunction encfn, int* output_size, int* unused) EncodeLossless() argument [all...] |
/third_party/skia/third_party/externals/angle2/include/GLES/ |
H A D | gl.h | 462 typedef void (GL_APIENTRYP PFNGLCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); 519 typedef void (GL_APIENTRYP PFNGLNORMALPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer); 538 typedef void (GL_APIENTRYP PFNGLTEXCOORDPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); 550 typedef void (GL_APIENTRYP PFNGLVERTEXPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); 607 GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); 664 GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer); 683 GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); 695 GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); 721 typedef void (GL_APIENTRYP PFNGLPOINTSIZEPOINTEROESPROC) (GLenum type, GLsizei stride, const void *pointer); 723 GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, cons [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTransformFeedbackTests.cpp | 71 BUFFER_GUARD_MULTIPLIER = 2 //!< stride*BUFFER_GUARD_MULTIPLIER bytes are added to the end of tf buffer and used to check for overruns. 534 static void genAttributeData (const Attribute& attrib, deUint8* basePtr, int stride, int numElements, de::Random& rnd) in genAttributeData() argument 547 int offset = attrib.offset+elemNdx*stride+compNdx*elementSize; in genAttributeData() 1103 int stride = m_bufferStrides[bufNdx]; 1105 int size = stride*numOutputs; 1106 int guardSize = stride*BUFFER_GUARD_MULTIPLIER; 1199 int stride = m_bufferStrides[bufferNdx]; 1200 int size = stride*numOutputs; 1201 int guardSize = stride*BUFFER_GUARD_MULTIPLIER; 1224 const deUint8* outputPtr = (const deUint8*)bufPtr + outputOffset*stride; [all...] |
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/ |
H A D | adma.h | 133 * @stride: currently chained or not 156 u16 stride; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 60 surf.stride = pitch; in qxl_mode_dumb_create()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-g2d/ |
H A D | g2d.h | 45 u32 stride; member
|
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/ |
H A D | rga.h | 39 u32 stride; member
|