h264parse: Start slice header parsing work
authorLin YANG <oxcsnicho@gmail.com>
Mon, 17 Aug 2009 09:44:38 +0000 (17:44 +0800)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 31 Aug 2009 07:15:06 +0000 (09:15 +0200)
gst/h264parse/gsth264parse.h

index 8e07a0e66e3bf4800503079a25715d97e628e0bd..787f5ad75adfcf135aee77b3f5572e889aa9ea09 100644 (file)
@@ -81,6 +81,14 @@ struct _GstH264Parse
   GstH264Pps *pps_buffers[MAX_PPS_COUNT];
   GstH264Pps *pps; /* Current PPS */ 
 
+  /* slice header */ 
+  guint8 first_mb_in_slice;
+  guint8 slice_type;
+  guint8 pps_id;
+  guint32 frame_num;
+  gboolean field_pic_flag;
+  gboolean bottom_field_flag;
+
   /* SEI: supplemental enhancement messages */ 
   /* buffering period */ 
   guint32 initial_cpb_removal_delay[32];