[PATCH 25/25] drm/armada: add iturbt_709 plane property to control YUV colorspace

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Dec 13 16:22:14 UTC 2017


On Wed, Dec 13, 2017 at 11:12:18AM -0500, Ilia Mirkin wrote:
> On Wed, Dec 13, 2017 at 10:41 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> > Hi Russell,
> >
> > On 8 December 2017 at 12:31, Russell King <rmk+kernel at armlinux.org.uk> wrote:
> >> Add the defacto-standard "iturbt_709" property to the overlay plane to
> >> control the YUV to RGB colorspace conversion.  This is mutually
> >> exclusive with the CSC_YUV CRTC property - the last property to be set
> >> determines the resulting colorspace conversion.
> >
> > I haven't seen this in other drivers - is it a 'defacto standard'? I
> 
> xf86-video-nv supported it, and I added it to nouveau as well when I
> ported YUV plane support. Some video players use the Xv property when
> available.
> 
> https://cgit.freedesktop.org/xorg/driver/xf86-video-nv/tree/src/nv_video.c#n128
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/nouveau/dispnv04/overlay.c?h=v4.15-rc3#n316

   {XvSettable | XvGettable, 0, 1, "XV_ITURBT_709"}

Who came up with that and when? XV_COLORSPACE was the one semi-standard
I know of.


> 
> Cheers,
> 
>   -ilia
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list