diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2020-08-25 06:52:35 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-01 15:13:28 +0300 |
commit | 2287c5e65cbcc99633c412dbfe1d39bd9f7bf1ce (patch) | |
tree | 6d94ae3183d8555b840592e0077908c0a88bf7d4 /crypto/streebog_generic.c | |
parent | f6f0d58edfa77d18c41777740958f467de615728 (diff) | |
download | linux-2287c5e65cbcc99633c412dbfe1d39bd9f7bf1ce.tar.xz |
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>
Diffstat (limited to 'crypto/streebog_generic.c')
0 files changed, 0 insertions, 0 deletions