]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60cbd1ce07d6ab33aa8a182a13149331e72a2b4d
tree9fe8bc6e515c8ae1a5191960373ffc9519cbf772
parent335150ed1b614a5d3298e0742d4e799e3a70af7c
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