Searched refs:surfExtBuf (Results 1 – 2 of 2) sorted by relevance
276 VASurfaceAttribExternalBuffers* surfExtBuf = new VASurfaceAttribExternalBuffers; in ProcessorInit() local279 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()[all …]
1324 VASurfaceAttribExternalBuffers surfExtBuf; in createSurfaceFromHandle() local1325 surfExtBuf.num_buffers = 1; in createSurfaceFromHandle()1326 surfExtBuf.pixel_format = VA_FOURCC_NV12; in createSurfaceFromHandle()1327 surfExtBuf.width = mVideoFormatInfo.surfaceWidth; in createSurfaceFromHandle()1328 surfExtBuf.height = mVideoFormatInfo.surfaceHeight; in createSurfaceFromHandle()1329 …surfExtBuf.data_size = mConfigBuffer.graphicBufferHStride * mConfigBuffer.graphicBufferVStride * 1… in createSurfaceFromHandle()1330 surfExtBuf.num_planes = 2; in createSurfaceFromHandle()1331 surfExtBuf.pitches[0] = mConfigBuffer.graphicBufferHStride; in createSurfaceFromHandle()1332 surfExtBuf.pitches[1] = mConfigBuffer.graphicBufferHStride; in createSurfaceFromHandle()1333 surfExtBuf.pitches[2] = 0; in createSurfaceFromHandle()[all …]