Skip to content

Commit

Permalink
HACK: media: uapi: hevc: tiles and num_slices
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwiboo committed Jun 7, 2020
1 parent 0171559 commit 844003a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/media/hevc-ctrls.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ struct v4l2_ctrl_hevc_sps {
__u8 num_short_term_ref_pic_sets;
__u8 num_long_term_ref_pics_sps;

__u8 padding[7];
__u8 num_slices;
__u8 padding[6];

__u64 flags;
};
Expand Down Expand Up @@ -174,6 +175,7 @@ struct v4l2_ctrl_hevc_slice_params {

/* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
__u32 slice_segment_addr;
__u32 num_entry_point_offsets;

/* ISO/IEC 23008-2, ITU-T Rec. H.265: NAL unit header */
__u8 nal_unit_type;
Expand Down Expand Up @@ -211,7 +213,9 @@ struct v4l2_ctrl_hevc_slice_params {
__u16 short_term_ref_pic_set_size;
__u16 long_term_ref_pic_set_size;

__u8 padding;
__u8 padding[5];

__u32 entry_point_offset_minus1[256];

/* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */
struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX];
Expand Down

0 comments on commit 844003a

Please sign in to comment.