Home
last modified time | relevance | path

Searched refs:stride (Results 1201 - 1225 of 2611) sorted by relevance

1...<<41424344454647484950>>...105

/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_push.c279 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 Dgbm.c170 /** 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 DvktTessellationUtil.hpp75 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 Dmtl_state_cache.h142 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 DvktTessellationUtil.hpp75 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 Des2pTextureUploadTests.cpp219 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 Dgpmi-nand.c1786 * 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 Dwr.c65 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 Dcompaction.c557 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 Dgpmi-nand.c2008 * 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 Ddw100.c1234 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 Dcompaction.c588 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 Dlibvpxenc.c1577 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 Dst_cb_drawpixels.c691 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 Dvn_command_buffer.c994 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 Dtr_context.c1799 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 DglcUniformBlockCase.cpp460 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 DSecondaryCommandBuffer.h267 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 Dlibwebp_java_wrap.c926 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 Dgl.h462 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 Des3fTransformFeedbackTests.cpp71 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 Dadma.h133 * @stride: currently chained or not
156 u16 stride; member
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
H A Dqxl_dumb.c60 surf.stride = pitch; in qxl_mode_dumb_create()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-g2d/
H A Dg2d.h45 u32 stride; member
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
H A Drga.h39 u32 stride; member

Completed in 42 milliseconds

1...<<41424344454647484950>>...105