media: uapi: h264: Clean DPB entry interface
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 25 Aug 2020 03:52:32 +0000 (05:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:28 +0000 (14:13 +0200)
commitc02ff21952a6a19ca375b9dc4f9a5609616a82b8
tree9fe8bc6e515c8ae1a5191960373ffc9519cbf772
parent4245232fa6ca58f79710732bd16cefe78b8b8bc4
media: uapi: h264: Clean DPB entry interface

As discussed recently, the current interface for the
Decoded Picture Buffer is not enough to properly
support field coding.

This commit introduces enough semantics to support
frame and field coding, and to signal how DPB entries
are "used for reference".

Reserved fields will be added by a follow-up commit.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Tested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
drivers/media/v4l2-core/v4l2-h264.c
drivers/staging/media/rkvdec/rkvdec-h264.c
include/media/h264-ctrls.h