Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-04-09 Thread Louis Chauvet
Le 09/04/24 - 10:58, Pekka Paalanen a écrit : > On Mon, 8 Apr 2024 09:50:19 +0200 > Louis Chauvet wrote: > > > Le 27/03/24 - 16:23, Pekka Paalanen a écrit : > > > On Wed, 13 Mar 2024 18:45:05 +0100 > > > Louis Chauvet wrote: > > > > > > > From: Arthur Grillo > > > > > > > > Add support to t

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-04-09 Thread Pekka Paalanen
On Mon, 8 Apr 2024 09:50:19 +0200 Louis Chauvet wrote: > Le 27/03/24 - 16:23, Pekka Paalanen a écrit : > > On Wed, 13 Mar 2024 18:45:05 +0100 > > Louis Chauvet wrote: > > > > > From: Arthur Grillo > > > > > > Add support to the YUV formats bellow: > > > > > > - NV12/NV16/NV24 > > > - NV21/

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-04-08 Thread Louis Chauvet
Le 27/03/24 - 13:11, Philipp Zabel a écrit : > Hi Louis, > > On Mi, 2024-03-13 at 18:45 +0100, Louis Chauvet wrote: > > From: Arthur Grillo > > > > Add support to the YUV formats bellow: > > > > - NV12/NV16/NV24 > > - NV21/NV61/NV42 > > - YUV420/YUV422/YUV444 > > - YVU420/YVU422/YVU444 > > > >

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-04-08 Thread Louis Chauvet
Le 27/03/24 - 14:59, Pekka Paalanen a écrit : > On Tue, 26 Mar 2024 16:57:03 +0100 > Louis Chauvet wrote: > > > Le 25/03/24 - 11:26, Maíra Canal a écrit : > > > On 3/13/24 14:45, Louis Chauvet wrote: > > > > From: Arthur Grillo > > > > > > > > Add support to the YUV formats bellow: > > > > >

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-04-08 Thread Louis Chauvet
Le 27/03/24 - 16:23, Pekka Paalanen a écrit : > On Wed, 13 Mar 2024 18:45:05 +0100 > Louis Chauvet wrote: > > > From: Arthur Grillo > > > > Add support to the YUV formats bellow: > > > > - NV12/NV16/NV24 > > - NV21/NV61/NV42 > > - YUV420/YUV422/YUV444 > > - YVU420/YVU422/YVU444 > > > > The co

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-27 Thread Pekka Paalanen
On Wed, 13 Mar 2024 18:45:05 +0100 Louis Chauvet wrote: > From: Arthur Grillo > > Add support to the YUV formats bellow: > > - NV12/NV16/NV24 > - NV21/NV61/NV42 > - YUV420/YUV422/YUV444 > - YVU420/YVU422/YVU444 > > The conversion from yuv to rgb is done with fixed-point arithmetic, using > 32

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-27 Thread Pekka Paalanen
On Tue, 26 Mar 2024 16:57:03 +0100 Louis Chauvet wrote: > Le 25/03/24 - 11:26, Maíra Canal a écrit : > > On 3/13/24 14:45, Louis Chauvet wrote: > > > From: Arthur Grillo > > > > > > Add support to the YUV formats bellow: > > > > > > - NV12/NV16/NV24 > > > - NV21/NV61/NV42 > > > - YUV420/YUV4

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-27 Thread Philipp Zabel
Hi Louis, On Mi, 2024-03-13 at 18:45 +0100, Louis Chauvet wrote: > From: Arthur Grillo > > Add support to the YUV formats bellow: > > - NV12/NV16/NV24 > - NV21/NV61/NV42 > - YUV420/YUV422/YUV444 > - YVU420/YVU422/YVU444 > > The conversion from yuv to rgb is done with fixed-point arithmetic, us

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-26 Thread Louis Chauvet
Le 25/03/24 - 11:26, Maíra Canal a écrit : > On 3/13/24 14:45, Louis Chauvet wrote: > > From: Arthur Grillo > > > > Add support to the YUV formats bellow: > > > > - NV12/NV16/NV24 > > - NV21/NV61/NV42 > > - YUV420/YUV422/YUV444 > > - YVU420/YVU422/YVU444 > > > > The conversion from yuv to rgb i

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-25 Thread Maíra Canal
On 3/13/24 14:45, Louis Chauvet wrote: From: Arthur Grillo Add support to the YUV formats bellow: - NV12/NV16/NV24 - NV21/NV61/NV42 - YUV420/YUV422/YUV444 - YVU420/YVU422/YVU444 The conversion from yuv to rgb is done with fixed-point arithmetic, using 32.32 floats and the drm_fixed helpers.

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-14 Thread Louis Chauvet
Le 13/03/24 - 12:20, Randy Dunlap a écrit : > Hi, > > On 3/13/24 10:45, Louis Chauvet wrote: > > From: Arthur Grillo > > > > > > > Signed-off-by: Arthur Grillo > > [Louis Chauvet: > > - Adapted Arthur's work > > - Implemented the read_line_t callbacks for yuv > > - add struct conversion_matri

Re: [PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-13 Thread Randy Dunlap
Hi, On 3/13/24 10:45, Louis Chauvet wrote: > From: Arthur Grillo > > > Signed-off-by: Arthur Grillo > [Louis Chauvet: > - Adapted Arthur's work > - Implemented the read_line_t callbacks for yuv > - add struct conversion_matrix > - remove struct pixel_yuv_u8 > - update the commit message > - M

[PATCH v5 11/16] drm/vkms: Add YUV support

2024-03-13 Thread Louis Chauvet
From: Arthur Grillo Add support to the YUV formats bellow: - NV12/NV16/NV24 - NV21/NV61/NV42 - YUV420/YUV422/YUV444 - YVU420/YVU422/YVU444 The conversion from yuv to rgb is done with fixed-point arithmetic, using 32.32 floats and the drm_fixed helpers. To do the conversion, a specific matrix m