]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/media/v4l2-mediabus.h
[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)
commit74fdcb2ee1786a92584e89c91006e449813527ce
tree7463ad10b2bfb97ccba2197cd797464417ac1ce9
parentaf8a819a2513df4be461c6a29e3bdee6e23cf3be
[media] videodev2.h: add support for transfer functions

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