intel / libvpl

Intel® Video Processing Library (Intel® VPL) API, dispatcher, and examples
https://intel.github.io/libvpl/
MIT License
262 stars 80 forks source link

Wrong chroma loading for NV12 colorspace #9

Closed Fantast34 closed 3 years ago

Fantast34 commented 3 years ago

CSmplYUVReader::LoadNextFrame(mfxFrameSurface1* pSurface) produce surface with wrong chroma samples for NV12 colorspace.

NV12 is interleaved colorspace so Reader should use the same logic as for P010 colorspace. Please see the same code in legacy media SDK, Reader works correctly there.

mav-intel commented 3 years ago

Fixed in v2021.4.0 (d5c0725)