This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: v4l2-common: add RGB565 and RGB55 to v4l2_format_info
Author:  Benoit Parrot <bpar...@ti.com>
Date:    Mon Oct 7 12:10:08 2019 -0300

Add RGB565 and RGB555 to the v4l2_format_info table.

Signed-off-by: Benoit Parrot <bpar...@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+sams...@kernel.org>

 drivers/media/v4l2-core/v4l2-common.c | 2 ++
 1 file changed, 2 insertions(+)

---

diff --git a/drivers/media/v4l2-core/v4l2-common.c 
b/drivers/media/v4l2-core/v4l2-common.c
index 09a3915b98a3..d0e5ebc736f9 100644
--- a/drivers/media/v4l2-core/v4l2-common.c
+++ b/drivers/media/v4l2-core/v4l2-common.c
@@ -251,6 +251,8 @@ const struct v4l2_format_info *v4l2_format_info(u32 format)
                { .format = V4L2_PIX_FMT_ABGR32,  .pixel_enc = 
V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, 
.hdiv = 1, .vdiv = 1 },
                { .format = V4L2_PIX_FMT_BGRA32,  .pixel_enc = 
V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, 
.hdiv = 1, .vdiv = 1 },
                { .format = V4L2_PIX_FMT_GREY,    .pixel_enc = 
V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, 
.hdiv = 1, .vdiv = 1 },
+               { .format = V4L2_PIX_FMT_RGB565,  .pixel_enc = 
V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, 
.hdiv = 1, .vdiv = 1 },
+               { .format = V4L2_PIX_FMT_RGB555,  .pixel_enc = 
V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, 
.hdiv = 1, .vdiv = 1 },
 
                /* YUV packed formats */
                { .format = V4L2_PIX_FMT_YUYV,    .pixel_enc = 
V4L2_PIXEL_ENC_YUV, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, 
.hdiv = 2, .vdiv = 1 },

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to