gstpluginfeature.inc 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. /* GStreamer
  3. * Copyright (C) 1999,2000 Erik Walthinsen <[email protected]>
  4. * 2000 Wim Taymans <[email protected]>
  5. *
  6. * gstpluginfeature.h: Header for base GstPluginFeature
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Library General Public
  10. * License as published by the Free Software Foundation; either
  11. * version 2 of the License, or (at your option) any later version.
  12. *
  13. * This library is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Library General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Library General Public
  19. * License along with this library; if not, write to the
  20. * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  21. * Boston, MA 02110-1301, USA.
  22. */
  23. }
  24. Type
  25. PGstPluginFeature = ^TGstPluginFeature;
  26. PGstPluginFeature_autoptr = ^TGstPluginFeature_autoptr;
  27. PGstPluginFeature_listautoptr = ^TGstPluginFeature_listautoptr;
  28. PGstPluginFeature_queueautoptr = ^TGstPluginFeature_queueautoptr;
  29. PGstPluginFeature_slistautoptr = ^TGstPluginFeature_slistautoptr;
  30. PGstRank = ^TGstRank;
  31. TGstPluginFeature = record end;
  32. T_GstPluginFeature = TGstPluginFeature;
  33. TGstPluginFeatureClass = record end;
  34. T_GstPluginFeatureClass = TGstPluginFeatureClass;
  35. TGstRank = (
  36. GST_RANK_NONE := 0,
  37. GST_RANK_MARGINAL := 64,
  38. GST_RANK_SECONDARY := 128,
  39. GST_RANK_PRIMARY := 256
  40. );
  41. TGstPluginFeature_autoptr = PGstPluginFeature;
  42. TGstPluginFeature_listautoptr = PGList;
  43. TGstPluginFeature_slistautoptr = PGSList;
  44. TGstPluginFeature_queueautoptr = PGQueue;
  45. TGstPluginFeatureFilter = function (feature:PGstPluginFeature; user_data:Tgpointer):Tgboolean;cdecl;
  46. function gst_plugin_feature_get_type:TGType;cdecl;external gstreamerlib name 'gst_plugin_feature_get_type';
  47. function gst_plugin_feature_load(feature:PGstPluginFeature):PGstPluginFeature;cdecl;external gstreamerlib name 'gst_plugin_feature_load';
  48. procedure gst_plugin_feature_set_rank(feature:PGstPluginFeature; rank:Tguint);cdecl;external gstreamerlib name 'gst_plugin_feature_set_rank';
  49. function gst_plugin_feature_get_rank(feature:PGstPluginFeature):Tguint;cdecl;external gstreamerlib name 'gst_plugin_feature_get_rank';
  50. function gst_plugin_feature_get_plugin(feature:PGstPluginFeature):PGstPlugin;cdecl;external gstreamerlib name 'gst_plugin_feature_get_plugin';
  51. function gst_plugin_feature_get_plugin_name(feature:PGstPluginFeature):Pgchar;cdecl;external gstreamerlib name 'gst_plugin_feature_get_plugin_name';
  52. procedure gst_plugin_feature_list_free(list:PGList);cdecl;external gstreamerlib name 'gst_plugin_feature_list_free';
  53. function gst_plugin_feature_list_copy(list:PGList):PGList;cdecl;external gstreamerlib name 'gst_plugin_feature_list_copy';
  54. procedure gst_plugin_feature_list_debug(list:PGList);cdecl;external gstreamerlib name 'gst_plugin_feature_list_debug';
  55. function gst_plugin_feature_check_version(feature:PGstPluginFeature; min_major:Tguint; min_minor:Tguint; min_micro:Tguint):Tgboolean;cdecl;external gstreamerlib name 'gst_plugin_feature_check_version';
  56. function gst_plugin_feature_rank_compare_func(p1:Tgconstpointer; p2:Tgconstpointer):Tgint;cdecl;external gstreamerlib name 'gst_plugin_feature_rank_compare_func';