Re: [PATCH v6 18/44] drm/vkms: Use s32 for internal color pipeline precision

2024-12-18 Thread Harry Wentland
On 2024-10-04 07:43, Louis Chauvet wrote: > On 03/10/24 - 16:01, Harry Wentland wrote: >> Certain operations require us to preserve values below 0.0 and >> above 1.0 (0x0 and 0x respectively in 16 bpc unorm). One >> such operation is a BT709 encoding operation followed by its >> decoding ope

Re: [PATCH v6 18/44] drm/vkms: Use s32 for internal color pipeline precision

2024-10-04 Thread Louis Chauvet
On 03/10/24 - 16:01, Harry Wentland wrote: > Certain operations require us to preserve values below 0.0 and > above 1.0 (0x0 and 0x respectively in 16 bpc unorm). One > such operation is a BT709 encoding operation followed by its > decoding operation, or the reverse. > > We'll use s32 values a

[PATCH v6 18/44] drm/vkms: Use s32 for internal color pipeline precision

2024-10-03 Thread Harry Wentland
Certain operations require us to preserve values below 0.0 and above 1.0 (0x0 and 0x respectively in 16 bpc unorm). One such operation is a BT709 encoding operation followed by its decoding operation, or the reverse. We'll use s32 values as intermediate in and outputs of our color operations,