/external/mesa3d/src/gallium/frontends/va/ |
D | image.c | 134 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() 294 img->pitches[0] = stride > 0 ? stride : w * 2; in vlVaDeriveImage() [all …]
|
/external/libdrm/tests/modetest/ |
D | buffers.c | 127 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 …]
|
D | buffers.h | 36 unsigned int handles[4], unsigned int pitches[4],
|
D | modetest.c | 1134 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in atomic_set_plane() local 1165 handles, pitches, offsets, pattern); in atomic_set_plane() 1171 handles, pitches, offsets, &p->fb_id, 0)) { in atomic_set_plane() 1210 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_plane() local 1265 pitches, offsets, secondary_fill); in set_plane() 1273 handles, pitches, offsets, &p->fb_id, plane_flags)) { in set_plane() 1431 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_mode() local 1455 dev->mode.height, handles, pitches, offsets, in set_mode() 1463 pipes[0].fourcc, handles, pitches, offsets, &fb_id, 0); in set_mode() 1523 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_cursors() local [all …]
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga_overlay.h | 141 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()
|
/external/igt-gpu-tools/overlay/x11/ |
D | x11-overlay.c | 187 if (image->pitches[0] == 4) { in x11_overlay_create() 188 image->pitches[0] = ALIGN(image->width, 1024); in x11_overlay_create() 189 image->pitches[1] = ALIGN(image->width/2, 1024); in x11_overlay_create() 190 image->pitches[2] = ALIGN(image->width/2, 1024); in x11_overlay_create() 192 image->offsets[1] = image->pitches[0] * image->height; in x11_overlay_create() 193 image->offsets[2] = image->offsets[1] + image->pitches[1] * image->height/2; in x11_overlay_create() 203 create.size = image->pitches[0] * image->height; in x11_overlay_create() 206 create.size = image->pitches[0] * image->height; in x11_overlay_create() 207 create.size += image->pitches[1] * image->height; in x11_overlay_create() 237 j = image->pitches[0]; in x11_overlay_create() [all …]
|
D | rgb2yuv.c | 69 int y_stride = image->pitches[0]; in rgb2yuv() 70 int uv_stride = image->pitches[1]; in rgb2yuv()
|
/external/libkmsxx/kms++/src/ |
D | extframebuffer.cpp | 18 vector<uint32_t> handles, vector<uint32_t> pitches, vector<uint32_t> offsets) in ExtFramebuffer() argument 33 plane.stride = pitches[i]; in ExtFramebuffer() 40 …int r = drmModeAddFB2(card.fd(), width, height, (uint32_t)format, handles.data(), pitches.data(), … in ExtFramebuffer() 48 vector<int> fds, vector<uint32_t> pitches, vector<uint32_t> offsets) in ExtFramebuffer() argument 68 plane.stride = pitches[i]; in ExtFramebuffer() 77 bo_handles, pitches.data(), offsets.data(), &id, 0); in ExtFramebuffer()
|
D | dumbframebuffer.cpp | 70 uint32_t pitches[4] = { m_planes[0].stride, m_planes[1].stride }; in Create() local 74 bo_handles, pitches, offsets, &id, 0); in Create()
|
/external/igt-gpu-tools/tests/ |
D | kms_addfb_basic.c | 78 f.pitches[0] = 512*4; in invalid_tests() 109 f.pitches[1] = 512; in invalid_tests() 112 f.pitches[1] = 0; in invalid_tests() 162 .pitch = f.pitches[0], in invalid_tests() 261 f.pitches[0] = 1024*4; in pitch_tests() 283 f.pitches[0] = bad_pitches[i]; in pitch_tests() 302 f.pitches[0] = 1024*4; in tiling_tests() 322 f.pitches[0] = 1024*4; in tiling_tests() 342 f.pitches[0] = 512*4; in tiling_tests() 350 f.pitches[0] = 1024*4; in tiling_tests() [all …]
|
D | kms_getfb.c | 95 add.pitches[0] = ALIGN(add.width * 4, 128); in get_ccs_fb() 96 add.offsets[1] = add.pitches[0] * ALIGN(add.height, 32); in get_ccs_fb() 97 add.pitches[1] = ALIGN(ALIGN(add.width * 4, 32) / 32, 128); in get_ccs_fb() 100 size += add.pitches[1] * ALIGN(ALIGN(add.height, 16) / 16, 32); in get_ccs_fb() 137 add.pitches[0] = 1024*4; in test_handle_input() 155 igt_assert_eq_u32(get.pitch, add.pitches[0]); in test_handle_input() 185 add.pitches[0] = 1024*4; in test_duplicate_handles()
|
D | kms_ccs.c | 99 f->pitches[i] = fb->strides[i]; in addfb_init() 140 f.pitches[1] -= 64; in generate_fb() 146 f.pitches[1] = ALIGN(f.pitches[1]/2, 128); in generate_fb() 150 f.pitches[1] = 0; in generate_fb() 159 f.pitches[1] = 0; in generate_fb()
|
D | kms_prime.c | 114 uint32_t offsets[4] = {}, pitches[4] = {}, handles[4] = {}; in import_fb() local 120 pitches[0] = pitch; in import_fb() 125 handles, pitches, offsets, in import_fb()
|
/external/libdrm/tests/kms/ |
D | libkms-test-framebuffer.c | 40 uint32_t handles[4], pitches[4], offsets[4]; in kms_framebuffer_create() local 81 pitches[0] = fb->pitch; in kms_framebuffer_create() 85 pitches, offsets, &fb->id, 0); in kms_framebuffer_create()
|
/external/drm_hwcomposer/platform/ |
D | platformhisi.cpp | 125 bo->pitches[0] = hnd->byte_stride; in ConvertBoInfo() 142 bo->pitches[1] = vu_stride; in ConvertBoInfo() 146 bo->pitches[2] = vu_stride; in ConvertBoInfo()
|
D | platformdrmgeneric.cpp | 129 bo->pitches[0] = gr_handle->stride; in ConvertBoInfo() 161 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, in ImportBuffer() 165 bo->format, bo->gem_handles, bo->pitches, in ImportBuffer()
|
D | platformminigbm.cpp | 60 bo->pitches[0] = gr_handle->strides[0]; in ConvertBoInfo()
|
D | platformimagination.cpp | 41 bo->pitches[0] = ALIGN(hnd->iWidth, HW_ALIGN) * hnd->uiBpp >> 3; in ConvertBoInfo()
|
/external/libkmsxx/kms++util/src/ |
D | extcpuframebuffer.cpp | 28 uint8_t* buffers[4], uint32_t sizes[4], uint32_t pitches[4], uint32_t offsets[4]) in ExtCPUFramebuffer() 38 plane.stride = pitches[i]; in ExtCPUFramebuffer()
|
/external/libkmsxx/kms++/inc/kms++/ |
D | extframebuffer.h | 13 … std::vector<uint32_t> handles, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets); 15 std::vector<int> fds, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets);
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_android.c | 196 int pitches[3]; in droid_create_image_from_prime_fds_yuv() local 240 pitches[0] = ycbcr.ystride; in droid_create_image_from_prime_fds_yuv() 241 pitches[1] = pitches[2] = ycbcr.cstride; in droid_create_image_from_prime_fds_yuv() 266 fds, num_planes, pitches, offsets, in droid_create_image_from_prime_fds_yuv() 280 int pitches[4] = { 0 }, offsets[4] = { 0 }; in droid_create_image_from_prime_fds() local 317 pitches[0] = buf->stride * get_format_bpp(buf->format); in droid_create_image_from_prime_fds() 318 if (pitches[0] == 0) { in droid_create_image_from_prime_fds() 325 fds, num_fds, pitches, offsets, in droid_create_image_from_prime_fds()
|
/external/igt-gpu-tools/overlay/kms/ |
D | kms-overlay.c | 75 uint32_t offsets[4], pitches[4], handles[4]; in kms_create_fb() local 78 pitches[0] = image->stride; in kms_create_fb() 83 handles, pitches, offsets, in kms_create_fb()
|
/external/libkmsxx/kms++/src/omap/ |
D | omapframebuffer.cpp | 124 uint32_t pitches[4] = { m_planes[0].stride, m_planes[1].stride }; in Create() local 128 bo_handles, pitches, offsets, &id, 0); in Create()
|
/external/drm_hwcomposer/include/ |
D | drmhwcgralloc.h | 30 uint32_t pitches[HWC_DRM_BO_MAX_PLANES]; member
|
/external/libkmsxx/kms++util/inc/kms++util/ |
D | extcpuframebuffer.h | 14 uint8_t* buffers[4], uint32_t sizes[4], uint32_t pitches[4], uint32_t offsets[4]);
|