Commit 269b4dd3 authored by John Cox's avatar John Cox Committed by Mauro Carvalho Chehab

media: hevc: Add sps_max_sub_layers_minus1 to v4l2_ctrl_hevc_sps

sps_max_sub_layers_minus1 is needed if the driver wishes to determine
whether or not a frame might be used for reference.
Signed-off-by: default avatarJohn Cox <jc@kynesim.co.uk>
Reviewed-by: default avatarBenjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent c9cbf021
...@@ -2707,6 +2707,9 @@ enum v4l2_mpeg_video_hevc_size_of_length_field - ...@@ -2707,6 +2707,9 @@ enum v4l2_mpeg_video_hevc_size_of_length_field -
* - __u8 * - __u8
- ``chroma_format_idc`` - ``chroma_format_idc``
- -
* - __u8
- ``sps_max_sub_layers_minus1``
-
* - __u64 * - __u64
- ``flags`` - ``flags``
- See :ref:`Sequence Parameter Set Flags <hevc_sps_flags>` - See :ref:`Sequence Parameter Set Flags <hevc_sps_flags>`
......
...@@ -75,8 +75,7 @@ struct v4l2_ctrl_hevc_sps { ...@@ -75,8 +75,7 @@ struct v4l2_ctrl_hevc_sps {
__u8 num_short_term_ref_pic_sets; __u8 num_short_term_ref_pic_sets;
__u8 num_long_term_ref_pics_sps; __u8 num_long_term_ref_pics_sps;
__u8 chroma_format_idc; __u8 chroma_format_idc;
__u8 sps_max_sub_layers_minus1;
__u8 padding;
__u64 flags; __u64 flags;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment