[media] videodev2.h: add support for transfer functions
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 28 Apr 2015 11:49:09 +0000 (08:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 14:45:45 +0000 (11:45 -0300)
In the past the transfer function was implied by the colorspace. However,
it is an independent entity in its own right. Add support for explicitly
choosing the transfer function.

This change will allow us to represent linear RGB (as is used by openGL), and
it will make it easier to work with decoded video material since most codecs
store the transfer function as a separate property as well.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-ioctl.c
include/media/v4l2-mediabus.h
include/uapi/linux/v4l2-mediabus.h
include/uapi/linux/videodev2.h

Simple merge
Simple merge
Simple merge
Simple merge