Re: [PATCH v16 5/7] drm/vkms: Create KUnit tests for YUV conversions

Maxime Ripard
2025-01-26T17:06:47Z

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

On Tue, Jan 21, 2025 at 11:48:06AM +0100, Louis Chauvet wrote:
> +static struct yuv_u8_to_argb_u16_case yuv_u8_to_argb_u16_cases[] = {
> + /*
> + * colour.RGB_to_YCbCr(<rgb color in 16 bit form>,
> + * K=colour.WEIGHTS_YCBCR["ITU-R BT.601"],
> + * in_bits = 16,
> + * in_legal = False,
> + * in_int = True,
> + * out_bits = 8,
> + * out_legal = False,
> + * out_int = True)
> + *
> + * Test cases for conversion between YUV BT601 full range and RGB
> + * using the ITU-R BT.601 weights.
> + */

What are the input and output formats?

Ditto for all the other tests.

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]