Home
last modified time | relevance | path

Searched refs:pitches (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/va/
Dimage.c134 img->pitches[0] = w; in vlVaCreateImage()
136 img->pitches[1] = w; in vlVaCreateImage()
144 img->pitches[0] = w * 2; in vlVaCreateImage()
146 img->pitches[1] = w * 2; in vlVaCreateImage()
154 img->pitches[0] = w; in vlVaCreateImage()
156 img->pitches[1] = w / 2; in vlVaCreateImage()
158 img->pitches[2] = w / 2; in vlVaCreateImage()
167 img->pitches[0] = w * 2; in vlVaCreateImage()
177 img->pitches[0] = w * 4; in vlVaCreateImage()
307 img->pitches[0] = stride > 0 ? stride : w * 2; in vlVaDeriveImage()
[all …]
Dsurface.c293 sub->image->pitches[0], 0, 0); in vlVaPutSubpictures()
641 whandle.stride = memory_attribute->pitches[i]; in surface_from_external_memory()
/third_party/libdrm/tests/modetest/
Dbuffers.c127 unsigned int handles[4], unsigned int pitches[4], in bo_create()
249 pitches[0] = bo->pitch; in bo_create()
260 pitches[0] = bo->pitch; in bo_create()
261 pitches[1] = pitches[0]; in bo_create()
262 offsets[1] = pitches[0] * height; in bo_create()
273 pitches[0] = bo->pitch; in bo_create()
274 pitches[1] = pitches[0] / 2; in bo_create()
275 offsets[1] = pitches[0] * height; in bo_create()
277 pitches[2] = pitches[1]; in bo_create()
278 offsets[2] = offsets[1] + pitches[1] * height / 2; in bo_create()
[all …]
Dbuffers.h36 unsigned int handles[4], unsigned int pitches[4],
Dmodetest.c1158 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in bo_fb_create() local
1162 bo = bo_create(fd, fourcc, w, h, handles, pitches, offsets, pat); in bo_fb_create()
1167 if (drmModeAddFB2(fd, w, h, fourcc, handles, pitches, offsets, &fb_id, 0)) { in bo_fb_create()
1706 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_cursors() local
1726 bo = bo_create(dev->fd, DRM_FORMAT_ARGB8888, cw, ch, handles, pitches, in set_cursors()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga_overlay.h141 uint32 *pitches, /* OUT (optional) */ in VMwareVideoGetAttributes() argument
157 if (pitches) { in VMwareVideoGetAttributes()
158 pitches[0] = *width; in VMwareVideoGetAttributes()
167 if (pitches) { in VMwareVideoGetAttributes()
168 pitches[1] = pitches[2] = tmp; in VMwareVideoGetAttributes()
185 if (pitches) { in VMwareVideoGetAttributes()
186 pitches[0] = *size; in VMwareVideoGetAttributes()
Dsvga_reg.h1164 uint32 pitches[3]; member
/third_party/libdrm/tests/tegra/
Ddrm-test.c172 uint32_t pitches[4]; in drm_framebuffer_new() local
188 pitches[0] = pitch; in drm_framebuffer_new()
192 pitches, offsets, &fb->handle, 0); in drm_framebuffer_new()
/third_party/libdrm/
Dxf86drmMode.h122 uint32_t pitches[4]; /* bytes */ member
302 const uint32_t pitches[4], const uint32_t offsets[4],
308 const uint32_t pitches[4], const uint32_t offsets[4],
Dxf86drmMode.c283 const uint32_t pitches[4], const uint32_t offsets[4], in drmModeAddFB2WithModifiers()
295 memcpy(f.pitches, pitches, 4 * sizeof(pitches[0])); in drmModeAddFB2WithModifiers()
309 const uint32_t pitches[4], const uint32_t offsets[4], in drmModeAddFB2()
314 pitches, offsets, NULL, in drmModeAddFB2()
1740 memcpy(ret->pitches, get.pitches, sizeof(uint32_t) * 4); in drmModeGetFB2()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c267 out_buf_info->pitches[0] = ycbcr.ystride; in get_yuv_buffer_info()
268 out_buf_info->pitches[1] = out_buf_info->pitches[2] = ycbcr.cstride; in get_yuv_buffer_info()
343 .pitches = { pitch, 0, 0, 0 }, in native_window_buffer_get_buffer_info()
403 out_buf_info->pitches[i] = info.stride[i]; in cros_get_buffer_info()
424 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in droid_create_image_from_buffer_info()
433 buf_info->pitches, buf_info->offsets, buf_info->yuv_color_space, in droid_create_image_from_buffer_info()
Dplatform_ohos.h105 int pitches[4]; member
Dplatform_android.h132 int pitches[4]; member
Dplatform_ohos.c153 .pitches = {pitch, 0, 0, 0}, in native_window_buffer_get_buffer_info()
175 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in ohos_create_image_from_buffer_info()
184 buf_info->pitches, buf_info->offsets, buf_info->yuv_color_space, in ohos_create_image_from_buffer_info()
Dplatform_android_mapper.cpp141 buf_info.pitches[i] = layouts[i].strideInBytes; in mapper_metadata_get_buffer_info()
Degl_dri2.c2862 int pitches[DMA_BUF_MAX_PLANES]; in dri2_create_image_dma_buf() local
2891 pitches[i] = attrs.DMABufPlanePitches[i].Value; in dri2_create_image_dma_buf()
2916 modifier, fds, num_fds, pitches, offsets, in dri2_create_image_dma_buf()
2934 modifier, fds, num_fds, pitches, offsets, in dri2_create_image_dma_buf()
2946 fds, num_fds, pitches, offsets, in dri2_create_image_dma_buf()
/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c875 dst->linesize[i] = map->image.pitches[i]; in vaapi_map_frame()
1192 buffer_desc.pitches[k] = desc->layers[i].planes[j].pitch; in vaapi_map_from_drm()
1201 FFSWAP(uint32_t, buffer_desc.pitches[1], buffer_desc.pitches[2]); in vaapi_map_from_drm()
1223 buffer_desc.pitches[k] = desc->layers[i].planes[j].pitch; in vaapi_map_from_drm()
1232 FFSWAP(uint32_t, buffer_desc.pitches[1], buffer_desc.pitches[2]); in vaapi_map_from_drm()
1455 .pitch = mapping->image.pitches[p], in vaapi_map_to_drm_abh()
1467 .pitch = mapping->image.pitches[p], in vaapi_map_to_drm_abh()
/third_party/ffmpeg/libavdevice/
Dkmsgrab.c207 size = fb->offsets[i] + fb->height * fb->pitches[i]; in kmsgrab_get_fb2()
224 .pitch = fb->pitches[i], in kmsgrab_get_fb2()
248 .pitch = fb->pitches[i], in kmsgrab_get_fb2()
Dxv.c317 av_image_copy(data, img->pitches, (const uint8_t **)input_data, linesize, in write_picture()
/third_party/libdrm/tests/exynos/
Dexynos_fimg2d_test.c731 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in main() local
809 pitches[0] = screen_width * 4; in main()
814 pitches, offsets, &fb_id, 0); in main()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp271 uint32_t pitches[4] = {gbm_bo_get_stride(mBO)}; in getDRMFB() local
273 if (drmModeAddFB2(fd, mWidth, mHeight, mDRMFormatFB, handles, pitches, offsets, &mDRMFB, 0)) in getDRMFB()
/third_party/mesa3d/include/drm-uapi/
Ddrm_mode.h698 __u32 pitches[4]; /* pitch for each plane */ member
/third_party/libdrm/include/drm/
Ddrm_mode.h614 __u32 pitches[4]; /* pitch for each plane */ member
/third_party/mesa3d/docs/relnotes/
D19.3.0.rst2626 - isl: Round up some pitches to 512B for Gen12's CCS
D20.0.0.rst3139 - ac/surface: use uint16_t for mipmap level pitches

12