Lines Matching refs:mVinfo

271     memset(&mVinfo, 0, sizeof(ValueInfo));  in VASurfaceMap()
294 int width = mVASurfaceWidth = mVinfo.width; in doMapping()
295 int height = mVASurfaceHeight = mVinfo.height; in doMapping()
296 int stride = mVASurfaceStride = mVinfo.lumaStride; in doMapping()
301 if (mVinfo.mode != MEM_MODE_GFXHANDLE) in doMapping()
391 LOG_V("MappingToVASurface mode=%d, value=%p\n", mVinfo.mode, (void*)mValue); in MappingToVASurface()
394 switch (mVinfo.mode) { in MappingToVASurface()
417 LOG_I("UnSupported memory mode 0x%08x", mVinfo.mode); in MappingToVASurface()
421 …%x, lumaStride=%d, width=%d, height=%d\n", mode, mVinfo.format, mVinfo.lumaStride, mVinfo.width, m… in MappingToVASurface()
443 (VADisplay)mVinfo.handle, (VASurfaceID)value, in MappingSurfaceID()
453 vaStatus = vaUnlockSurface((VADisplay)mVinfo.handle, (VASurfaceID)value); in MappingSurfaceID()
456 mVinfo.mode = MEM_MODE_KBUFHANDLE; in MappingSurfaceID()
457 mVinfo.size = mVinfo.lumaStride * mVinfo.height * 1.5; in MappingSurfaceID()
459 mVASurface = CreateSurfaceFromExternalBuf(kBufHandle, mVinfo); in MappingSurfaceID()
463 mVASurfaceWidth = mVinfo.width; in MappingSurfaceID()
464 mVASurfaceHeight = mVinfo.height; in MappingSurfaceID()
465 mVASurfaceStride = mVinfo.lumaStride; in MappingSurfaceID()
472 LOG_V("format = 0x%08x, lumaStride = %d in ValueInfo\n", mVinfo.format, mVinfo.lumaStride); in MappingGfxHandle()
475 mVASurfaceWidth = mVinfo.width; in MappingGfxHandle()
476 mVASurfaceHeight = mVinfo.height; in MappingGfxHandle()
477 mVASurfaceStride = mVinfo.lumaStride; in MappingGfxHandle()
509 mVinfo.size = mVinfo.lumaStride * mVinfo.height * 1.5; in MappingKbufHandle()
510 mVASurface = CreateSurfaceFromExternalBuf(value, mVinfo); in MappingKbufHandle()
514 mVASurfaceWidth = mVinfo.width; in MappingKbufHandle()
515 mVASurfaceHeight = mVinfo.height; in MappingKbufHandle()
516 mVASurfaceStride = mVinfo.lumaStride; in MappingKbufHandle()
523 mVASurface = CreateSurfaceFromExternalBuf(value, mVinfo); in MappingMallocPTR()
527 mVASurfaceWidth = mVinfo.width; in MappingMallocPTR()
528 mVASurfaceHeight = mVinfo.height; in MappingMallocPTR()
529 mVASurfaceStride = mVinfo.lumaStride; in MappingMallocPTR()
545 if (mVinfo.mode != MEM_MODE_MALLOC && mVinfo.mode != MEM_MODE_GFXHANDLE) { in doActionCopy()
546 LOG_E("Not support copy in mode %d", mVinfo.mode); in doActionCopy()
552 mVinfo.mode, mVinfo.width, mVinfo.lumaStride, mVinfo.height); in doActionCopy()
557 if (mVinfo.mode == MEM_MODE_MALLOC) { in doActionCopy()
558 width = mVinfo.width; in doActionCopy()
559 height = mVinfo.height; in doActionCopy()
560 stride = mVinfo.lumaStride; in doActionCopy()
656 if (mVinfo.mode == MEM_MODE_GFXHANDLE) { in doActionCopy()
674 LOG_V("doActionColConv gfx_Blit width=%d, height=%d\n", mVinfo.width, mVinfo.height); in doActionColConv()
676 mVinfo.width, mVinfo.height, 0, 0) != 0) in doActionColConv()