aboutsummaryrefslogtreecommitdiff
path: root/include/media/hevc-ctrls.h
diff options
context:
space:
mode:
authorJernej Skrabec2021-06-06 10:23:13 +0200
committerMauro Carvalho Chehab2021-07-12 09:16:32 +0200
commit229e5bdcd39ed3ca0a71dc8500ba4ea90d4415db (patch)
treee5296819d1ce887e4b8a1fdad8836387c9f52947 /include/media/hevc-ctrls.h
parented638b1d6f69343f3e764fd3608780485e7c1731 (diff)
media: hevc: Add segment address field
If HEVC frame consists of multiple slices, segment address has to be known in order to properly decode it. Add segment address field to slice parameters. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media/hevc-ctrls.h')
-rw-r--r--include/media/hevc-ctrls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/hevc-ctrls.h b/include/media/hevc-ctrls.h
index 53c0038c792b..781371bff2ad 100644
--- a/include/media/hevc-ctrls.h
+++ b/include/media/hevc-ctrls.h
@@ -196,10 +196,11 @@ struct v4l2_ctrl_hevc_slice_params {
__u8 pic_struct;
/* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
+ __u32 slice_segment_addr;
__u8 ref_idx_l0[V4L2_HEVC_DPB_ENTRIES_NUM_MAX];
__u8 ref_idx_l1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX];
- __u8 padding[5];
+ __u8 padding;
/* ISO/IEC 23008-2, ITU-T Rec. H.265: Weighted prediction parameter */
struct v4l2_hevc_pred_weight_table pred_weight_table;