commit | 3818c4da43af9e67fed66174cc25f8fce4043d99 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri May 15 09:29:09 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Sat May 30 11:39:21 2015 -0300 |
tree | 5a02f4238f207cb4d445fab4faafaa29275a3cd9 | |
parent | ed9be0b104ea9719f4bdd84ff2e603071153c3dc [diff] |
[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>