include: uapi: v4l2: Add additional pixel formats for use with PiSP
authorNaushir Patuck <naush@raspberrypi.com>
Thu, 16 Nov 2023 14:25:39 +0000 (14:25 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:14 +0000 (11:35 +0000)
commite51a8328cd4b82f490be2f38634c659520c05ebc
treea231b140ad30f5402249712065775df259eb177b
parent480fdeada740afd5ac548003d6f19b53a36d8b8d
include: uapi: v4l2: Add additional pixel formats for use with PiSP

Add the following formats:

- V4L2_PIX_FMT_RGB48/V4L2_PIX_FMT_BGR48
  48-bit RGB where each colour sample is 16-bits.

- V4L2_PIX_FMT_PISP_COMP1_MONO/V4L2_PIX_FMT_PISP_COMP2_MONO
  16-bit to 8-bit pisp compressed monochrome pixel format.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h