diff options
Diffstat (limited to 'libs/gst/base/gstadapter.h')
-rw-r--r-- | libs/gst/base/gstadapter.h | 64 |
1 files changed, 33 insertions, 31 deletions
diff --git a/libs/gst/base/gstadapter.h b/libs/gst/base/gstadapter.h index 7215939fb..3e7610e0e 100644 --- a/libs/gst/base/gstadapter.h +++ b/libs/gst/base/gstadapter.h @@ -22,6 +22,8 @@ #ifndef __GST_ADAPTER_H__ #define __GST_ADAPTER_H__ +#include <gst/base/base-prelude.h> + G_BEGIN_DECLS @@ -46,97 +48,97 @@ G_BEGIN_DECLS typedef struct _GstAdapter GstAdapter; typedef struct _GstAdapterClass GstAdapterClass; -GST_EXPORT +GST_BASE_API GType gst_adapter_get_type (void); -GST_EXPORT +GST_BASE_API GstAdapter * gst_adapter_new (void) G_GNUC_MALLOC; -GST_EXPORT +GST_BASE_API void gst_adapter_clear (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API void gst_adapter_push (GstAdapter *adapter, GstBuffer* buf); -GST_EXPORT +GST_BASE_API gconstpointer gst_adapter_map (GstAdapter *adapter, gsize size); -GST_EXPORT +GST_BASE_API void gst_adapter_unmap (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API void gst_adapter_copy (GstAdapter *adapter, gpointer dest, gsize offset, gsize size); -GST_EXPORT +GST_BASE_API GBytes * gst_adapter_copy_bytes (GstAdapter *adapter, gsize offset, gsize size); -GST_EXPORT +GST_BASE_API void gst_adapter_flush (GstAdapter *adapter, gsize flush); -GST_EXPORT +GST_BASE_API gpointer gst_adapter_take (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GstBuffer* gst_adapter_take_buffer (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GList* gst_adapter_take_list (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GstBuffer * gst_adapter_take_buffer_fast (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GstBufferList * gst_adapter_take_buffer_list (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GstBuffer* gst_adapter_get_buffer (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GList* gst_adapter_get_list (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GstBuffer * gst_adapter_get_buffer_fast (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API GstBufferList * gst_adapter_get_buffer_list (GstAdapter *adapter, gsize nbytes); -GST_EXPORT +GST_BASE_API gsize gst_adapter_available (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API gsize gst_adapter_available_fast (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API GstClockTime gst_adapter_prev_pts (GstAdapter *adapter, guint64 *distance); -GST_EXPORT +GST_BASE_API GstClockTime gst_adapter_prev_dts (GstAdapter *adapter, guint64 *distance); -GST_EXPORT +GST_BASE_API GstClockTime gst_adapter_prev_pts_at_offset (GstAdapter * adapter, gsize offset, guint64 * distance); -GST_EXPORT +GST_BASE_API GstClockTime gst_adapter_prev_dts_at_offset (GstAdapter * adapter, gsize offset, guint64 * distance); -GST_EXPORT +GST_BASE_API guint64 gst_adapter_prev_offset (GstAdapter *adapter, guint64 *distance); -GST_EXPORT +GST_BASE_API GstClockTime gst_adapter_pts_at_discont (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API GstClockTime gst_adapter_dts_at_discont (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API guint64 gst_adapter_offset_at_discont (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API guint64 gst_adapter_distance_from_discont (GstAdapter *adapter); -GST_EXPORT +GST_BASE_API gssize gst_adapter_masked_scan_uint32 (GstAdapter * adapter, guint32 mask, guint32 pattern, gsize offset, gsize size); -GST_EXPORT +GST_BASE_API gssize gst_adapter_masked_scan_uint32_peek (GstAdapter * adapter, guint32 mask, guint32 pattern, gsize offset, gsize size, guint32 * value); |