Skip to content

Commit

Permalink
[RT Common] Enable R16 and RGB16 for media copy
Browse files Browse the repository at this point in the history
Enable media copy for format R16 and ARGB16 for ARRIRAW VPP CameraPipe
performance optimization.
  • Loading branch information
jinyuan-dev authored and gfxVPLsdm committed May 28, 2024
1 parent 3f51a9f commit 496a9da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _studio/shared/src/libmfx_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ mfxStatus mfxDefaultAllocator::GetSurfaceSizeInBytes(mfxU32 pitch, mfxU32 height
case MFX_FOURCC_Y216:
case MFX_FOURCC_P8_TEXTURE:
case MFX_FOURCC_YUV400:
case MFX_FOURCC_R16:
case MFX_FOURCC_ARGB16:
case MFX_FOURCC_ABGR16:
nBytes = pitch * height;
break;
case MFX_FOURCC_ABGR16F:
Expand Down

0 comments on commit 496a9da

Please sign in to comment.