gstreamer_core/libs/gst/base/gstadapter.h
branchRCL_3
changeset 29 567bb019e3e3
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
6:9b2c3c7a1a9c 29:567bb019e3e3
    38 #define GST_IS_ADAPTER_CLASS(klass) \
    38 #define GST_IS_ADAPTER_CLASS(klass) \
    39   (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_ADAPTER))
    39   (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_ADAPTER))
    40 
    40 
    41 typedef struct _GstAdapter GstAdapter;
    41 typedef struct _GstAdapter GstAdapter;
    42 typedef struct _GstAdapterClass GstAdapterClass;
    42 typedef struct _GstAdapterClass GstAdapterClass;
       
    43 typedef struct _GstAdapterPrivate GstAdapterPrivate;
    43 
    44 
    44 /**
    45 /**
    45  * GstAdapter:
    46  * GstAdapter:
    46  * @object: the parent object.
    47  * @object: the parent object.
    47  *
    48  *
    58   /* we keep state of assembled pieces */
    59   /* we keep state of assembled pieces */
    59   guint8 *	assembled_data;
    60   guint8 *	assembled_data;
    60   guint		assembled_size;
    61   guint		assembled_size;
    61   guint		assembled_len;
    62   guint		assembled_len;
    62 
    63 
       
    64   /* ABI added */
    63   /* Remember where the end of our buffer list is to
    65   /* Remember where the end of our buffer list is to
    64    * speed up the push */
    66    * speed up the push */
    65   GSList *buflist_end;
    67   GSList *buflist_end;
    66   gpointer _gst_reserved[GST_PADDING - 1];
    68 
       
    69   GstAdapterPrivate *priv;
       
    70 
       
    71   gpointer _gst_reserved[GST_PADDING - 2];
    67 };
    72 };
    68 
    73 
    69 struct _GstAdapterClass {
    74 struct _GstAdapterClass {
    70   GObjectClass	parent_class;
    75   GObjectClass	parent_class;
    71 
    76 
    72   /*< private >*/
    77   /*< private >*/
    73   gpointer _gst_reserved[GST_PADDING];
    78   gpointer _gst_reserved[GST_PADDING];
    74 };
    79 };
       
    80 #ifdef __SYMBIAN32__
       
    81 IMPORT_C
       
    82 #endif
       
    83 
       
    84 GType			gst_adapter_get_type		(void);
    75 #ifdef __SYMBIAN32__
    85 #ifdef __SYMBIAN32__
    76 IMPORT_C
    86 IMPORT_C
    77 #endif
    87 #endif
    78 
    88 
    79 
    89 
   127 guint			gst_adapter_available_fast    	(GstAdapter *adapter);
   137 guint			gst_adapter_available_fast    	(GstAdapter *adapter);
   128 #ifdef __SYMBIAN32__
   138 #ifdef __SYMBIAN32__
   129 IMPORT_C
   139 IMPORT_C
   130 #endif
   140 #endif
   131 
   141 
   132 GType			gst_adapter_get_type		(void);
   142 GstClockTime            gst_adapter_prev_timestamp      (GstAdapter *adapter, guint64 *distance);
       
   143 #ifdef __SYMBIAN32__
       
   144 IMPORT_C
       
   145 #endif
       
   146 
       
   147 guint                   gst_adapter_masked_scan_uint32  (GstAdapter * adapter, guint32 mask,
       
   148                                                          guint32 pattern, guint offset, guint size);
       
   149 
   133 
   150 
   134 G_END_DECLS
   151 G_END_DECLS
   135 
   152 
   136 #endif /* __GST_ADAPTER_H__ */
   153 #endif /* __GST_ADAPTER_H__ */