[PATCH v4 0/2] media: HEVC: RPS clean up

From: Benjamin Gaignard
Date: Tue Jan 04 2022 - 02:38:57 EST


This series aims to clean up Reference Picture Set usage and flags.

Long term flag was named with RPS prefix while it is not used for RPS
but for mark long term references in DBP. Remane it and remove the two
other useless RPS flags.

Clarify documentation about RPS lists content and make sure that Hantro
driver use them correctly (i.e without look up in DBP).

version 4:
- check flags with & and not ==
- remove the 2 last patches which becomes useless since VPU ctrl-blk
driver introduction.

version 3:
- rebased on top of v5.16-rc1

version 2:
- change DPB field name from rps to flags

GStreamer HEVC plugin merge request can be found here:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1079

With those piece of code fluster score is 77/147.

Benjamin Gaignard (2):
media: hevc: Remove RPS named flags
media: hevc: Embedded indexes in RPS

.../media/v4l/ext-ctrls-codec.rst | 14 +++++-----
.../staging/media/hantro/hantro_g2_hevc_dec.c | 27 +++++--------------
.../staging/media/sunxi/cedrus/cedrus_h265.c | 2 +-
include/media/hevc-ctrls.h | 6 ++---
4 files changed, 16 insertions(+), 33 deletions(-)

--
2.30.2