linux-stable/Documentation/userspace-api/media
Ezequiel Garcia 2287c5e65c media: uapi: h264: Clarify SLICE_BASED mode
Currently, the SLICE_BASED and FRAME_BASED modes documentation
is misleading and not matching the intended use-cases.

Drop non-required fields SLICE_PARAMS 'start_byte_offset' and
DECODE_PARAMS 'num_slices' and clarify the decoding modes in the
documentation.

On SLICE_BASED mode, a single slice is expected per OUTPUT buffer,
and therefore 'start_byte_offset' is not needed (since the offset
to the slice is the start of the buffer).

This mode requires the use of CAPTURE buffer holding, and so
the number of slices shall not be required.

On FRAME_BASED mode, the devices are expected to take care of slice
parsing. Neither SLICE_PARAMS are required (and shouldn't be
exposed by frame-based drivers), nor the number of slices.

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: Clarify SLICE_BASED mode 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