gstcapsfeatures.inc 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {* GStreamer
  2. * Copyright (C) 2013 Collabora Ltd.
  3. * Author: Sebastian Dröge <[email protected]>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Library General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Library General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Library General Public
  16. * License along with this library; if not, write to the
  17. * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  18. * Boston, MA 02110-1301, USA.
  19. *}
  20. Type
  21. Pgchar = ^Tgchar;
  22. Pgint = ^Tgint;
  23. PGList = ^TGList;
  24. PGQueue = ^TGQueue;
  25. PGSList = ^TGSList;
  26. PGstCapsFeatures = ^TGstCapsFeatures;
  27. PGstCapsFeatures_autoptr = ^TGstCapsFeatures_autoptr;
  28. PGstCapsFeatures_listautoptr = ^TGstCapsFeatures_listautoptr;
  29. PGstCapsFeatures_queueautoptr = ^TGstCapsFeatures_queueautoptr;
  30. PGstCapsFeatures_slistautoptr = ^TGstCapsFeatures_slistautoptr;
  31. {$IFDEF FPC}
  32. {$PACKRECORDS C}
  33. {$ENDIF}
  34. TGstCapsFeatures = record end;
  35. T_GstCapsFeatures = TGstCapsFeatures;
  36. TGstCapsFeatures_autoptr = PGstCapsFeatures;
  37. TGstCapsFeatures_listautoptr = PGList;
  38. TGstCapsFeatures_slistautoptr = PGSList;
  39. TGstCapsFeatures_queueautoptr = PGQueue;
  40. var
  41. _gst_caps_features_type : TGType;cvar;external;
  42. _gst_caps_features_any : PGstCapsFeatures;cvar;external;
  43. _gst_caps_features_memory_system_memory : PGstCapsFeatures;cvar;external;
  44. function gst_caps_features_get_type:TGType;cdecl;external gstreamerlib name 'gst_caps_features_get_type';
  45. function gst_is_caps_features(obj:Tgconstpointer):Tgboolean;cdecl;external gstreamerlib name 'gst_is_caps_features';
  46. function gst_caps_features_new_empty:PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new_empty';
  47. function gst_caps_features_new_any:PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new_any';
  48. (* Const before type ignored *)
  49. function gst_caps_features_new(feature1:Pgchar; args:array of const):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new';
  50. function gst_caps_features_new(feature1:Pgchar):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new';
  51. (* Const before type ignored *)
  52. function gst_caps_features_new_valist(feature1:Pgchar; varargs:Tva_list):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new_valist';
  53. function gst_caps_features_new_id(feature1:TGQuark; args:array of const):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new_id';
  54. function gst_caps_features_new_id(feature1:TGQuark):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new_id';
  55. function gst_caps_features_new_id_valist(feature1:TGQuark; varargs:Tva_list):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_new_id_valist';
  56. function gst_caps_features_set_parent_refcount(features:PGstCapsFeatures; refcount:Pgint):Tgboolean;cdecl;external gstreamerlib name 'gst_caps_features_set_parent_refcount';
  57. (* Const before type ignored *)
  58. function gst_caps_features_copy(features:PGstCapsFeatures):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_copy';
  59. procedure gst_caps_features_free(features:PGstCapsFeatures);cdecl;external gstreamerlib name 'gst_caps_features_free';
  60. (* Const before type ignored *)
  61. function gst_caps_features_to_string(features:PGstCapsFeatures):Pgchar;cdecl;external gstreamerlib name 'gst_caps_features_to_string';
  62. (* Const before type ignored *)
  63. function gst_caps_features_from_string(features:Pgchar):PGstCapsFeatures;cdecl;external gstreamerlib name 'gst_caps_features_from_string';
  64. (* Const before type ignored *)
  65. function gst_caps_features_get_size(features:PGstCapsFeatures):Tguint;cdecl;external gstreamerlib name 'gst_caps_features_get_size';
  66. (* Const before type ignored *)
  67. (* Const before type ignored *)
  68. function gst_caps_features_get_nth(features:PGstCapsFeatures; i:Tguint):Pgchar;cdecl;external gstreamerlib name 'gst_caps_features_get_nth';
  69. (* Const before type ignored *)
  70. function gst_caps_features_get_nth_id(features:PGstCapsFeatures; i:Tguint):TGQuark;cdecl;external gstreamerlib name 'gst_caps_features_get_nth_id';
  71. (* Const before type ignored *)
  72. (* Const before type ignored *)
  73. function gst_caps_features_contains(features:PGstCapsFeatures; feature:Pgchar):Tgboolean;cdecl;external gstreamerlib name 'gst_caps_features_contains';
  74. (* Const before type ignored *)
  75. function gst_caps_features_contains_id(features:PGstCapsFeatures; feature:TGQuark):Tgboolean;cdecl;external gstreamerlib name 'gst_caps_features_contains_id';
  76. (* Const before type ignored *)
  77. (* Const before type ignored *)
  78. function gst_caps_features_is_equal(features1:PGstCapsFeatures; features2:PGstCapsFeatures):Tgboolean;cdecl;external gstreamerlib name 'gst_caps_features_is_equal';
  79. (* Const before type ignored *)
  80. function gst_caps_features_is_any(features:PGstCapsFeatures):Tgboolean;cdecl;external gstreamerlib name 'gst_caps_features_is_any';
  81. (* Const before type ignored *)
  82. procedure gst_caps_features_add(features:PGstCapsFeatures; feature:Pgchar);cdecl;external gstreamerlib name 'gst_caps_features_add';
  83. procedure gst_caps_features_add_id(features:PGstCapsFeatures; feature:TGQuark);cdecl;external gstreamerlib name 'gst_caps_features_add_id';
  84. (* Const before type ignored *)
  85. procedure gst_caps_features_remove(features:PGstCapsFeatures; feature:Pgchar);cdecl;external gstreamerlib name 'gst_caps_features_remove';
  86. procedure gst_caps_features_remove_id(features:PGstCapsFeatures; feature:TGQuark);cdecl;external gstreamerlib name 'gst_caps_features_remove_id';