]> git.baikalelectronics.ru Git - kernel.git/commit
[media] videodev2.h: add macros to map colorspace defaults
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 May 2015 12:29:09 +0000 (09:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:39:21 +0000 (11:39 -0300)
commit9ce8b97510eb91e1ed418c7b148cd49fb171373f
tree5a02f4238f207cb4d445fab4faafaa29275a3cd9
parentbd636c8a73741dfbfb366100416f26ac1161087d
[media] videodev2.h: add macros to map colorspace defaults

The mapping of COLORSPACE_DEFAULT, YCBCR_ENC_DEFAULT or QUANTIZATION_DEFAULT
to proper non-default values is fairly complex, and it is something that
needs to be done both in the kernel and in userspace.

So add macros that can do this conversion, making this available to both
kernel and userspace.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/uapi/linux/videodev2.h