Lines Matching refs:surfExtBuf
276 VASurfaceAttribExternalBuffers* surfExtBuf = new VASurfaceAttribExternalBuffers; in ProcessorInit() local
279 surfExtBuf->buffers= (unsigned long *)&buffer; in ProcessorInit()
280 surfExtBuf->num_buffers = 1; in ProcessorInit()
281 surfExtBuf->pixel_format = VA_FOURCC_NV12; in ProcessorInit()
282 surfExtBuf->width = surfaceWidth; in ProcessorInit()
283 surfExtBuf->height = surfaceHeight; in ProcessorInit()
284 surfExtBuf->data_size = surfaceHStride * surfaceVStride * 1.5; in ProcessorInit()
285 surfExtBuf->num_planes = 2; in ProcessorInit()
286 surfExtBuf->pitches[0] = surfaceHStride; in ProcessorInit()
287 surfExtBuf->pitches[1] = surfaceHStride; in ProcessorInit()
288 surfExtBuf->pitches[2] = 0; in ProcessorInit()
289 surfExtBuf->pitches[3] = 0; in ProcessorInit()
290 surfExtBuf->offsets[0] = 0; in ProcessorInit()
291 surfExtBuf->offsets[1] = surfaceHStride * surfaceVStride; in ProcessorInit()
292 surfExtBuf->offsets[2] = 0; in ProcessorInit()
293 surfExtBuf->offsets[3] = 0; in ProcessorInit()
294 surfExtBuf->flags = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in ProcessorInit()
296 surfExtBuf->buffers[0] = (unsigned int)buf_hdr->pBuffer; in ProcessorInit()
306 attribs[1].value.value.p = (void *)surfExtBuf; in ProcessorInit()
322 delete surfExtBuf; in ProcessorInit()