media: uapi: h264: Drop SLICE_PARAMS 'size' field
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 25 Aug 2020 03:52:34 +0000 (05:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:28 +0000 (14:13 +0200)
commitf6f0d58edfa77d18c41777740958f467de615728
treececfde65120bb041f4c0bebb20fb39185edccc25
parentf9879eb378295e8a912d2d10c872c45f3e19421b
media: uapi: h264: Drop SLICE_PARAMS 'size' field

The SLICE_PARAMS control is intended for slice-based
devices. In this mode, the OUTPUT buffer contains
a single slice, and so the buffer's plane payload size
can be used to query the slice size.

To reduce the API surface drop the size from the
SLICE_PARAMS control.

A follow-up change will remove other members in SLICE_PARAMS
so we don't need to add padding fields here.

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