diff options
author | Ming Qian <ming.qian@nxp.com> | 2021-12-24 04:02:41 +0100 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2022-02-09 21:26:28 +0800 |
commit | d910774d5a685c3a82322a9057fdb665bbcdfc9f (patch) | |
tree | 0c47dbc87fac3e21b2fac92b2912803a30b5fb36 /include/net/ip_fib.h | |
parent | 0ba10af44fcc081422678e8715a3fd16952cbe04 (diff) |
media: imx-jpeg: use NV12M to represent non contiguous NV12
V4L2_PIX_FMT_NV12 requires num_planes equals to 1,
V4L2_PIX_FMT_NV12M requires num_planes equals to 2.
and mxc-jpeg supports 2 planes for nv12,
so we should use 4L2_PIX_FMT_NV12M instead of V4L2_PIX_FMT_NV12,
otherwise it will confuses gstreamer and prevent encoding and decoding.
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
Reviewed-by: Mirela Rabulea <mirela.rabulea@oss.nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/net/ip_fib.h')
0 files changed, 0 insertions, 0 deletions