Searched refs:pitches (Results 1 - 21 of 21) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga_overlay.h124 * Computes the size, pitches and offsets for YUV frames.
130 * Pitches and offsets for the given YUV frame are put in 'pitches'
141 uint32 *pitches, // OUT (optional)
157 if (pitches) {
158 pitches[0] = *size;
169 if (pitches) {
170 pitches[1] = pitches[2] = tmp;
187 if (pitches) {
188 pitches[
137 VMwareVideoGetAttributes(const SVGAOverlayFormat format, uint32 *width, uint32 *height, uint32 *size, uint32 *pitches, uint32 *offsets) argument
[all...]
H A Dsvga_reg.h811 uint32 pitches[3]; member in struct:SVGAOverlayUnit
/external/libdrm/tests/modetest/
H A Dbuffers.h36 unsigned int handles[4], unsigned int pitches[4],
H A Dbuffers.c131 unsigned int handles[4], unsigned int pitches[4],
245 pitches[0] = bo->pitch;
256 pitches[0] = bo->pitch;
257 pitches[1] = pitches[0];
258 offsets[1] = pitches[0] * height;
269 pitches[0] = bo->pitch;
270 pitches[1] = pitches[0] / 2;
271 offsets[1] = pitches[
129 bo_create(int fd, unsigned int format, unsigned int width, unsigned int height, unsigned int handles[4], unsigned int pitches[4], unsigned int offsets[4], enum util_fill_pattern pattern) argument
[all...]
H A Dmodetest.c955 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; local
999 pitches, offsets, UTIL_PATTERN_TILES);
1007 handles, pitches, offsets, &p->fb_id, plane_flags)) {
1052 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; local
1076 dev->mode.height, handles, pitches, offsets,
1084 pipes[0].fourcc, handles, pitches, offsets, &fb_id, 0);
1142 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; local
1154 bo = bo_create(dev->fd, DRM_FORMAT_ARGB8888, cw, ch, handles, pitches,
1187 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; local
1195 dev->mode.height, handles, pitches, offset
[all...]
/external/drm_hwcomposer/
H A Ddrmhwcgralloc.h59 uint32_t pitches[4]; member in struct:hwc_drm_bo
H A Dplatformdrmgeneric.cpp110 bo->pitches[0] = gr_handle->stride;
115 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0);
H A Dplatformnv.cpp102 buf->bo.gem_handles, buf->bo.pitches, buf->bo.offsets,
/external/drm_gralloc/
H A Dgralloc_drm_intel.c197 uint32_t *pitches, uint32_t *offsets, uint32_t *handles)
206 memset(pitches, 0, 4 * sizeof(uint32_t));
210 pitches[0] = ib->base.handle->stride;
217 pitches[2] = pitches[0]/2;
218 pitches[1] = pitches[0]/2;
222 pitches[0] * ib->base.handle->height;
224 pitches[2] * ib->base.handle->height/2;
232 pitches[
195 intel_resolve_format(struct gralloc_drm_drv_t *drv, struct gralloc_drm_bo_t *bo, uint32_t *pitches, uint32_t *offsets, uint32_t *handles) argument
[all...]
H A Dgralloc_drm_priv.h74 uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
H A Dgralloc_drm.h121 void gralloc_drm_resolve_format(buffer_handle_t _handle, uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
H A Dgralloc_drm.cpp327 uint32_t *pitches, uint32_t *offsets, uint32_t *handles)
336 pitches, offsets, handles);
326 gralloc_drm_resolve_format(buffer_handle_t _handle, uint32_t *pitches, uint32_t *offsets, uint32_t *handles) argument
/external/libdrm/tests/kms/
H A Dlibkms-test-framebuffer.c44 uint32_t handles[4], pitches[4], offsets[4]; local
85 pitches[0] = fb->pitch;
89 pitches, offsets, &fb->id, 0);
/external/libdrm/tests/planetest/
H A Dbo.c94 uint32_t handles[4], pitches[4], offsets[4]; local
97 pitches[0] = bo->pitch;
101 pitches[1] = pitches[0];
102 offsets[1] = pitches[0] * bo->height;
106 format, handles, pitches, offsets,
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_xv.c249 int *pitches, int *offsets)
266 if (pitches) {
267 pitches[0] = size;
274 if (pitches) {
275 pitches[1] = pitches[2] = tmp;
288 if (pitches)
289 pitches[0] = size;
336 int pitches[3], offsets[3]; local
339 &w, &h, pitches, offset
246 query_image_attributes(ScrnInfoPtr pScrn, int id, unsigned short *w, unsigned short *h, int *pitches, int *offsets) argument
[all...]
/external/libvncserver/libvncclient/
H A Dh264.c592 uint8_t *nv12_y = &nv12_buf[vaImage.offsets[0] + vaImage.pitches[0] * ch_y + ch_x];
593 uint8_t *nv12_uv = &nv12_buf[vaImage.offsets[1] + vaImage.pitches[1] * (ch_y / 2) + ch_x];
608 nv12_y[vaImage.pitches[0] + src_x], nv12_y[vaImage.pitches[0] + src_x + 1] };
634 nv12_y += 2 * vaImage.pitches[0];
635 nv12_uv += vaImage.pitches[1];
/external/kernel-headers/original/uapi/drm/
H A Ddrm_mode.h367 * buffer objects with offsets and pitches per plane.
387 __u32 pitches[4]; /* pitch for each plane */ member in struct:drm_mode_fb_cmd2
/external/libdrm/include/drm/
H A Ddrm_mode.h351 * buffer objects with offsets and pitches per plane.
371 __u32 pitches[4]; /* pitch for each plane */ member in struct:drm_mode_fb_cmd2
/external/libdrm/
H A Dxf86drmMode.h370 uint32_t pitches[4], uint32_t offsets[4],
H A Dxf86drmMode.c275 uint32_t pitches[4], uint32_t offsets[4],
287 memcpy(f.pitches, pitches, 4 * sizeof(pitches[0]));
273 drmModeAddFB2(int fd, uint32_t width, uint32_t height, uint32_t pixel_format, uint32_t bo_handles[4], uint32_t pitches[4], uint32_t offsets[4], uint32_t *buf_id, uint32_t flags) argument
/external/libdrm/tests/exynos/
H A Dexynos_fimg2d_test.c720 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; local
798 pitches[0] = screen_width * 4;
803 pitches, offsets, &fb_id, 0);

Completed in 288 milliseconds