Home
last modified time | relevance | path

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

/external/libdrm/tests/modetest/
Dbuffers.c131 unsigned int handles[4], unsigned int pitches[4], in bo_create()
245 pitches[0] = bo->pitch; in bo_create()
256 pitches[0] = bo->pitch; in bo_create()
257 pitches[1] = pitches[0]; in bo_create()
258 offsets[1] = pitches[0] * height; in bo_create()
269 pitches[0] = bo->pitch; in bo_create()
270 pitches[1] = pitches[0] / 2; in bo_create()
271 offsets[1] = pitches[0] * height; in bo_create()
273 pitches[2] = pitches[1]; in bo_create()
274 offsets[2] = offsets[1] + pitches[1] * height / 2; in bo_create()
[all …]
Dbuffers.h36 unsigned int handles[4], unsigned int pitches[4],
Dmodetest.c955 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_plane() local
999 pitches, offsets, UTIL_PATTERN_TILES); in set_plane()
1007 handles, pitches, offsets, &p->fb_id, plane_flags)) { in set_plane()
1052 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_mode() local
1076 dev->mode.height, handles, pitches, offsets, in set_mode()
1084 pipes[0].fourcc, handles, pitches, offsets, &fb_id, 0); in set_mode()
1142 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in set_cursors() local
1154 bo = bo_create(dev->fd, DRM_FORMAT_ARGB8888, cw, ch, handles, pitches, in set_cursors()
1187 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in test_page_flip() local
1195 dev->mode.height, handles, pitches, offsets, in test_page_flip()
[all …]
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_overlay.h141 uint32 *pitches, // OUT (optional) in VMwareVideoGetAttributes() argument
157 if (pitches) { in VMwareVideoGetAttributes()
158 pitches[0] = *size; in VMwareVideoGetAttributes()
169 if (pitches) { in VMwareVideoGetAttributes()
170 pitches[1] = pitches[2] = tmp; in VMwareVideoGetAttributes()
187 if (pitches) { in VMwareVideoGetAttributes()
188 pitches[0] = *size; in VMwareVideoGetAttributes()
Dsvga_reg.h811 uint32 pitches[3]; member
/external/drm_gralloc/
Dgralloc_drm_intel.c197 uint32_t *pitches, uint32_t *offsets, uint32_t *handles) in intel_resolve_format() argument
206 memset(pitches, 0, 4 * sizeof(uint32_t)); in intel_resolve_format()
210 pitches[0] = ib->base.handle->stride; in intel_resolve_format()
217 pitches[2] = pitches[0]/2; in intel_resolve_format()
218 pitches[1] = pitches[0]/2; in intel_resolve_format()
222 pitches[0] * ib->base.handle->height; in intel_resolve_format()
224 pitches[2] * ib->base.handle->height/2; in intel_resolve_format()
232 pitches[1] = pitches[0]; in intel_resolve_format()
234 pitches[0] * ib->base.handle->height; in intel_resolve_format()
Dgralloc_drm_priv.h74 uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
Dgralloc_drm.cpp327 uint32_t *pitches, uint32_t *offsets, uint32_t *handles) in gralloc_drm_resolve_format() argument
336 pitches, offsets, handles); in gralloc_drm_resolve_format()
Dgralloc_drm.h121 void gralloc_drm_resolve_format(buffer_handle_t _handle, uint32_t *pitches, uint32_t *offsets, uint…
/external/libdrm/tests/planetest/
Dbo.c94 uint32_t handles[4], pitches[4], offsets[4]; in add_fb_sp_bo() local
97 pitches[0] = bo->pitch; in add_fb_sp_bo()
101 pitches[1] = pitches[0]; in add_fb_sp_bo()
102 offsets[1] = pitches[0] * bo->height; in add_fb_sp_bo()
106 format, handles, pitches, offsets, in add_fb_sp_bo()
/external/libdrm/tests/kms/
Dlibkms-test-framebuffer.c44 uint32_t handles[4], pitches[4], offsets[4]; in kms_framebuffer_create() local
85 pitches[0] = fb->pitch; in kms_framebuffer_create()
89 pitches, offsets, &fb->id, 0); in kms_framebuffer_create()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_xv.c249 int *pitches, int *offsets) in query_image_attributes() argument
266 if (pitches) { in query_image_attributes()
267 pitches[0] = size; in query_image_attributes()
274 if (pitches) { in query_image_attributes()
275 pitches[1] = pitches[2] = tmp; in query_image_attributes()
288 if (pitches) in query_image_attributes()
289 pitches[0] = size; in query_image_attributes()
336 int pitches[3], offsets[3]; in copy_packed_data() local
339 &w, &h, pitches, offsets); in copy_packed_data()
/external/libvncserver/libvncclient/
Dh264.c592 uint8_t *nv12_y = &nv12_buf[vaImage.offsets[0] + vaImage.pitches[0] * ch_y + ch_x]; in nv12_to_rgba()
593 uint8_t *nv12_uv = &nv12_buf[vaImage.offsets[1] + vaImage.pitches[1] * (ch_y / 2) + ch_x]; in nv12_to_rgba()
608 … nv12_y[vaImage.pitches[0] + src_x], nv12_y[vaImage.pitches[0] + src_x + 1] }; in nv12_to_rgba()
634 nv12_y += 2 * vaImage.pitches[0]; in nv12_to_rgba()
635 nv12_uv += vaImage.pitches[1]; in nv12_to_rgba()
/external/drm_hwcomposer/
Dplatformdrmgeneric.cpp110 bo->pitches[0] = gr_handle->stride; in ImportBuffer()
115 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0); in ImportBuffer()
Ddrmhwcgralloc.h59 uint32_t pitches[4]; member
Dplatformnv.cpp102 buf->bo.gem_handles, buf->bo.pitches, buf->bo.offsets, in ImportBuffer()
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c720 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; in main() local
798 pitches[0] = screen_width * 4; in main()
803 pitches, offsets, &fb_id, 0); in main()
/external/opencv3/modules/videoio/src/
Dcap_intelperc.cpp395 cv::Mat temp(info.height, info.width, CV_8UC3, data.planes[0], data.pitches[0]); in retrieveAsOutputArray()
537 cv::Mat temp(info.height, info.width, type, data.planes[planeIdx], data.pitches[planeIdx]); in retriveFrame()
/external/libdrm/include/drm/
Ddrm_mode.h371 __u32 pitches[4]; /* pitch for each plane */ member
/external/kernel-headers/original/uapi/drm/
Ddrm_mode.h387 __u32 pitches[4]; /* pitch for each plane */ member
/external/libdrm/
Dxf86drmMode.c275 uint32_t pitches[4], uint32_t offsets[4], in drmModeAddFB2()
287 memcpy(f.pitches, pitches, 4 * sizeof(pitches[0])); in drmModeAddFB2()
Dxf86drmMode.h370 uint32_t pitches[4], uint32_t offsets[4],