Lines Matching refs:vaSurfaceAttrib
157 VASurfaceAttributeTPI *vaSurfaceAttrib = &attribTpi; in createVaSurface() local
195 vaSurfaceAttrib->count = 1; in createVaSurface()
196 vaSurfaceAttrib->width = width; in createVaSurface()
197 vaSurfaceAttrib->height = height; in createVaSurface()
198 vaSurfaceAttrib->pixel_format = payload->format; in createVaSurface()
199 vaSurfaceAttrib->type = VAExternalMemoryKernelDRMBufffer; in createVaSurface()
200 vaSurfaceAttrib->tiling = payload->tiling; in createVaSurface()
201 vaSurfaceAttrib->size = (stride * bufferHeight * 3) / 2; in createVaSurface()
202 vaSurfaceAttrib->luma_offset = 0; in createVaSurface()
203 vaSurfaceAttrib->chroma_v_offset = stride * bufferHeight; in createVaSurface()
204 vaSurfaceAttrib->luma_stride = vaSurfaceAttrib->chroma_u_stride in createVaSurface()
205 = vaSurfaceAttrib->chroma_v_stride in createVaSurface()
207 vaSurfaceAttrib->chroma_u_offset = vaSurfaceAttrib->chroma_v_offset; in createVaSurface()
208 vaSurfaceAttrib->buffers = &buffers; in createVaSurface()
218 vaSurfaceAttrib->buffers[0] = (uintptr_t) khandle; in createVaSurface()
222 vaSurfaceAttrib->buffers[0] = (uintptr_t) payload->khandle; in createVaSurface()
241 vaSurfaceAttrib); in createVaSurface()