lkml.org 
[lkml]   [2022]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 4/4] media: amphion: encoder add support for contiguous planes
    Date
    encoder add support for contiguous formats NV12

    Signed-off-by: Ming Qian <ming.qian@nxp.com>
    ---
    drivers/media/platform/amphion/venc.c | 8 ++++++++
    1 file changed, 8 insertions(+)

    diff --git a/drivers/media/platform/amphion/venc.c b/drivers/media/platform/amphion/venc.c
    index 060a1ee78b17..3cbe8ce637e5 100644
    --- a/drivers/media/platform/amphion/venc.c
    +++ b/drivers/media/platform/amphion/venc.c
    @@ -72,6 +72,14 @@ static const struct vpu_format venc_formats[] = {
    .mem_planes = 2,
    .comp_planes = 2,
    .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
    + .sibling = V4L2_PIX_FMT_NV12,
    + },
    + {
    + .pixfmt = V4L2_PIX_FMT_NV12,
    + .mem_planes = 1,
    + .comp_planes = 2,
    + .type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
    + .sibling = V4L2_PIX_FMT_NV12M,
    },
    {
    .pixfmt = V4L2_PIX_FMT_H264,
    --
    2.37.1
    \
     
     \ /
      Last update: 2022-08-01 10:19    [W:3.199 / U:0.640 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site