Lines Matching refs:surfExtBuf

1324     VASurfaceAttribExternalBuffers surfExtBuf;  in createSurfaceFromHandle()  local
1325 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()
1329surfExtBuf.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()
1334 surfExtBuf.pitches[3] = 0; in createSurfaceFromHandle()
1335 surfExtBuf.offsets[0] = 0; in createSurfaceFromHandle()
1336 surfExtBuf.offsets[1] = mConfigBuffer.graphicBufferHStride * mConfigBuffer.graphicBufferVStride; in createSurfaceFromHandle()
1337 surfExtBuf.offsets[2] = 0; in createSurfaceFromHandle()
1338 surfExtBuf.offsets[3] = 0; in createSurfaceFromHandle()
1339 surfExtBuf.private_data = (void *)mConfigBuffer.nativeWindow; in createSurfaceFromHandle()
1340 surfExtBuf.flags = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in createSurfaceFromHandle()
1342 surfExtBuf.flags |= VA_SURFACE_EXTBUF_DESC_ENABLE_TILING; in createSurfaceFromHandle()
1345 surfExtBuf.buffers = (long unsigned int*)&(mConfigBuffer.graphicBufferHandler[index]); in createSurfaceFromHandle()
1355 attribs[1].value.value.p = (void *)&surfExtBuf; in createSurfaceFromHandle()