mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
media: amphion: decoder add support for contiguous planes
decoder add support for contiguous formats V4L2_PIX_FMT_NV12_8L128 and V4L2_PIX_FMT_NV12_10BE_8L128 Signed-off-by: Ming Qian <ming.qian@nxp.com> Reviewed-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
d21ce554e1
commit
cffa4e0c1e
1 changed files with 16 additions and 0 deletions
|
@ -72,12 +72,28 @@ static const struct vpu_format vdec_formats[] = {
|
|||
.mem_planes = 2,
|
||||
.comp_planes = 2,
|
||||
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
|
||||
.sibling = V4L2_PIX_FMT_NV12_8L128,
|
||||
},
|
||||
{
|
||||
.pixfmt = V4L2_PIX_FMT_NV12_8L128,
|
||||
.mem_planes = 1,
|
||||
.comp_planes = 2,
|
||||
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
|
||||
.sibling = V4L2_PIX_FMT_NV12M_8L128,
|
||||
},
|
||||
{
|
||||
.pixfmt = V4L2_PIX_FMT_NV12M_10BE_8L128,
|
||||
.mem_planes = 2,
|
||||
.comp_planes = 2,
|
||||
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
|
||||
.sibling = V4L2_PIX_FMT_NV12_10BE_8L128,
|
||||
},
|
||||
{
|
||||
.pixfmt = V4L2_PIX_FMT_NV12_10BE_8L128,
|
||||
.mem_planes = 1,
|
||||
.comp_planes = 2,
|
||||
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
|
||||
.sibling = V4L2_PIX_FMT_NV12M_10BE_8L128
|
||||
},
|
||||
{
|
||||
.pixfmt = V4L2_PIX_FMT_H264,
|
||||
|
|
Loading…
Reference in a new issue