summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2021-07-19 22:52:37 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-07-22 08:43:53 +0200
commit678ddaf3ff8b259a88a7a0d3bf3b8c0eed90059a (patch)
tree5221fc5c5cc156d99eced0eeb2ce8277b1d45b55 /lib/mpi/mpiutil.c
parenta9096c585386a381c1bd7aaed0c478165adcb524 (diff)
media: hantro: h264: Move reference picture number to a helper
Add a hantro_h264_get_ref_nbr() helper function to get the reference picture numbers. This will be used by the Rockchip VDPU2 H.264 driver. This idea was originally proposed by Jonas Karlman in "[RFC 09/12] media: hantro: Refactor G1 H264 code" posted a while ago. Link: https://lore.kernel.org/linux-media/HE1PR06MB401165F2BA0AD8A634FDFAF2ACBF0@HE1PR06MB4011.eurprd06.prod.outlook.com/ Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Tested-by: Alex Bee <knaerzche@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions