projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c0340
)
MLK-19291: ISI: correct color mapping between V4L2 and ISI
author
Guoniu.Zhou
<guoniu.zhou@nxp.com>
Thu, 8 Nov 2018 11:25:44 +0000
(19:25 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
Correct color mapping between V4L2 and ISI
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/media/platform/imx8/mxc-isi-hw.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/imx8/mxc-isi-hw.c
b/drivers/media/platform/imx8/mxc-isi-hw.c
index
fe297ed
..
59df9d9
100644
(file)
--- a/
drivers/media/platform/imx8/mxc-isi-hw.c
+++ b/
drivers/media/platform/imx8/mxc-isi-hw.c
@@
-84,9
+84,12
@@
static bool is_rgb(u32 pix_fmt)
{
if ((pix_fmt == V4L2_PIX_FMT_RGB565) ||
(pix_fmt == V4L2_PIX_FMT_RGB24) ||
+ (pix_fmt == V4L2_PIX_FMT_RGB32) ||
(pix_fmt == V4L2_PIX_FMT_BGR32) ||
(pix_fmt == V4L2_PIX_FMT_XRGB32) ||
+ (pix_fmt == V4L2_PIX_FMT_XBGR32) ||
(pix_fmt == V4L2_PIX_FMT_BGR24) ||
+ (pix_fmt == V4L2_PIX_FMT_ABGR32) ||
(pix_fmt == V4L2_PIX_FMT_ARGB32)) {
return true;
} else {