]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: Prepare for other G2 codecs
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Tue, 16 Nov 2021 14:38:39 +0000 (14:38 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Nov 2021 07:50:42 +0000 (07:50 +0000)
commit02f499e9a2750615f357356caf75b8c1a24d04c4
tree64f51049ff5052ba3f42537fa7809e4f5ab82665
parentcf631eeffe91aa12f6b6b9fb0e5c370b35c4cdac
media: hantro: Prepare for other G2 codecs

VeriSilicon Hantro G2 core supports other codecs besides hevc.
Factor out some common code in preparation for vp9 support.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/Makefile
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_g2.c [new file with mode: 0644]
drivers/staging/media/hantro/hantro_g2_hevc_dec.c
drivers/staging/media/hantro/hantro_g2_regs.h
drivers/staging/media/hantro/hantro_hw.h