media: mtk-vcodec: vdec: support stateless H.264 decoding
authorYunfei Dong <yunfei.dong@mediatek.com>
Fri, 6 Aug 2021 04:15:27 +0000 (06:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:42 +0000 (10:07 +0200)
commit06fa5f757dc5a5687e1cdd13097c3265735f60bf
tree1259bbedb33bd19d1fff60d8c5fafde5be94958c
parent8cdc3794b2e34b3ee11ddfccf4af3f64344a1a75
media: mtk-vcodec: vdec: support stateless H.264 decoding

Add support for H.264 decoding using the stateless API, as supported by
MT8183. This support takes advantage of the V4L2 H.264 reference list
builders.

[acourbot: refactor, cleanup and split]
[tzungbi: fix missing kerneldoc issue]
[hverkuil: fix trivial kerneldoc typo]

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Co-developed-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/Kconfig
drivers/media/platform/mtk-vcodec/Makefile
drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c [new file with mode: 0644]
drivers/media/platform/mtk-vcodec/vdec_drv_if.c
drivers/media/platform/mtk-vcodec/vdec_drv_if.h