[PATCH v5 1/6] docs: uapi: media: Clarify HEVC slice_param bit_size, data_byte_offset
Dave Stevenson
dave.stevenson at raspberrypi.com
Fri Feb 27 09:19:06 PST 2026
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>
---
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.
--
2.34.1
More information about the linux-arm-kernel
mailing list