diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2020-08-25 06:52:34 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-01 15:13:28 +0300 |
commit | f6f0d58edfa77d18c41777740958f467de615728 (patch) | |
tree | cecfde65120bb041f4c0bebb20fb39185edccc25 /include/media/h264-ctrls.h | |
parent | f9879eb378295e8a912d2d10c872c45f3e19421b (diff) | |
download | linux-f6f0d58edfa77d18c41777740958f467de615728.tar.xz |
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>
Diffstat (limited to 'include/media/h264-ctrls.h')
-rw-r--r-- | include/media/h264-ctrls.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/media/h264-ctrls.h b/include/media/h264-ctrls.h index 91f6f0d43e11..77d0ec51ae43 100644 --- a/include/media/h264-ctrls.h +++ b/include/media/h264-ctrls.h @@ -163,9 +163,6 @@ struct v4l2_h264_reference { }; struct v4l2_ctrl_h264_slice_params { - /* Size in bytes, including header */ - __u32 size; - /* Offset in bytes to the start of slice in the OUTPUT buffer. */ __u32 start_byte_offset; |