This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: libv4lconvert: add support for Y4 and Y6 pixel formats.
Author:  Hans Verkuil <[email protected]>
Date:    Tue Jun 5 22:32:04 2012 +0200

Yes, libv4lconvert now supports bw-qcam!

How could we ever have done without it? :-)

Signed-off-by: Hans Verkuil <[email protected]>

 lib/libv4lconvert/libv4lconvert.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=ee1d576c44a181b96c07492a8a55796064b0e512

diff --git a/lib/libv4lconvert/libv4lconvert.c 
b/lib/libv4lconvert/libv4lconvert.c
index 25ac907..4223ce6 100644
--- a/lib/libv4lconvert/libv4lconvert.c
+++ b/lib/libv4lconvert/libv4lconvert.c
@@ -87,6 +87,8 @@ static const struct v4lconvert_pixfmt supported_src_pixfmts[] 
= {
        { V4L2_PIX_FMT_SE401,            0,      8,      9,     1 },
        /* grey formats */
        { V4L2_PIX_FMT_GREY,             8,     20,     20,     0 },
+       { V4L2_PIX_FMT_Y4,               8,     20,     20,     0 },
+       { V4L2_PIX_FMT_Y6,               8,     20,     20,     0 },
        { V4L2_PIX_FMT_Y10BPACK,        10,     20,     20,     0 },
 };
 
@@ -943,6 +945,8 @@ static int v4lconvert_convert_pixfmt(struct v4lconvert_data 
*data,
        }
 
        case V4L2_PIX_FMT_GREY:
+       case V4L2_PIX_FMT_Y4:
+       case V4L2_PIX_FMT_Y6:
                switch (dest_pix_fmt) {
                case V4L2_PIX_FMT_RGB24:
                case V4L2_PIX_FMT_BGR24:

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to