]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugin-ducati.git/blobdiff - src/gstducatividdec.h
ducatividdec: remove another leftover -strided caps remnant
[glsdk/gst-plugin-ducati.git] / src / gstducatividdec.h
index ea69e59b53db9a7465989b40dcc82817c618b80b..19a9b335249d680e7d86d8170a9d100f8705c1b7 100644 (file)
@@ -44,6 +44,8 @@ G_BEGIN_DECLS
 typedef struct _GstDucatiVidDec      GstDucatiVidDec;
 typedef struct _GstDucatiVidDecClass GstDucatiVidDecClass;
 
+#define MAX_BACKLOG_FRAMES 16
+
 struct _GstDucatiVidDec
 {
   GstElement parent;
@@ -116,6 +118,8 @@ struct _GstDucatiVidDec
 
   gboolean needs_flushing;
 
+  GHashTable *passed_in_bufs;
+
 #define NDTS 32
   GstClockTime dts_queue[NDTS];
   gint dts_ridx, dts_widx;
@@ -133,6 +137,12 @@ struct _GstDucatiVidDec
 
   XDAS_Int16 pageMemType;
   struct omap_device *device;
+
+  /* Frames waiting to be reordered */
+  GstBuffer *backlog_frames[MAX_BACKLOG_FRAMES + 1];
+  gint backlog_maxframes;
+  gint backlog_nframes;
+  gint backlog_max_maxframes;
 };
 
 struct _GstDucatiVidDecClass