]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: hantro: Add scaling lists feature
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Thu, 15 Jul 2021 15:12:23 +0000 (17:12 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 6 Aug 2021 08:43:28 +0000 (10:43 +0200)
commit7a731960cc7eee66809afa088e09a47d3779a5ac
tree58baaeae6d392c5b96250d96455613d77b9a87a5
parent478e8d8b3997e15825c49f6f716faf26e1becaeb
media: hantro: Add scaling lists feature

If the bitstream embedded scaling lists allow the driver to use
them for decode the frames.
The scaling lists are expected to be in raster scan order (i.e. not up
right diagonal scan order)
Allocate the memory needed to store lists.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: add missing @scaling kernel doc description in hantro_hw.h]
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_g2_hevc_dec.c
drivers/staging/media/hantro/hantro_hevc.c
drivers/staging/media/hantro/hantro_hw.h