• Home
  • Raw
  • Download

Lines Matching refs:surfExtBuf

1319     VASurfaceAttribExternalBuffers surfExtBuf;  in createSurfaceFromHandle()  local
1320 surfExtBuf.num_buffers = 1; in createSurfaceFromHandle()
1321 surfExtBuf.pixel_format = VA_FOURCC_NV12; in createSurfaceFromHandle()
1322 surfExtBuf.width = mVideoFormatInfo.surfaceWidth; in createSurfaceFromHandle()
1323 surfExtBuf.height = mVideoFormatInfo.surfaceHeight; in createSurfaceFromHandle()
1324 surfExtBuf.data_size = mConfigBuffer.graphicBufferStride * mVideoFormatInfo.surfaceHeight * 1.5; in createSurfaceFromHandle()
1325 surfExtBuf.num_planes = 2; in createSurfaceFromHandle()
1326 surfExtBuf.pitches[0] = mConfigBuffer.graphicBufferStride; in createSurfaceFromHandle()
1327 surfExtBuf.pitches[1] = mConfigBuffer.graphicBufferStride; in createSurfaceFromHandle()
1328 surfExtBuf.pitches[2] = 0; in createSurfaceFromHandle()
1329 surfExtBuf.pitches[3] = 0; in createSurfaceFromHandle()
1330 surfExtBuf.offsets[0] = 0; in createSurfaceFromHandle()
1331 surfExtBuf.offsets[1] = mConfigBuffer.graphicBufferStride * mVideoFormatInfo.surfaceHeight; in createSurfaceFromHandle()
1332 surfExtBuf.offsets[2] = 0; in createSurfaceFromHandle()
1333 surfExtBuf.offsets[3] = 0; in createSurfaceFromHandle()
1334 surfExtBuf.private_data = (void *)mConfigBuffer.nativeWindow; in createSurfaceFromHandle()
1335 surfExtBuf.flags = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in createSurfaceFromHandle()
1337 surfExtBuf.flags |= VA_SURFACE_EXTBUF_DESC_ENABLE_TILING; in createSurfaceFromHandle()
1340 surfExtBuf.buffers = (long unsigned int*)&(mConfigBuffer.graphicBufferHandler[index]); in createSurfaceFromHandle()
1350 attribs[1].value.value.p = (void *)&surfExtBuf; in createSurfaceFromHandle()