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

From: Maxime Ripard
Date: Sun Jan 26 2025 - 12:06:55 EST


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: signature.asc
Description: PGP signature