How to do BT709 full range color conversion ?

When rendering video frames with sdl2, the color is displayed incorrectly.
Even if SDL_SetYUVConversionMode(SDL_YUV_CONVERSION_BT709) is called;
the color is not displayed correctly.

Verify with yuv viewer, if the color conversion is set to BT709 Full Range, it is correct.

How to set BT709 full range color conversion correctly in sdl2 ?


1 Like

solved by using libyuv I420ToARGBMatrixFilter