[PATCH v6 1/6] docs: uapi: media: Clarify HEVC slice_param bit_size, data_byte_offset

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Apr 28 13:07:11 PDT 2026


Le mercredi 04 mars 2026 à 14:05 +0000, Dave Stevenson a écrit :
> From: John Cox <john.cox at raspberrypi.com>
> 
> Clarify exactly what bit_size and data_byte_offset mean when there are
> multiple slices in the bitstream data.
> 
> Signed-off-by: John Cox <john.cox at raspberrypi.com>
> Signed-off-by: Dave Stevenson <dave.stevenson at raspberrypi.com>

Reviewed-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>

> ---
>  Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst
> index 3b1e05c6eb13..a54e8ea29440 100644
> --- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst
> +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst
> @@ -2399,10 +2399,12 @@ This structure contains all loop filter related parameters. See sections
>  
>      * - __u32
>        - ``bit_size``
> -      - Size (in bits) of the current slice data.
> +      - Size in bits of the slice_segment_data for the current slice including
> +        any emulation prevention bytes.
>      * - __u32
>        - ``data_byte_offset``
> -      - Offset (in byte) to the video data in the current slice data.
> +      - Offset in bytes from the start of the current v4l2_buffer to the start
> +        of the slice_segment_data for the current slice.
>      * - __u32
>        - ``num_entry_point_offsets``
>        - Specifies the number of entry point offset syntax elements in the slice header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260428/a20d0d97/attachment.sig>


More information about the linux-arm-kernel mailing list