[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)
commit3818c4da43af9e67fed66174cc25f8fce4043d99
tree5a02f4238f207cb4d445fab4faafaa29275a3cd9
parented9be0b104ea9719f4bdd84ff2e603071153c3dc
[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
This page took 0.024391 seconds and 5 git commands to generate.