X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstdeviceproviderfactory.h;h=41840b8d292fae688fc14366737b9e322309a174;hb=ce43de86902c4e9c8ed4e9682602664cb9bce2ee;hp=edda73635e12b9a74135219db3ce816e0186dc12;hpb=6d12b339455abbe15e67414d14a84fb567815be0;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstdeviceproviderfactory.h b/gst/gstdeviceproviderfactory.h index edda736..41840b8 100644 --- a/gst/gstdeviceproviderfactory.h +++ b/gst/gstdeviceproviderfactory.h @@ -60,31 +60,45 @@ G_BEGIN_DECLS #define GST_IS_DEVICE_PROVIDER_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DEVICE_PROVIDER_FACTORY)) #define GST_DEVICE_PROVIDER_FACTORY_CAST(obj) ((GstDeviceProviderFactory *)(obj)) +GST_API GType gst_device_provider_factory_get_type (void); +GST_API GstDeviceProviderFactory * gst_device_provider_factory_find (const gchar *name); +GST_API GType gst_device_provider_factory_get_device_provider_type (GstDeviceProviderFactory *factory); +GST_API const gchar * gst_device_provider_factory_get_metadata (GstDeviceProviderFactory *factory, const gchar *key); + +GST_API gchar ** gst_device_provider_factory_get_metadata_keys (GstDeviceProviderFactory *factory); +GST_API GstDeviceProvider* gst_device_provider_factory_get (GstDeviceProviderFactory *factory) G_GNUC_MALLOC; + +GST_API GstDeviceProvider* gst_device_provider_factory_get_by_name (const gchar *factoryname) G_GNUC_MALLOC; +GST_API gboolean gst_device_provider_register (GstPlugin *plugin, const gchar *name, guint rank, GType type); - +GST_API gboolean gst_device_provider_factory_has_classesv (GstDeviceProviderFactory * factory, gchar ** classes); - +GST_API gboolean gst_device_provider_factory_has_classes (GstDeviceProviderFactory *factory, const gchar * classes); - +GST_API GList * gst_device_provider_factory_list_get_device_providers ( GstRank minrank) G_GNUC_MALLOC; +#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDeviceProviderFactory, gst_object_unref) +#endif + G_END_DECLS #endif /* __GST_DEVICE_PROVIDER_FACTORY_H__ */