linux-stable/drivers/staging
Nicolas Dufresne 11442b7c93 media: hantro: Add H.264 field decoding support
This adds the required code to support field decoding. While most of
the code is derived from Rockchip and VSI reference code, the
reduction of the reference list to 16 entries was found by
trial and errors. The list consists of all the references with the
opposite field parity.

The strategy is to deduplicate the reference picture that points
to the same storage (same index). The choice of opposite parity has
been made to keep the other field of the current field pair in the
list. This method may not be robust if a field was lost.

[hverkuil: fix typos in the comment before deduplicate_reflist()]
[hverkuil: document new cur_poc field]

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-05-17 10:10:46 +02:00
..
axis-fifo
board
clocking-wizard
emxx_udc
fbtft
fieldbus
fwserial
gdm724x
greybus
iio
ks7010
media media: hantro: Add H.264 field decoding support 2022-05-17 10:10:46 +02:00
most
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge
r8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723bs
rts5208
sm750fb
unisys
vc04_services
vme
vt6655
vt6656
wfx
wlan-ng
Kconfig
Makefile