amd/vpelib: revert SRGB to 709
Acked-by: Alan Liu <haoping.liu@amd.com> Signed-off-by: Tiberiu Visan <Tiberiu.Visan@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26841>
This commit is contained in:
committed by
Marge Bot
parent
6d19aca144
commit
258acf0227
@@ -720,7 +720,7 @@ void vpe_color_get_color_space_and_tf(
|
||||
if (vcs->encoding == VPE_PIXEL_ENCODING_YCbCr) {
|
||||
switch (vcs->tf) {
|
||||
case VPE_TF_G22:
|
||||
*tf = TRANSFER_FUNC_SRGB;
|
||||
*tf = TRANSFER_FUNC_BT709;
|
||||
break;
|
||||
case VPE_TF_G24:
|
||||
*tf = TRANSFER_FUNC_BT1886;
|
||||
|
||||
Reference in New Issue
Block a user