Skip to content

gallium/auxiliary/vl: Fix RGB->YCbCr full range matrix

David Rosca requested to merge nowrep/mesa:vl-rgbyuv into main

What does this MR do and why?

gallium/auxiliary/vl: Fix RGB->YCbCr full range matrix

Also rename it to bt_709_rev_full as there already is bt_709 which is used for YCbCr->RGB.

Fixes: 8a21efce ("frontends/va: Add postproc support for converting to full range")

The values should be correct now, according to https://en.wikipedia.org/wiki/YCbCr#ITU-R_BT.709_conversion . Playing back the video in mpv looks correct.

Merge request reports