You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create a opencl surface from libva surface, it fails when the color fomat is VA_FOURCC_ABGR. Added color format support as below, but the result still turns out to be wrong.
The background is to do JPEG encoding with Intel VPL. Basic steps are:
create opencl memory object from mfxSurfaceVAAPI with clCreateFromVA_APIMediaSurfaceINTEL
opencl kernel inference to implement RGB to BGRA conversion
VPL do JPEG encoding
The demo works well for encodeParams.mfx.FrameInfo.FourCC = MFX_FOURCC_RGB4 result as below:
While for encodeParams.mfx.FrameInfo.FourCC = MFX_FOURCC_BGR4, it goes wrong:
As the only difference is the format support of clCreateFromVA_APIMediaSurfaceINTEL, so open an issue here to ask new feature added for VA_FOURCC_ABGR.
The text was updated successfully, but these errors were encountered:
To create a opencl surface from libva surface, it fails when the color fomat is VA_FOURCC_ABGR. Added color format support as below, but the result still turns out to be wrong.
The background is to do JPEG encoding with Intel VPL. Basic steps are:
The demo works well for encodeParams.mfx.FrameInfo.FourCC = MFX_FOURCC_RGB4 result as below:
While for encodeParams.mfx.FrameInfo.FourCC = MFX_FOURCC_BGR4, it goes wrong:
As the only difference is the format support of clCreateFromVA_APIMediaSurfaceINTEL, so open an issue here to ask new feature added for VA_FOURCC_ABGR.
The text was updated successfully, but these errors were encountered: