Searched refs:vaExtBuf (Results 1 – 1 of 1) sorted by relevance
231 VASurfaceAttribExternalBuffers vaExtBuf; in allocSurface() local233 memset(&vaExtBuf, 0, sizeof(VASurfaceAttribExternalBuffers)); in allocSurface()236 vaExtBuf.pixel_format = VA_FOURCC_YV12; in allocSurface()237 vaExtBuf.num_planes = 3; in allocSurface()238 vaExtBuf.pitches[0] = stride; in allocSurface()239 vaExtBuf.pitches[1] = stride / 2; in allocSurface()240 vaExtBuf.pitches[2] = stride / 2; in allocSurface()241 vaExtBuf.pitches[3] = 0; in allocSurface()242 vaExtBuf.offsets[0] = 0; in allocSurface()243 vaExtBuf.offsets[1] = stride * *height; in allocSurface()[all …]