Home
last modified time | relevance | path

Searched refs:strides (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dxcam_buffer.cpp53 info->strides [0] = aligned_width; in xcam_video_buffer_info_reset()
55 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
61 info->strides [0] = aligned_width; in xcam_video_buffer_info_reset()
62 info->strides [1] = info->strides [0]; in xcam_video_buffer_info_reset()
64 info->offsets [1] = info->offsets [0] + info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
65 image_size = info->strides [0] * aligned_height + info->strides [1] * aligned_height / 2; in xcam_video_buffer_info_reset()
70 info->strides [0] = aligned_width * 2; in xcam_video_buffer_info_reset()
72 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
77 info->strides [0] = aligned_width * 2; in xcam_video_buffer_info_reset()
79 image_size = info->strides [0] * aligned_height; in xcam_video_buffer_info_reset()
[all …]
H A Dv4l2_buffer_proxy.cpp109 info.strides [0] = format.fmt.pix.bytesperline * 2 / 3; in v4l2_format_to_video_info()
110 info.strides [1] = info.strides [0]; in v4l2_format_to_video_info()
112 info.offsets[1] = info.strides [0] * format.fmt.pix.height; in v4l2_format_to_video_info()
116 info.strides [0] = format.fmt.pix.bytesperline / 2; in v4l2_format_to_video_info()
117 info.strides [1] = info.strides [0] / 2 ; in v4l2_format_to_video_info()
118 info.strides [2] = info.strides [0] / 2 ; in v4l2_format_to_video_info()
120 info.offsets[1] = info.strides [0] * format.fmt.pix.height; in v4l2_format_to_video_info()
121 info.offsets[2] = info.offsets[1] + info.strides [1] * format.fmt.pix.height; in v4l2_format_to_video_info()
125 info.strides [0] = format.fmt.pix.bytesperline; in v4l2_format_to_video_info()
127 info.aligned_width = info.strides [0] / 2; in v4l2_format_to_video_info()
[all …]
H A Dvideo_buffer.cpp43 xcam_mem_clear (strides); in VideoBufferInfo()
73 strides[i] = info.strides[i]; in fill()
H A Ddrm_device.h38 int strides[RKCAM_MAX_DRM_PLANES]; member
H A Ddrm_device.cpp124 bo->strides[plane] = arg.pitch; in CreateDumbObject()
/OK3568_Linux_fs/external/xserver/dri3/
H A Ddri3_screen.c56 const CARD32 *strides, const CARD32 *offsets, in dri3_pixmap_from_fds() argument
68 strides, offsets, depth, bpp, modifier); in dri3_pixmap_from_fds()
71 strides[0], depth, bpp); in dri3_pixmap_from_fds()
85 uint32_t *strides, uint32_t *offsets, in dri3_fds_from_pixmap() argument
96 return (*info->fds_from_pixmap)(screen, pixmap, fds, strides, offsets, in dri3_fds_from_pixmap()
106 strides[0] = stride; in dri3_fds_from_pixmap()
121 uint32_t strides[4]; in dri3_fd_from_pixmap() local
142 num_fds = info->fds_from_pixmap(screen, pixmap, fds, strides, offsets, in dri3_fd_from_pixmap()
151 *stride = strides[0]; in dri3_fd_from_pixmap()
H A Ddri3_request.c409 CARD32 strides[4], offsets[4]; in proc_dri3_pixmap_from_buffers() local
460 strides[0] = stuff->stride0; in proc_dri3_pixmap_from_buffers()
461 strides[1] = stuff->stride1; in proc_dri3_pixmap_from_buffers()
462 strides[2] = stuff->stride2; in proc_dri3_pixmap_from_buffers()
463 strides[3] = stuff->stride3; in proc_dri3_pixmap_from_buffers()
472 strides, offsets, in proc_dri3_pixmap_from_buffers()
509 uint32_t strides[4], offsets[4]; in proc_dri3_buffers_from_pixmap() local
522 num_fds = dri3_fds_from_pixmap(pixmap, fds, strides, offsets, &modifier); in proc_dri3_buffers_from_pixmap()
541 swapl(&strides[i]); in proc_dri3_buffers_from_pixmap()
555 WriteToClient(client, num_fds * sizeof(CARD32), strides); in proc_dri3_buffers_from_pixmap()
H A Ddri3_priv.h85 const CARD32 *strides, const CARD32 *offsets,
93 uint32_t *strides, uint32_t *offsets,
H A Ddri3.h55 const CARD32 *strides,
69 uint32_t *strides,
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddri3.c82 const CARD32 *strides, const CARD32 *offsets, in ms_exa_pixmap_from_fds() argument
95 depth, bpp, strides[0], NULL); in ms_exa_pixmap_from_fds()
100 strides[0], strides[0] * height); in ms_exa_pixmap_from_fds()
137 uint32_t *strides, uint32_t *offsets, in ms_exa_egl_fds_from_pixmap() argument
149 strides[0] = bo->pitch; in ms_exa_egl_fds_from_pixmap()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A Dsun4i_frontend.c161 unsigned int strides[3] = {}; in sun4i_frontend_update_buffer() local
170 strides[0] = SUN4I_FRONTEND_LINESTRD_TILED(fb->pitches[0]); in sun4i_frontend_update_buffer()
183 strides[1] = in sun4i_frontend_update_buffer()
191 strides[2] = in sun4i_frontend_update_buffer()
198 strides[0] = fb->pitches[0]; in sun4i_frontend_update_buffer()
201 strides[1] = fb->pitches[1]; in sun4i_frontend_update_buffer()
204 strides[2] = fb->pitches[2]; in sun4i_frontend_update_buffer()
210 strides[0]); in sun4i_frontend_update_buffer()
214 strides[1]); in sun4i_frontend_update_buffer()
218 strides[2]); in sun4i_frontend_update_buffer()
/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A Dxwayland-glamor-gbm.c278 uint32_t strides[4]; in xwl_glamor_gbm_get_wl_buffer_for_pixmap() local
310 strides[i] = gbm_bo_get_stride_for_plane(xwl_pixmap->bo, i); in xwl_glamor_gbm_get_wl_buffer_for_pixmap()
316 strides[0] = gbm_bo_get_stride(xwl_pixmap->bo); in xwl_glamor_gbm_get_wl_buffer_for_pixmap()
342 offsets[i], strides[i], in xwl_glamor_gbm_get_wl_buffer_for_pixmap()
481 const CARD32 *strides, const CARD32 *offsets, in glamor_pixmap_from_fds() argument
492 strides[0] < width * bpp / 8) in glamor_pixmap_from_fds()
506 data.strides[i] = strides[i]; in glamor_pixmap_from_fds()
518 data.stride = strides[0]; in glamor_pixmap_from_fds()
543 uint32_t *strides, uint32_t *offsets, in glamor_egl_fds_from_pixmap() argument
566 strides[i] = gbm_bo_get_stride_for_plane(xwl_pixmap->bo, i); in glamor_egl_fds_from_pixmap()
[all …]
/OK3568_Linux_fs/buildroot/package/vkmark/
H A D0002-kms-Drop-dependency-on-vkCreateDmaBufImageINTEL.patch68 - uint32_t strides[4] = {gbm_bo_get_stride(gbm_bo), 0, 0, 0};
74 - handles, strides, offsets, &fb, 0);
238 + uint32_t strides[4] = {0,};
244 + strides[i] = layouts[i].rowPitch;
250 + handles, strides, offsets, &fb, 0);
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_egl.c408 uint32_t *strides, uint32_t *offsets, in glamor_egl_fds_from_pixmap() argument
429 strides[i] = gbm_bo_get_stride_for_plane(bo, i); in glamor_egl_fds_from_pixmap()
436 strides[0] = gbm_bo_get_stride(bo); in glamor_egl_fds_from_pixmap()
560 const CARD32 *strides, const CARD32 *offsets, in glamor_pixmap_from_fds() argument
584 import_data.strides[i] = strides[i]; in glamor_pixmap_from_fds()
590 screen->ModifyPixmapHeader(pixmap, width, height, 0, 0, strides[0], NULL); in glamor_pixmap_from_fds()
600 strides[0], depth, bpp); in glamor_pixmap_from_fds()
H A Dglamor.h188 uint32_t *strides, uint32_t *offsets,
275 const CARD32 *strides,
H A Dglamor_egl_stubs.c53 uint32_t *offsets, uint32_t *strides, in glamor_egl_fds_from_pixmap() argument
H A Dglamor.c1017 uint32_t *strides, uint32_t *offsets, in _glamor_fds_from_pixmap() argument
1034 strides, offsets, in _glamor_fds_from_pixmap()
1040 strides[0] = stride; in _glamor_fds_from_pixmap()
1052 uint32_t *strides, uint32_t *offsets, in glamor_fds_from_pixmap() argument
1055 return _glamor_fds_from_pixmap(screen, pixmap, fds, strides, offsets, in glamor_fds_from_pixmap()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/css_2401_system/host/
H A Disys_stream2mmio_private.h79 state->strides = in stream2mmio_get_sid_state()
100 ia_css_print("\t \t Strides 0x%x\n", state->strides); in stream2mmio_print_sid_state()
H A Disys_stream2mmio_local.h29 hrt_data strides; member
/OK3568_Linux_fs/external/drm-cursor/
H A Ddrm_egl.c348 uint32_t strides[4] = { 0 }; in egl_bo_to_fb() local
355 strides[0] = gbm_bo_get_stride(bo); in egl_bo_to_fb()
360 strides[0], handles[0], &fb); in egl_bo_to_fb()
363 handles, strides, in egl_bo_to_fb()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/
H A DRkAiqManager.cpp616 …camVBuf->info.strides[0], camVBuf->info.strides[1], camVBuf->info.offsets[0], camVBuf->info.offset… in hwResCb()
628 …camVBuf->info.strides[0], camVBuf->info.strides[1], camVBuf->info.offsets[0], camVBuf->info.offset… in hwResCb()
640 …camVBuf->info.strides[0], camVBuf->info.strides[1], camVBuf->info.offsets[0], camVBuf->info.offset… in hwResCb()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0027-HACK-backend-drm-Consider-linear-and-invalid-modifie.patch38 attribs[atti++] = (int) buffer->strides[plane_idx]; \
107 fb->strides[0] = create_arg.pitch;
127 fb->strides[0] = gbm_bo_get_stride(bo);
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/xcore/base/
H A Dxcam_buffer.h87 uint32_t strides [XCAM_VIDEO_MAX_COMPONENTS]; member
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0016-backend-drm-Support-virtual-screen-size.patch282 - scanout_plane->state_cur->fb->strides[0] !=
283 - scanout_state->fb->strides[0]) {
/OK3568_Linux_fs/buildroot/package/weston/
H A D0016-backend-drm-Support-virtual-screen-size.patch282 - scanout_plane->state_cur->fb->strides[0] !=
283 - scanout_state->fb->strides[0]) {

12