Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-12-07 Thread Hans Verkuil
On 12/07/2018 03:30 PM, Mauro Carvalho Chehab wrote: > Em Thu, 6 Sep 2018 11:02:28 +0200 > Hans Verkuil escreveu: > >> Hi Philipp, >> >> It is much appreciated that this old RFC of mine is picked up again. >> I always wanted to get this in, but I never had a driver where it would >> make sense

Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-12-07 Thread Mauro Carvalho Chehab
Em Thu, 6 Sep 2018 11:02:28 +0200 Hans Verkuil escreveu: > Hi Philipp, > > It is much appreciated that this old RFC of mine is picked up again. > I always wanted to get this in, but I never had a driver where it would > make sense to do so. What's the status of this? Hans, As this is an old

Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-09-06 Thread Philipp Zabel
On Thu, 2018-09-06 at 12:54 +0200, Hans Verkuil wrote: [...] > > The application usually doesn't need to know whether the driver changed > > the requested ycbcr_enc because it doesn't have CSC matrix support at > > all, or because it doesn't implement a specific conversion. And if the > >

Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-09-06 Thread Hans Verkuil
On 09/06/18 11:50, Philipp Zabel wrote: > On Thu, 2018-09-06 at 11:02 +0200, Hans Verkuil wrote: >> Hi Philipp, >> >> It is much appreciated that this old RFC of mine > > Right, I should have made clearer that this is just a rework of Hans' > original RFC in [1]. > > [1]

Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-09-06 Thread Philipp Zabel
On Thu, 2018-09-06 at 11:02 +0200, Hans Verkuil wrote: > Hi Philipp, > > It is much appreciated that this old RFC of mine Right, I should have made clearer that this is just a rework of Hans' original RFC in [1]. [1] https://patchwork.linuxtv.org/patch/28847/ > is picked up again. I always

Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-09-06 Thread Hans Verkuil
Hi Philipp, It is much appreciated that this old RFC of mine is picked up again. I always wanted to get this in, but I never had a driver where it would make sense to do so. On 09/05/2018 07:09 PM, Philipp Zabel wrote: > For video capture it is the driver that reports the colorspace, add:

[PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-09-05 Thread Philipp Zabel
For video capture it is the driver that reports the colorspace, Y'CbCr/HSV encoding and quantization range used by the video, and there is no way to request something different, even though many HDTV receivers have some sort of colorspace conversion capabilities. For output video this feature