All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] media: HEVC: RPS clean up
@ 2022-01-04  7:38 ` Benjamin Gaignard
  0 siblings, 0 replies; 14+ messages in thread
From: Benjamin Gaignard @ 2022-01-04  7:38 UTC (permalink / raw)
  To: mchehab, ezequiel, p.zabel, gregkh, hverkuil-cisco,
	jernej.skrabec, nicolas.dufresne
  Cc: linux-media, linux-kernel, linux-arm-kernel, linux-staging,
	kernel, Benjamin Gaignard

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-01-07 16:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04  7:38 [PATCH v4 0/2] media: HEVC: RPS clean up Benjamin Gaignard
2022-01-04  7:38 ` Benjamin Gaignard
2022-01-04  7:38 ` [PATCH v4 1/2] media: hevc: Remove RPS named flags Benjamin Gaignard
2022-01-04  7:38   ` Benjamin Gaignard
2022-01-04 15:34   ` Jernej Škrabec
2022-01-04 15:34     ` Jernej Škrabec
2022-01-05 12:26   ` Ezequiel Garcia
2022-01-05 12:26     ` Ezequiel Garcia
2022-01-07 16:02     ` Benjamin Gaignard
2022-01-07 16:02       ` Benjamin Gaignard
2022-01-04  7:38 ` [PATCH v4 2/2] media: hevc: Embedded indexes in RPS Benjamin Gaignard
2022-01-04  7:38   ` Benjamin Gaignard
2022-01-05 12:28   ` Ezequiel Garcia
2022-01-05 12:28     ` Ezequiel Garcia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.