Merge branch 'move_subdir_rtsp-server' into tizen_gst_1.19.2_mono
[platform/upstream/gstreamer.git] / subprojects / gst-omx / omx / gstomxallocator.h
index 5c94584..a03a904 100644 (file)
@@ -44,6 +44,9 @@ typedef struct _GstOMXAllocatorClass GstOMXAllocatorClass;
 typedef enum {
   GST_OMX_ALLOCATOR_FOREIGN_MEM_NONE,
   GST_OMX_ALLOCATOR_FOREIGN_MEM_DMABUF,
+#ifdef TIZEN_FEATURE_OMX
+  GST_OMX_ALLOCATOR_FOREIGN_MEM_TBM,
+#endif
   GST_OMX_ALLOCATOR_FOREIGN_MEM_OTHER_POOL,
 } GstOMXAllocatorForeignMemMode;
 
@@ -58,6 +61,7 @@ struct _GstOMXMemory
   /* memory allocated from the foreign_allocator
    * or planted externally when using a foreign buffer pool */
   GstMemory *foreign_mem;
+
   /* the original dispose function of foreign_mem */
   GstMiniObjectDisposeFunction foreign_dispose;
 };
@@ -81,6 +85,9 @@ struct _GstOMXAllocator
 
   GMutex lock;
   GCond cond;
+#ifdef TIZEN_FEATURE_OMX
+  GstVideoInfo video_info;
+#endif
 };
 
 struct _GstOMXAllocatorClass