amd/vpelib: Input Format Adjustment

Reviewed-by: Jiali Zhao <Jiali.Zhao@amd.com>
Reviewed-by: Jesse Agate <Jesse.Agate@amd.com>
Acked-by: Chenyu Chen <Chen-Yu.Chen@amd.com>
Signed-off-by: Evan <evan.damphousse@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31918>
This commit is contained in:
Evan
2024-09-24 14:06:06 -04:00
committed by Marge Bot
parent d1b790c028
commit c3c80491f9

View File

@@ -178,10 +178,10 @@ bool vpe_is_yuv444_10(enum vpe_surface_pixel_format format)
return false;
}
}
bool vpe_is_yuv444(enum vpe_surface_pixel_format format)
{
return (vpe_is_yuv444_8(format) || vpe_is_yuv444_10(format));
return (vpe_is_yuv444_8(format) ||
vpe_is_yuv444_10(format));
}
bool vpe_is_yuv(enum vpe_surface_pixel_format format)