summaryrefslogtreecommitdiff
path: root/gst-libs/gst/codecparsers/gsth264parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/codecparsers/gsth264parser.h')
-rw-r--r--gst-libs/gst/codecparsers/gsth264parser.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.h b/gst-libs/gst/codecparsers/gsth264parser.h
index 84577f686..0047761e2 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.h
+++ b/gst-libs/gst/codecparsers/gsth264parser.h
@@ -172,6 +172,7 @@ typedef struct _GstH264PPS GstH264PPS;
typedef struct _GstH264HRDParams GstH264HRDParams;
typedef struct _GstH264VUIParams GstH264VUIParams;
+typedef struct _GstH264RefPicListReordering GstH264RefPicListReordering;
typedef struct _GstH264DecRefPicMarking GstH264DecRefPicMarking;
typedef struct _GstH264RefPicMarking GstH264RefPicMarking;
typedef struct _GstH264PredWeightTable GstH264PredWeightTable;
@@ -475,6 +476,15 @@ struct _GstH264PPS
gboolean valid;
};
+struct _GstH264RefPicListReordering
+{
+ guint8 reordering_of_pic_nums_idc;
+ union {
+ guint32 abs_diff_pic_num_minus1;
+ guint32 long_term_pic_num;
+ } value;
+};
+
struct _GstH264PredWeightTable
{
guint8 luma_log2_weight_denom;
@@ -549,6 +559,11 @@ struct _GstH264SliceHdr
guint8 num_ref_idx_l0_active_minus1;
guint8 num_ref_idx_l1_active_minus1;
+ guint8 ref_pic_list_reordering_flag_l0;
+ GstH264RefPicListReordering ref_pic_list_reordering_l0[32];
+ guint8 ref_pic_list_reordering_flag_l1;
+ GstH264RefPicListReordering ref_pic_list_reordering_l1[32];
+
GstH264PredWeightTable pred_weight_table;
/* if nal_unit.ref_idc != 0 */
GstH264DecRefPicMarking dec_ref_pic_marking;