Home
last modified time | relevance | path

Searched refs:pitches (Results 1 – 25 of 38) 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 …]
/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/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkallocator_libva.c364 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
369 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
375 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
381 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
387 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
395 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
402 data->PitchHigh = (mfxU16) (mem_id->image.pitches[0] / (1 << 16)); in gst_msdk_frame_lock()
403 data->PitchLow = (mfxU16) (mem_id->image.pitches[0] % (1 << 16)); in gst_msdk_frame_lock()
411 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
421 data->Pitch = mem_id->image.pitches[0]; in gst_msdk_frame_lock()
[all …]
/third_party/gstreamer/gstplugins_base/sys/xvimage/
Dxvimageallocator.c415 gint pitches[3]; in gst_xvimage_allocator_alloc() local
420 pitches[0] = GST_ROUND_UP_4 (padded_width); in gst_xvimage_allocator_alloc()
421 offsets[1] = offsets[0] + pitches[0] * GST_ROUND_UP_2 (padded_height); in gst_xvimage_allocator_alloc()
422 pitches[1] = GST_ROUND_UP_8 (padded_width) / 2; in gst_xvimage_allocator_alloc()
424 offsets[1] + pitches[1] * GST_ROUND_UP_2 (padded_height) / 2; in gst_xvimage_allocator_alloc()
425 pitches[2] = GST_ROUND_UP_8 (pitches[0]) / 2; in gst_xvimage_allocator_alloc()
428 offsets[2] + pitches[2] * GST_ROUND_UP_2 (padded_height) / 2; in gst_xvimage_allocator_alloc()
433 plane, pitches[plane], offsets[plane]); in gst_xvimage_allocator_alloc()
458 "offset of %d", plane, mem->xvimage->pitches[plane], in gst_xvimage_allocator_alloc()
Dxvimagepool.c153 info.stride[i] = img->pitches[i]; in xvimage_buffer_pool_set_config()
/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/flutter/skia/third_party/externals/sdl/src/render/
DSDL_yuv_sw.c1082 swdata->pitches[0] = w; in SDL_SW_CreateYUVTexture()
1083 swdata->pitches[1] = swdata->pitches[0] / 2; in SDL_SW_CreateYUVTexture()
1084 swdata->pitches[2] = swdata->pitches[0] / 2; in SDL_SW_CreateYUVTexture()
1086 swdata->planes[1] = swdata->planes[0] + swdata->pitches[0] * h; in SDL_SW_CreateYUVTexture()
1087 swdata->planes[2] = swdata->planes[1] + swdata->pitches[1] * h / 2; in SDL_SW_CreateYUVTexture()
1092 swdata->pitches[0] = w * 2; in SDL_SW_CreateYUVTexture()
1109 *pitch = swdata->pitches[0]; in SDL_SW_QueryYUVTexturePixels()
1173 swdata->planes[0] + rect->y * swdata->pitches[0] + in SDL_SW_UpdateYUVTexture()
1179 dst += swdata->pitches[0]; in SDL_SW_UpdateYUVTexture()
1259 *pixels = swdata->planes[0] + rect->y * swdata->pitches[0] + rect->x * 2; in SDL_SW_LockYUVTexture()
[all …]
DSDL_yuv_sw_c.h45 Uint16 pitches[3]; member
/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_ohos.h105 int pitches[4]; member
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_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()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsallocator.c449 guint32 pitches[4] = { 0, }; in gst_kms_allocator_add_fb() local
465 pitches[i] = GST_VIDEO_INFO_PLANE_STRIDE (vinfo, i); in gst_kms_allocator_add_fb()
472 ret = drmModeAddFB2 (alloc->priv->fd, w, h, fmt, bo_handles, pitches, in gst_kms_allocator_add_fb()
/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()
/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/ffmpeg/libavutil/
Dhwcontext_vaapi.c872 dst->linesize[i] = map->image.pitches[i]; in vaapi_map_frame()
1098 buffer_desc.pitches[k] = desc->layers[i].planes[j].pitch; in vaapi_map_from_drm()
1107 FFSWAP(uint32_t, buffer_desc.pitches[1], buffer_desc.pitches[2]); in vaapi_map_from_drm()
1329 .pitch = mapping->image.pitches[p], in vaapi_map_to_drm_abh()
1341 .pitch = mapping->image.pitches[p], in vaapi_map_to_drm_abh()
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ozone/
DDisplayOzone.cpp275 uint32_t pitches[4] = {gbm_bo_get_stride(mBO)}; in getDRMFB() local
277 if (drmModeAddFB2(fd, mWidth, mHeight, mDRMFormatFB, handles, pitches, offsets, &mDRMFB, 0)) in getDRMFB()

12