codecs: h264decoder: Add support for interlaced stream
Compare changes
Files
7- Seungha Yang authored
Managing reference picture type by using two variables (ref and long_term) seems to be redundant and that can be represented by using a single enum value. This is to sync this implementation with gstreamer-vaapi so that make comparison between this and gstreamer-vaapi easier and also in order to minimize the change required for subclass to be able to support interlaced.
+ 12
− 11
@@ -581,10 +581,10 @@ gst_h264_decoder_update_pic_nums (GstH264Decoder * self, gint frame_num)
@@ -1031,7 +1031,8 @@ gst_h264_decoder_fill_picture_from_slice (GstH264Decoder * self,
@@ -1454,7 +1455,7 @@ gst_h264_decoder_sliding_window_picture_marking (GstH264Decoder * self)
@@ -1479,11 +1480,11 @@ gst_h264_decoder_reference_picture_marking (GstH264Decoder * self,
@@ -1816,7 +1817,7 @@ gst_h264_decoder_init_gap_picture (GstH264Decoder * self,
@@ -1909,7 +1910,7 @@ construct_ref_pic_lists_p (GstH264Decoder * self)
@@ -1965,7 +1966,7 @@ print_ref_pic_list_b (GstH264Decoder * self, GArray * ref_list_b, gint index)
@@ -2077,7 +2078,7 @@ gst_h264_decoder_clear_ref_pic_lists (GstH264Decoder * self)
@@ -2085,7 +2086,7 @@ long_term_pic_num_f (GstH264Decoder * self, const GstH264Picture * picture)