media: mediatek: vcodec: separate struct 'mtk_vcodec_ctx'
authorYunfei Dong <yunfei.dong@mediatek.com>
Sat, 29 Jul 2023 02:55:10 +0000 (10:55 +0800)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:33 +0000 (07:58 +0200)
commit01abf5fbb081c07c25ba69fce2e856197f729695
treeb581c1dd5d64924b6ec03d79d554cee381f09b86
parent41f03c673cb7b5f075fb6d56bb670b237064f557
media: mediatek: vcodec: separate struct 'mtk_vcodec_ctx'

Adding different context struct for encoder and decoder and removing
struct 'mtk_vcodec_ctx'.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
46 files changed:
drivers/media/platform/mediatek/vcodec/mtk_vcodec_cmn_drv.h [new file with mode: 0644]
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.h [new file with mode: 0644]
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_hw.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.h [new file with mode: 0644]
drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw_vpu.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_intr.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_intr.h
drivers/media/platform/mediatek/vcodec/mtk_vcodec_util.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_util.h
drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.h
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_hevc_req_multi_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_if.c
drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c
drivers/media/platform/mediatek/vcodec/vdec_drv_base.h
drivers/media/platform/mediatek/vcodec/vdec_drv_if.c
drivers/media/platform/mediatek/vcodec/vdec_drv_if.h
drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c
drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h
drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h
drivers/media/platform/mediatek/vcodec/venc/venc_h264_if.c
drivers/media/platform/mediatek/vcodec/venc/venc_vp8_if.c
drivers/media/platform/mediatek/vcodec/venc_drv_base.h
drivers/media/platform/mediatek/vcodec/venc_drv_if.c
drivers/media/platform/mediatek/vcodec/venc_drv_if.h
drivers/media/platform/mediatek/vcodec/venc_vpu_if.h