mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 04:04:23 +08:00
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:
parent
3e3eb62cae
commit
7d1ce3d802
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user