]> git.baikalelectronics.ru Git - kernel.git/commit
media: mediatek: vcodec: Extract H264 common code
authorYunfei Dong <yunfei.dong@mediatek.com>
Thu, 12 May 2022 02:19:46 +0000 (04:19 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 12:48:31 +0000 (14:48 +0200)
commit74cec7f0189b54fb0bc513cc9036a84406673b63
tree6dfa06505638fdd463dd5f7b4a71de21973f6705
parent32a3a9a7466146d84e90f24e5b56d8810d1e564f
media: mediatek: vcodec: Extract H264 common code

Mt8192 can use some of common code with mt8183. Moves them to
a new file in order to reuse.

[hverkuil: replaced memcpy_toio by memcpy, was left over from a prev version]

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mediatek/vcodec/Makefile
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.c [new file with mode: 0644]
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.h [new file with mode: 0644]
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c