From: Hans Verkuil <[email protected]>
This patch series adds a few new colorspace-related things that have been
in my tree for some time now.
- V4L2_COLORSPACE_DEFAULT is added to represent the value 0 that was used until
now. This really should have a proper define that's in line with
V4L2_YCBCR_ENC_DEFAULT and V4L2_QUANTIZATION_DEFAULT.
- Add V4L2_COLORSPACE_RAW to signal raw colorspaces such as produced by digital
cameras. Here no colorspace processing is done at all. This was requested
during the mini-summit in San Jose.
- Add new V4L2_MAP_*_DEFAULT defines to make the mapping of DEFAULT values to
actual colorspace/ycbcr_enc/quantization values consistent for both kernel
and userspace.
Regards,
Hans
Hans Verkuil (6):
videodev2.h: add COLORSPACE_DEFAULT
DocBook/media: document COLORSPACE_DEFAULT
videodev2.h: add COLORSPACE_RAW
DocBook/media: document COLORSPACE_RAW.
videodev2.h: add macros to map colorspace defaults
vivid: use new V4L2_MAP_*_DEFAULT defines
Documentation/DocBook/media/v4l/pixfmt.xml | 12 +++++++
drivers/media/platform/vivid/vivid-tpg.c | 51 ++++++------------------------
include/uapi/linux/videodev2.h | 39 +++++++++++++++++++++++
3 files changed, 60 insertions(+), 42 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html