summaryrefslogtreecommitdiff
path: root/include/android
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-14 00:54:28 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-15 01:07:38 +0300
commitbac0e7d6759c1fc74ab5fb0dc0cb2b561cf0f63a (patch)
treedd0442c8e8bec62ff08de2321cd7b76a2e912688 /include/android
parentaef75c32e0e9c0cdef88d40ed68f578449f76c21 (diff)
libcamera: v4l2_videodevice: Map V4L2_PIX_FMT_GREY to DRM FourCC
DRM has a format for 8-bit greyscale data, DRM_FORMAT_R8. Despite the 'R' name, which comes from GL/Vulkan to mean single-channel data, the format maps to greyscale for display. We can thus map it to V4L2_PIX_FMT_GREY. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/android')
0 files changed, 0 insertions, 0 deletions