/third_party/skia/src/gpu/vk/ |
H A D | GrVkOpsRenderPass.cpp | 799 const size_t stride = sizeof(GrDrawIndirectCommand); in onDrawIndirect() local 803 fGpu, sk_ref_sp(drawIndirectBuffer), offset, currDrawCount, stride); in onDrawIndirect() 805 offset += stride * currDrawCount; in onDrawIndirect() 823 const size_t stride = sizeof(GrDrawIndexedIndirectCommand); in onDrawIndexedIndirect() local 827 fGpu, sk_ref_sp(drawIndirectBuffer), offset, currDrawCount, stride); in onDrawIndexedIndirect() 829 offset += stride * currDrawCount; in onDrawIndexedIndirect()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator_impl.cc | 371 if (auto* stride = deco->As<ast::StrideDecoration>()) { in EmitType() 372 out << "[[stride(" << stride->stride << ")]] "; in EmitType() 673 } else if (auto* stride = deco->As<ast::StrideDecoration>()) { in EmitDecorations() 674 out << "stride(" << stride->stride << ")"; in EmitDecorations()
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 25 * tile (but taking care to pass the full frame stride length to 101 u32 stride; member 116 unsigned int stride; member 884 tile->stride = tile->width; in calc_tile_dimensions() 887 tile->stride = in calc_tile_dimensions() 1000 y_stride = image->stride; in calc_tile_offsets_planar() 1057 u32 bpp, stride, offset; in calc_tile_offsets_packed() local 1061 stride = image->stride; in calc_tile_offsets_packed() 1065 row_off = image->tile[tile].top * stride; in calc_tile_offsets_packed() 1302 u32 width, height, stride; init_idmac_channel() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 28 * tile (but taking care to pass the full frame stride length to 104 u32 stride; member 119 unsigned int stride; member 883 tile->stride = tile->width; in calc_tile_dimensions() 886 tile->stride = in calc_tile_dimensions() 999 y_stride = image->stride; in calc_tile_offsets_planar() 1053 u32 bpp, stride, offset; in calc_tile_offsets_packed() local 1057 stride = image->stride; in calc_tile_offsets_packed() 1061 row_off = image->tile[tile].top * stride; in calc_tile_offsets_packed() 1298 u32 width, height, stride; init_idmac_channel() local [all...] |
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_wayland.c | 1426 int stride, offset; in create_wl_buffer() local 1440 &stride); in create_wl_buffer() 1454 zwp_linux_buffer_params_v1_add(params, fd, i, offset, stride, in create_wl_buffer() 1465 int fd = -1, stride; in create_wl_buffer() local 1471 query &= dri2_dpy->image->queryImage(image, __DRI_IMAGE_ATTRIB_STRIDE, &stride); in create_wl_buffer() 1479 stride, 0, 0, 0, 0); in create_wl_buffer() 2286 int fd, stride, size_map; in dri2_wl_swrast_allocate_buffer() local 2289 stride = dri2_wl_swrast_get_stride_for_format(format, w); in dri2_wl_swrast_allocate_buffer() 2290 size_map = h * stride; in dri2_wl_swrast_allocate_buffer() 2306 *buffer = wl_shm_pool_create_buffer(pool, 0, w, h, stride, forma in dri2_wl_swrast_allocate_buffer() 2524 dri2_wl_swrast_put_image2(__DRIdrawable * draw, int op, int x, int y, int w, int h, int stride, char *data, void *loaderPrivate) dri2_wl_swrast_put_image2() argument 2570 int stride; dri2_wl_swrast_put_image() local [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_c_sample.cpp | 140 // 4 means stride in DoDraw() 141 constexpr uint32_t stride = 4; in DoDraw() local 142 uint32_t addrSize = width * height * stride; in DoDraw()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_render_command_list.h | 72 * @param stride Stride 75 const RenderHandle bufferHandle, const uint32_t offset, const uint32_t drawCount, const uint32_t stride) = 0; 81 * @param stride Stride 84 const RenderHandle bufferHandle, const uint32_t offset, const uint32_t drawCount, const uint32_t stride) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_pointer_window_demo.cpp | 90 static constexpr uint32_t stride = 4; in DoDraw() local 91 uint32_t addrSize = width * height * stride; in DoDraw()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/ |
H A D | rs_interfaces_system_test.cpp | 148 int32_t stride = opts.size.width;
in HWTEST_F() local 149 std::unique_ptr<Media::PixelMap> pixelMap1 = Media::PixelMap::Create(color, colorLength, offset, stride, opts);
in HWTEST_F()
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.h | 184 void ReadPixelsFromTex(RenderTexturePtr tex, void *data, int width, int height, int stride);
186 IMAGE_EFFECT_EXPORT GLuint GenTextureWithPixels(void *data, int width, int height, int stride);
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/base/ |
H A D | video_sample_base.cpp | 188 int32_t &stride = info.videoStrideWidth; in WriteOutputFileWithStrideRGBA() local 192 bufferAddr += stride; in WriteOutputFileWithStrideRGBA()
|
/foundation/window/window_manager_lite/frameworks/wms/ |
H A D | lite_wm_requestor.cpp | 204 uint32_t stride = surface_->GetStride(); in OnBufferAvailable() local 205 listener_->OnScreenshotEnd(virAddr, width, height, format, stride); in OnBufferAvailable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 120 msgdma_descroffs(stride)); in msgdma_tx_buffer() 172 csrwr32(0x00010001, priv->rx_dma_desc, msgdma_descroffs(stride)); in msgdma_add_rx_desc()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 34 * stride slots in a row 37 unsigned long *map, u16 stride) in free_slots() 41 for (i = 0; i < h; i++, pos += stride) in free_slots() 85 * stride = bits in one row of container 102 /* FIXME Return error if slots_per_band > stride */ in l2r_t2b() 36 free_slots(unsigned long pos, u16 w, u16 h, unsigned long *map, u16 stride) free_slots() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | cmdq.c | 180 cmdq->head_reg = func->cmdq.head + index * func->cmdq.stride; in nvkm_falcon_cmdq_init() 181 cmdq->tail_reg = func->cmdq.tail + index * func->cmdq.stride; in nvkm_falcon_cmdq_init()
|
H A D | msgq.c | 182 msgq->head_reg = func->msgq.head + index * func->msgq.stride; in nvkm_falcon_msgq_init() 183 msgq->tail_reg = func->msgq.tail + index * func->msgq.stride; in nvkm_falcon_msgq_init()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_compat_ioctl32.h | 76 u32 stride; /* in bytes */ member 85 u32 stride; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/altera/ |
H A D | altera_msgdma.c | 120 msgdma_descroffs(stride)); in msgdma_tx_buffer() 172 csrwr32(0x00010001, priv->rx_dma_desc, msgdma_descroffs(stride)); in msgdma_add_rx_desc()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | psb_device.c | 212 .stride = DSPASTRIDE, 236 .stride = DSPBSTRIDE,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | msgq.c | 182 msgq->head_reg = func->msgq.head + index * func->msgq.stride; in nvkm_falcon_msgq_init() 183 msgq->tail_reg = func->msgq.tail + index * func->msgq.stride; in nvkm_falcon_msgq_init()
|
H A D | cmdq.c | 180 cmdq->head_reg = func->cmdq.head + index * func->cmdq.stride; in nvkm_falcon_cmdq_init() 181 cmdq->tail_reg = func->cmdq.tail + index * func->cmdq.stride; in nvkm_falcon_cmdq_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 26 * stride slots in a row 29 unsigned long *map, u16 stride) in free_slots() 33 for (i = 0; i < h; i++, pos += stride) in free_slots() 77 * stride = bits in one row of container 94 /* FIXME Return error if slots_per_band > stride */ in l2r_t2b() 28 free_slots(unsigned long pos, u16 w, u16 h, unsigned long *map, u16 stride) free_slots() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | ivi.h | 282 /** calculate number of tiles in a stride */ 283 #define IVI_NUM_TILES(stride, tile_size) (((stride) + (tile_size) - 1) / (tile_size))
|
/third_party/backends/backend/escl/ |
H A D | escl_mupdf.c | 217 surface = malloc(pix->h * pix->stride); in get_PDF_data() 218 memcpy(surface, pix->samples, (pix->h * pix->stride)); in get_PDF_data()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_query.c | 100 VkDeviceSize stride, in lvp_GetQueryPoolResults() 110 uint8_t *dptr = (uint8_t *)((char *)pData + (stride * (i - firstQuery))); in lvp_GetQueryPoolResults() 93 lvp_GetQueryPoolResults( VkDevice _device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) lvp_GetQueryPoolResults() argument
|