Lines Matching refs:mVASurface
257 mVASurface = VA_INVALID_SURFACE;
268 if (!mTracked && (mVASurface != VA_INVALID_SURFACE))
269 vaDestroySurfaces(mVADisplay, &mVASurface, 1);
281 if (mVASurface == VA_INVALID_SURFACE) {
335 mVASurface = CreateNewVASurface(mVADisplay, stride, height);
336 if (mVASurface == VA_INVALID_SURFACE)
376 if (mVASurface != VA_INVALID_SURFACE) {
411 LOG_V("vaSurface 0x%08x is created for value = 0x%p\n", mVASurface, (void*)mValue);
447 mVASurface = CreateSurfaceFromExternalBuf(kBufHandle, mVinfo);
448 if (mVASurface == VA_INVALID_SURFACE)
486 mVASurface = CreateSurfaceFromExternalBuf(value, vinfo);
487 if (mVASurface == VA_INVALID_SURFACE)
498 mVASurface = CreateSurfaceFromExternalBuf(value, mVinfo);
499 if (mVASurface == VA_INVALID_SURFACE)
511 mVASurface = CreateSurfaceFromExternalBuf(value, mVinfo);
512 if (mVASurface == VA_INVALID_SURFACE)
598 vaStatus = vaDeriveImage(mVADisplay, mVASurface, &destImage);