projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb02e3f
)
MLK-20046-2: ISI: add YUV444M format support
author
Guoniu.Zhou
<guoniu.zhou@nxp.com>
Thu, 25 Oct 2018 03:14:52 +0000
(11:14 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
add YUV444M format support
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit
e424d16926d0320b31850bdd293e77c164a80661
)
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
6e686bd
..
fe297ed
100644
(file)
--- a/
drivers/media/platform/imx8/mxc-isi-hw.c
+++ b/
drivers/media/platform/imx8/mxc-isi-hw.c
@@
-84,6
+84,7
@@
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_BGR32) ||
(pix_fmt == V4L2_PIX_FMT_XRGB32) ||
(pix_fmt == V4L2_PIX_FMT_BGR24) ||
(pix_fmt == V4L2_PIX_FMT_ARGB32)) {
@@
-97,6
+98,7
@@
static bool is_yuv(u32 pix_fmt)
{
if ((pix_fmt == V4L2_PIX_FMT_YUYV) ||
(pix_fmt == V4L2_PIX_FMT_YUV32) ||
+ (pix_fmt == V4L2_PIX_FMT_YUV444M) ||
(pix_fmt == V4L2_PIX_FMT_NV12)) {
return true;
} else {