mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 10:08:17 +02:00
amd/vpelib: Add RGB 601 Primaires to BG Color
[WHY] RGB 601 Primaries are missing from vpe_is_limited_cs [HOW] Add 601 primaries to the switch statement Acked-by: Chuanyu Tseng <Chuanyu.Tseng@amd.com> Signed-Off-by: Jesse Agate <Jesse.Agate@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39848>
This commit is contained in:
parent
edf352a71a
commit
39187b36b5
1 changed files with 2 additions and 0 deletions
|
|
@ -382,6 +382,7 @@ bool vpe_is_limited_cs(enum color_space cs)
|
|||
|
||||
switch (cs)
|
||||
{
|
||||
case COLOR_SPACE_RGB601:
|
||||
case COLOR_SPACE_SRGB:
|
||||
case COLOR_SPACE_2020_RGB_FULLRANGE:
|
||||
case COLOR_SPACE_MSREF_SCRGB:
|
||||
|
|
@ -392,6 +393,7 @@ bool vpe_is_limited_cs(enum color_space cs)
|
|||
case COLOR_SPACE_2020_YCBCR:
|
||||
is_limited = false;
|
||||
break;
|
||||
case COLOR_SPACE_RGB601_LIMITED:
|
||||
case COLOR_SPACE_SRGB_LIMITED:
|
||||
case COLOR_SPACE_YCBCR601_LIMITED:
|
||||
case COLOR_SPACE_YCBCR709_LIMITED:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue