linux-stable/Documentation/userspace-api/media
Ezequiel Garcia eb44c6c9c2 media: uapi: h264: Split prediction weight parameters
The prediction weight parameters are only required under
certain conditions, which depend on slice header parameters.

As specified in section 7.3.3 Slice header syntax, the prediction
weight table is present if:

((weighted_pred_flag && (slice_type == P || slice_type == SP)) || \
(weighted_bipred_idc == 1 && slice_type == B))

Given its size, it makes sense to move this table to its control,
so applications can avoid passing it if the slice doesn't specify it.

Before this change struct v4l2_ctrl_h264_slice_params was 960 bytes.
With this change, it's 188 bytes and struct v4l2_ctrl_h264_pred_weight
is 772 bytes.

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>
2020-09-01 14:13:28 +02:00
..
cec media: cec-ioc-adap-g-caps.rst: document available_log_addrs 2020-06-23 15:10:51 +02:00
drivers media: docs: add an uAPI chapter for driver-specific stuff 2020-04-14 10:36:50 +02:00
dvb Documentation: userspace-api/media: drop doubled words 2020-07-19 07:46:40 +02:00
mediactl
rc
v4l media: uapi: h264: Split prediction weight parameters 2020-09-01 14:13:28 +02:00
audio.h.rst.exceptions
ca.h.rst.exceptions
cec.h.rst.exceptions
conf_nitpick.py Documentation: media: convert to use i2c_new_client_device() 2020-06-19 09:20:25 +02:00
dmx.h.rst.exceptions
fdl-appendix.rst
frontend.h.rst.exceptions
gen-errors.rst
index.rst media: docs: add cros-references to the other media guides 2020-04-15 15:51:24 +02:00
intro.rst
lirc.h.rst.exceptions
Makefile
media.h.rst.exceptions
net.h.rst.exceptions
typical_media_device.svg
video.h.rst.exceptions
videodev2.h.rst.exceptions media: Documentation: v4l: move table of v4l2_pix_format(_mplane) flags to pixfmt-v4l2.rst 2020-08-29 08:30:13 +02:00