/external/mesa3d/src/gallium/drivers/svga/include/ |
svga_overlay.h | 124 * 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) { [all...] |
/external/libdrm/tests/modetest/ |
buffers.h | 36 unsigned int handles[4], unsigned int pitches[4],
|
buffers.c | 131 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[0] * height [all...] |
modetest.c | 955 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, offsets [all...] |
/hardware/intel/common/libva/test/ |
loadsurface.h | 237 unsigned int pitches[3]={0,0,0}; local 245 pitches[0] = surface_image.pitches[0]; 250 pitches[1] = surface_image.pitches[1]; 251 pitches[2] = surface_image.pitches[1]; 256 pitches[1] = surface_image.pitches[1]; 257 pitches[2] = surface_image.pitches[2] [all...] |
/external/drm_hwcomposer/ |
drmhwcgralloc.h | 59 uint32_t pitches[4]; member in struct:hwc_drm_bo
|
platformdrmgeneric.cpp | 102 bo->pitches[0] = gr_handle->stride; 107 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0);
|
/external/drm_gralloc/ |
gralloc_drm_intel.c | 197 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[1] = pitches[0] [all...] |
gralloc_drm_priv.h | 74 uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
|
gralloc_drm.h | 121 void gralloc_drm_resolve_format(buffer_handle_t _handle, uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
|
gralloc_drm.cpp | 336 uint32_t *pitches, uint32_t *offsets, uint32_t *handles) 345 pitches, offsets, handles);
|
/external/libdrm/tests/kms/ |
libkms-test-framebuffer.c | 44 uint32_t handles[4], pitches[4], offsets[4]; local 85 pitches[0] = fb->pitch; 89 pitches, offsets, &fb->id, 0);
|
/external/libdrm/tests/planetest/ |
bo.c | 94 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,
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderUtils.cpp | 604 LOG_V("pitches[0] = %d\n", destImage.pitches[0]); 605 LOG_V("pitches[1] = %d\n", destImage.pitches[1]); 628 dstY += destImage.pitches[0]; 634 dstUV += destImage.pitches[1]; 695 extbuf.pitches[0] = vinfo.lumaStride; 696 extbuf.pitches[1] = vinfo.lumaStride; 697 extbuf.pitches[2] = vinfo.lumaStride; 698 extbuf.pitches[3] = 0 [all...] |
/hardware/intel/common/libva/test/basic/ |
test_vaSurfaceAttrib.c | 123 vaSurfaceExternBuf.pitches[0] = vaSurfaceExternBuf.pitches[1] = vaSurfaceExternBuf.pitches[2] = frame_width; 126 //vaSurfaceExternBuf.pitches[0] = attribute_tpi->luma_stride;
|
/hardware/intel/img/psb_video/src/ |
psb_output.c | 318 obj_image->image.pitches[0] = pitch_pot; 319 obj_image->image.pitches[1] = pitch_pot; 335 obj_image->image.pitches[0] = 4 * pitch_pot; 349 obj_image->image.pitches[0] = 4 * pitch_pot; 363 obj_image->image.pitches[0] = pitch_pot; 377 obj_image->image.pitches[0] = pitch_pot; 378 obj_image->image.pitches[1] = pitch_pot / 2; 379 obj_image->image.pitches[2] = pitch_pot / 2; 396 obj_image->image.pitches[0] = pitch_pot; 397 obj_image->image.pitches[1] = pitch_pot [all...] |
/hardware/intel/common/libva/test/videoprocess/ |
videoprocess.cpp | 232 memset(y_dst, max_luma + 1, surface_image.pitches[0]); 234 memset(y_dst, (min_luma + max_luma) / 2, surface_image.pitches[0]); 236 y_dst += surface_image.pitches[0]; 245 u_dst += surface_image.pitches[1]; 304 y_dst += surface_image.pitches[0]; 320 v_dst += surface_image.pitches[1]; 321 u_dst += surface_image.pitches[2]; 323 v_dst += surface_image.pitches[2]; 324 u_dst += surface_image.pitches[1]; 334 u_dst += surface_image.pitches[1] [all...] |
/hardware/intel/common/utils/ISV/base/ |
isv_worker.cpp | 238 vaExtBuf.pitches[0] = stride; 239 vaExtBuf.pitches[1] = stride / 2; 240 vaExtBuf.pitches[2] = stride / 2; 241 vaExtBuf.pitches[3] = 0; 250 vaExtBuf.pitches[0] = stride; 251 vaExtBuf.pitches[1] = stride / 2; 252 vaExtBuf.pitches[2] = stride / 2; 253 vaExtBuf.pitches[3] = 0; 271 vaExtBuf.pitches[0] = stride; 272 vaExtBuf.pitches[1] = stride [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_xv.c | 249 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, offsets) [all...] |
/bootable/recovery/minui/ |
graphics_drm.cpp | 140 uint32_t handles[4], pitches[4], offsets[4]; local 143 pitches[0] = create_dumb.pitch; 147 drmModeAddFB2(drm_fd, width, height, format, handles, pitches, offsets, &(surface->fb_id), 0);
|
/hardware/qcom/display/msm8998/libdrmutils/ |
drm_master.cpp | 104 copy(begin(drm_buffer.stride), end(drm_buffer.stride), begin(cmd2.pitches));
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderBase.cpp | 918 mVASurfaceAttrib->pitches[0] = mConfigBuffer.graphicBufferHStride; 919 mVASurfaceAttrib->pitches[1] = mConfigBuffer.graphicBufferHStride; 920 mVASurfaceAttrib->pitches[2] = 0; 921 mVASurfaceAttrib->pitches[3] = 0; [all...] |
/external/libvncserver/libvncclient/ |
h264.c | 592 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];
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 606 uint32_t pitches[4] = {0}; local 614 pitches[0] = stride * DrmConfig::getFrameBufferBpp() / 8; 622 pitches,
|
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
VirtualDevice.cpp | 160 buf.pitches[0] = stride; 161 buf.pitches[1] = stride; 162 buf.pitches[2] = stride; 163 buf.pitches[3] = 0; 173 buf.pitches[0] = stride; 174 buf.pitches[1] = stride; 175 buf.pitches[2] = 0; 176 buf.pitches[3] = 0; [all...] |