]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: uapi: h264: Update reference lists
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 25 Aug 2020 03:52:27 +0000 (05:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:27 +0000 (14:13 +0200)
commite000e1fa4bdbd783149e7f97cf3be61e1c0bab8c
tree575866e07ea549a43419a8c0c9f59b8f14fa1626
parentab3d4b41b4ea638be72a48a4b135dc2f9509bf51
media: uapi: h264: Update reference lists

When dealing with interlaced frames, reference lists must tell if
each particular reference is meant for top or bottom field. This info
is currently not provided at all in the H264 related controls.

Change reference lists to hold a structure, which specifies
an index into the DPB array and the field/frame specification
for the picture.

Currently the only user of these lists is Cedrus which is just compile
fixed here. Actual usage of will come in a following commit.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
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/staging/media/sunxi/cedrus/cedrus_h264.c
include/media/h264-ctrls.h