diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2011-05-20 09:43:50 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-05-20 09:43:50 +0200 |
commit | 6daa2b1ce8674bda66b0f3bb5cf08089e42579fd (patch) | |
tree | 02d59326a887f6e15fa362c0902d418ba48a4919 /include | |
parent | 8e307079faba22d9ce6a246b883771d0270af190 (diff) |
libv4lconvert: Add Y10B, a 10 bpp bit-packed greyscale format.
Add a 10 bits per pixel greyscale format in a bit-packed array representation,
naming it Y10B. Such pixel format is supplied for instance by the Kinect
sensor device.
Cc: Steven Toth<stoth@kernellabs.com>
Signed-off-by: Antonio Ospite<ospite@studenti.unina.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/videodev2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index d73ff48a..2cb88916 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -289,6 +289,9 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_Y10 v4l2_fourcc('Y', '1', '0', ' ') /* 10 Greyscale */ #define V4L2_PIX_FMT_Y16 v4l2_fourcc('Y', '1', '6', ' ') /* 16 Greyscale */ +/* Grey bit-packed formats */ +#define V4L2_PIX_FMT_Y10BPACK v4l2_fourcc('Y', '1', '0', 'B') /* 10 Greyscale bit-packed */ + /* Palette formats */ #define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */ |