gstreamer_core/gst/gstutils.h
changeset 19 24ed0baaf8e5
parent 16 8e837d1bf446
child 11 1373546e05c6
equal deleted inserted replaced
18:5824eee55f42 19:24ed0baaf8e5
    29 #include <gst/gstbin.h>
    29 #include <gst/gstbin.h>
    30 #include <gst/gstparse.h>
    30 #include <gst/gstparse.h>
    31 
    31 
    32 G_BEGIN_DECLS
    32 G_BEGIN_DECLS
    33 
    33 
       
    34 #ifdef __SYMBIAN32__
       
    35 IMPORT_C
       
    36 #endif
    34 void		gst_util_set_value_from_string	(GValue *value, const gchar *value_str);
    37 void		gst_util_set_value_from_string	(GValue *value, const gchar *value_str);
    35 #ifdef __SYMBIAN32__
    38 #ifdef __SYMBIAN32__
    36 IMPORT_C
    39 IMPORT_C
    37 #endif
    40 #endif
    38 
    41 
    77 #else
    80 #else
    78 #define         gst_gdouble_to_guint64(value)   ((guint64) (value))
    81 #define         gst_gdouble_to_guint64(value)   ((guint64) (value))
    79 #define         gst_guint64_to_gdouble(value)   ((gdouble) (value))
    82 #define         gst_guint64_to_gdouble(value)   ((gdouble) (value))
    80 #endif
    83 #endif
    81 
    84 
       
    85 #ifdef __SYMBIAN32__
       
    86 IMPORT_C
       
    87 #endif
    82 guint64		gst_util_uint64_scale		(guint64 val, guint64 num, guint64 denom) G_GNUC_PURE;
    88 guint64		gst_util_uint64_scale		(guint64 val, guint64 num, guint64 denom) G_GNUC_PURE;
    83 #ifdef __SYMBIAN32__
    89 #ifdef __SYMBIAN32__
    84 IMPORT_C
    90 IMPORT_C
    85 #endif
    91 #endif
    86 
    92 
   165   parent_class = (parent_type ## Class *)				\
   171   parent_class = (parent_type ## Class *)				\
   166       g_type_class_peek_parent (g_class);				\
   172       g_type_class_peek_parent (g_class);				\
   167   type_as_function ## _class_init ((type ## Class *)g_class);		\
   173   type_as_function ## _class_init ((type ## Class *)g_class);		\
   168 }									\
   174 }									\
   169 									\
   175 									\
   170 GType type_as_function ## _get_type (void);				\
   176 __declspec(dllimport) GType type_as_function ## _get_type (void);				\
   171 									\
   177 									\
   172 __declspec(dllexport) GType									\
   178 __declspec(dllexport) GType									\
   173 type_as_function ## _get_type (void)					\
   179 type_as_function ## _get_type (void)					\
   174 {									\
   180 {									\
   175   /* The typedef for GType may be gulong or gsize, depending on the	\
   181   /* The typedef for GType may be gulong or gsize, depending on the	\
  1029  *
  1035  *
  1030  * Since: 0.10.12
  1036  * Since: 0.10.12
  1031  */
  1037  */
  1032 #define GST_ROUND_DOWN_64(num) ((num)&(~63))
  1038 #define GST_ROUND_DOWN_64(num) ((num)&(~63))
  1033 
  1039 
       
  1040 #ifdef __SYMBIAN32__
       
  1041 IMPORT_C
       
  1042 #endif
  1034 void			gst_object_default_error	(GstObject * source,
  1043 void			gst_object_default_error	(GstObject * source,
  1035 							 GError * error, gchar * debug);
  1044 							 GError * error, gchar * debug);
  1036 
  1045 
  1037 /* element functions */
  1046 /* element functions */
  1038 #ifdef __SYMBIAN32__
  1047 #ifdef __SYMBIAN32__
  1246 IMPORT_C
  1255 IMPORT_C
  1247 #endif
  1256 #endif
  1248 
  1257 
  1249 GstPad *                gst_bin_find_unlinked_pad       (GstBin *bin, GstPadDirection direction);
  1258 GstPad *                gst_bin_find_unlinked_pad       (GstBin *bin, GstPadDirection direction);
  1250 #ifndef GST_DISABLE_DEPRECATED
  1259 #ifndef GST_DISABLE_DEPRECATED
       
  1260 #ifdef __SYMBIAN32__
       
  1261 IMPORT_C
       
  1262 #endif
  1251 GstPad *                gst_bin_find_unconnected_pad    (GstBin *bin, GstPadDirection direction);
  1263 GstPad *                gst_bin_find_unconnected_pad    (GstBin *bin, GstPadDirection direction);
  1252 #endif
  1264 #endif
  1253 
  1265 
  1254 /* buffer functions */
  1266 /* buffer functions */
  1255 #ifdef __SYMBIAN32__
  1267 #ifdef __SYMBIAN32__