frontends/va: Change default fourcc for RGB 10bit to X2R10G10B10

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32252>
This commit is contained in:
David Rosca 2024-11-20 11:20:33 +01:00 committed by Marge Bot
parent 3e3eb62cae
commit 7d1ce3d802

View File

@ -1059,7 +1059,7 @@ rt_format_to_fourcc(uint32_t format)
case VA_RT_FORMAT_RGB32:
return VA_FOURCC_BGRA;
case VA_RT_FORMAT_RGB32_10:
return VA_FOURCC('A','B','3','0');
return VA_FOURCC_X2R10G10B10;
default:
return 0;
}