~ubuntu-branches/ubuntu/saucy/gst0.10-python/saucy

« back to all changes in this revision

Viewing changes to gst/gst.defs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2011-01-22 14:16:57 UTC
  • mfrom: (1.3.5 upstream) (18.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110122141657-zbk0crefw35s69d6
Tags: 0.10.21-1
* New upstream stable release, "She used to be an ironhorse, twenty years ago".
  + debian/control:
    - Require GStreamer core/base >= 0.10.32.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
  )
27
27
)
28
28
 
 
29
(define-function is_initialized
 
30
  (c-name "gst_is_initialized")
 
31
  (return-type "gboolean")
 
32
)
 
33
 
 
34
 
29
35
(define-function init_get_option_group
30
36
  (c-name "gst_init_get_option_group")
31
37
  (return-type "GOptionGroup*")
414
420
  )
415
421
)
416
422
 
 
423
(define-method add_list
 
424
  (of-object "GstBufferListIterator")
 
425
  (c-name "gst_buffer_list_iterator_add_list")
 
426
  (return-type "none")
 
427
  (parameters
 
428
    '("GList*" "list")
 
429
  )
 
430
)
 
431
 
417
432
(define-method add_group
418
433
  (of-object "GstBufferListIterator")
419
434
  (c-name "gst_buffer_list_iterator_add_group")
1147
1162
  (return-type "none")
1148
1163
)
1149
1164
 
 
1165
(define-method single_shot_id_reinit
 
1166
  (of-object "GstClock")
 
1167
  (c-name "gst_clock_single_shot_id_reinit")
 
1168
  (return-type "gboolean")
 
1169
  (parameters
 
1170
    '("GstClockID" "id")
 
1171
    '("GstClockTime" "time")
 
1172
  )
 
1173
)
 
1174
 
1150
1175
(define-virtual change_resolution
1151
1176
  (of-object "GstClock")
1152
1177
  (return-type "GstClockTime")
1199
1224
  )
1200
1225
)
1201
1226
 
 
1227
;; From gstdatetime.h
 
1228
 
 
1229
(define-method get_year
 
1230
  (of-object "GstDateTime")
 
1231
  (c-name "gst_date_time_get_year")
 
1232
  (return-type "gint")
 
1233
)
 
1234
 
 
1235
(define-method get_month
 
1236
  (of-object "GstDateTime")
 
1237
  (c-name "gst_date_time_get_month")
 
1238
  (return-type "gint")
 
1239
)
 
1240
 
 
1241
(define-method get_day
 
1242
  (of-object "GstDateTime")
 
1243
  (c-name "gst_date_time_get_day")
 
1244
  (return-type "gint")
 
1245
)
 
1246
 
 
1247
(define-method get_hour
 
1248
  (of-object "GstDateTime")
 
1249
  (c-name "gst_date_time_get_hour")
 
1250
  (return-type "gint")
 
1251
)
 
1252
 
 
1253
(define-method get_minute
 
1254
  (of-object "GstDateTime")
 
1255
  (c-name "gst_date_time_get_minute")
 
1256
  (return-type "gint")
 
1257
)
 
1258
 
 
1259
(define-method get_second
 
1260
  (of-object "GstDateTime")
 
1261
  (c-name "gst_date_time_get_second")
 
1262
  (return-type "gint")
 
1263
)
 
1264
 
 
1265
(define-method get_microsecond
 
1266
  (of-object "GstDateTime")
 
1267
  (c-name "gst_date_time_get_microsecond")
 
1268
  (return-type "gint")
 
1269
)
 
1270
 
 
1271
(define-method get_time_zone_offset
 
1272
  (of-object "GstDateTime")
 
1273
  (c-name "gst_date_time_get_time_zone_offset")
 
1274
  (return-type "gfloat")
 
1275
)
 
1276
 
 
1277
(define-function date_time_new_from_unix_epoch_local_time
 
1278
  (c-name "gst_date_time_new_from_unix_epoch_local_time")
 
1279
  (return-type "GstDateTime*")
 
1280
  (caller-owns-return #t)
 
1281
  (parameters
 
1282
    '("gint64" "secs")
 
1283
  )
 
1284
)
 
1285
 
 
1286
(define-function date_time_new_from_unix_epoch_utc
 
1287
  (c-name "gst_date_time_new_from_unix_epoch_utc")
 
1288
  (return-type "GstDateTime*")
 
1289
  (caller-owns-return #t)
 
1290
  (parameters
 
1291
    '("gint64" "secs")
 
1292
  )
 
1293
)
 
1294
 
 
1295
(define-function date_time_new_local_time
 
1296
  (c-name "gst_date_time_new_local_time")
 
1297
  (return-type "GstDateTime*")
 
1298
  (caller-owns-return #t)
 
1299
  (parameters
 
1300
    '("gint" "year")
 
1301
    '("gint" "month")
 
1302
    '("gint" "day")
 
1303
    '("gint" "hour")
 
1304
    '("gint" "minute")
 
1305
    '("gdouble" "seconds")
 
1306
  )
 
1307
)
 
1308
 
 
1309
(define-function date_time_new
 
1310
  (c-name "gst_date_time_new")
 
1311
  (is-constructor-of "GstDateTime")
 
1312
  (return-type "GstDateTime*")
 
1313
  (caller-owns-return #t)
 
1314
  (parameters
 
1315
    '("gfloat" "tzoffset")
 
1316
    '("gint" "year")
 
1317
    '("gint" "month")
 
1318
    '("gint" "day")
 
1319
    '("gint" "hour")
 
1320
    '("gint" "minute")
 
1321
    '("gdouble" "seconds")
 
1322
  )
 
1323
)
 
1324
 
 
1325
(define-function date_time_new_now_local_time
 
1326
  (c-name "gst_date_time_new_now_local_time")
 
1327
  (return-type "GstDateTime*")
 
1328
  (caller-owns-return #t)
 
1329
)
 
1330
 
 
1331
(define-function date_time_new_now_utc
 
1332
  (c-name "gst_date_time_new_now_utc")
 
1333
  (return-type "GstDateTime*")
 
1334
  (caller-owns-return #t)
 
1335
)
 
1336
 
 
1337
(define-method ref
 
1338
  (of-object "GstDateTime")
 
1339
  (c-name "gst_date_time_ref")
 
1340
  (return-type "GstDateTime*")
 
1341
)
 
1342
 
 
1343
(define-method unref
 
1344
  (of-object "GstDateTime")
 
1345
  (c-name "gst_date_time_unref")
 
1346
  (return-type "none")
 
1347
)
 
1348
 
 
1349
 
 
1350
 
 
1351
 
1202
1352
;; From ../gstreamer/gst/gstdebugutils.h
1203
1353
 
1204
1354
(define-function DEBUG_BIN_TO_DOT_FILE
1249
1399
  (return-type "GList*")
1250
1400
)
1251
1401
 
 
1402
(define-method set_documentation_uri
 
1403
  (of-object "GstElementClass")
 
1404
  (c-name "gst_element_class_set_documentation_uri")
 
1405
  (return-type "none")
 
1406
  (parameters
 
1407
    '("const-gchar*" "uri")
 
1408
  )
 
1409
)
 
1410
 
 
1411
(define-method set_icon_name
 
1412
  (of-object "GstElementClass")
 
1413
  (c-name "gst_element_class_set_icon_name")
 
1414
  (return-type "none")
 
1415
  (parameters
 
1416
    '("const-gchar*" "name")
 
1417
  )
 
1418
)
 
1419
 
1252
1420
(define-method set_details
1253
1421
  (of-object "GstElementClass")
1254
1422
  (c-name "gst_element_class_set_details")
1432
1600
  )
1433
1601
)
1434
1602
 
 
1603
(define-method request_pad
 
1604
  (of-object "GstElement")
 
1605
  (c-name "gst_element_request_pad")
 
1606
  (return-type "GstPad*")
 
1607
  (caller-owns-return #t)
 
1608
  (parameters
 
1609
    '("GstPadTemplate*" "templ")
 
1610
    '("const-gchar*" "name")
 
1611
    '("const-GstCaps*" "caps")
 
1612
  )
 
1613
)
 
1614
 
1435
1615
(define-method release_request_pad
1436
1616
  (of-object "GstElement")
1437
1617
  (c-name "gst_element_release_request_pad")
1744
1924
  (return-type "const-gchar*")
1745
1925
)
1746
1926
 
 
1927
(define-method get_documentation_uri
 
1928
  (of-object "GstElementFactory")
 
1929
  (c-name "gst_element_factory_get_documentation_uri")
 
1930
  (return-type "const-gchar*")
 
1931
)
 
1932
 
 
1933
(define-method get_icon_name
 
1934
  (of-object "GstElementFactory")
 
1935
  (c-name "gst_element_factory_get_icon_name")
 
1936
  (return-type "const-gchar*")
 
1937
)
 
1938
 
1747
1939
(define-method get_num_pad_templates
1748
1940
  (of-object "GstElementFactory")
1749
1941
  (c-name "gst_element_factory_get_num_pad_templates")
1807
1999
    '("GType" "type")
1808
2000
  )
1809
2001
)
 
2002
(define-method list_is_type
 
2003
  (of-object "GstElementFactory")
 
2004
  (c-name "gst_element_factory_list_is_type")
 
2005
  (return-type "gboolean")
 
2006
  (parameters
 
2007
    '("GstElementFactoryListType" "type")
 
2008
  )
 
2009
)
 
2010
 
 
2011
(define-function element_factory_list_get_elements
 
2012
  (c-name "gst_element_factory_list_get_elements")
 
2013
  (return-type "GList*")
 
2014
  (parameters
 
2015
    '("GstElementFactoryListType" "type")
 
2016
    '("GstRank" "minrank")
 
2017
  )
 
2018
)
 
2019
 
 
2020
(define-function element_factory_list_filter
 
2021
  (c-name "gst_element_factory_list_filter")
 
2022
  (return-type "GList*")
 
2023
  (parameters
 
2024
    '("GList*" "list")
 
2025
    '("const-GstCaps*" "caps")
 
2026
    '("GstPadDirection" "direction")
 
2027
    '("gboolean" "subsetonly")
 
2028
  )
 
2029
)
1810
2030
 
1811
2031
;; From ../gstreamer/gst/gstenumtypes.h
1812
2032
 
4943
5163
  )
4944
5164
)
4945
5165
 
 
5166
(define-function util_fraction_compare
 
5167
  (c-name "gst_util_fraction_compare")
 
5168
  (return-type "gint")
 
5169
  (parameters
 
5170
    '("gint" "a_n")
 
5171
    '("gint" "a_d")
 
5172
    '("gint" "b_n")
 
5173
    '("gint" "b_d")
 
5174
  )
 
5175
)
 
5176
 
4946
5177
(define-function event_new_sink_message
4947
5178
  (c-name "gst_event_new_sink_message")
4948
5179
  (return-type "GstEvent*")
5403
5634
  )
5404
5635
)
5405
5636
 
 
5637
(define-function plugin_feature_rank_compare_func
 
5638
  (c-name "gst_plugin_feature_rank_compare_func")
 
5639
  (return-type "gint")
 
5640
  (parameters
 
5641
    '("gconstpointer" "p1")
 
5642
    '("gconstpointer" "p2")
 
5643
  )
 
5644
)
 
5645
 
 
5646
 
5406
5647
;; From gstpoll.h
5407
5648
 
5408
5649
(define-function gst_poll_new
5426
5667
  (return-type "none")
5427
5668
)
5428
5669
 
 
5670
(define-method get_read_gpollfd
 
5671
  (of-object "GstPoll")
 
5672
  (c-name "gst_poll_get_read_gpollfd")
 
5673
  (return-type "none")
 
5674
  (parameters
 
5675
    '("GPollFD*" "fd")
 
5676
  )
 
5677
)
 
5678
 
5429
5679
(define-method init
5430
5680
  (of-object "GstPollFD")
5431
5681
  (c-name "gst_poll_fd_init")
6021
6271
  )
6022
6272
)
6023
6273
 
 
6274
(define-method add_buffering_range
 
6275
  (of-object "GstQuery")
 
6276
  (c-name "gst_query_add_buffering_range")
 
6277
  (return-type "gboolean")
 
6278
  (parameters
 
6279
    '("gint64" "start")
 
6280
    '("gint64" "stop")
 
6281
  )
 
6282
)
 
6283
 
 
6284
(define-method get_n_buffering_ranges
 
6285
  (of-object "GstQuery")
 
6286
  (c-name "gst_query_get_n_buffering_ranges")
 
6287
  (return-type "guint")
 
6288
)
 
6289
 
 
6290
(define-method parse_nth_buffering_range
 
6291
  (of-object "GstQuery")
 
6292
  (c-name "gst_query_parse_nth_buffering_range")
 
6293
  (return-type "gboolean")
 
6294
  (parameters
 
6295
    '("guint" "index")
 
6296
    '("gint64*" "start")
 
6297
    '("gint64*" "stop")
 
6298
  )
 
6299
)
 
6300
 
6024
6301
(define-function query_new_uri
6025
6302
  (c-name "gst_query_new_uri")
6026
6303
  (caller-owns-return #t)
6519
6796
  )
6520
6797
)
6521
6798
 
 
6799
(define-method id_take_value
 
6800
  (of-object "GstStructure")
 
6801
  (c-name "gst_structure_id_take_value")
 
6802
  (return-type "none")
 
6803
  (parameters
 
6804
    '("GQuark" "field")
 
6805
    '("GValue*" "value")
 
6806
  )
 
6807
)
 
6808
 
 
6809
(define-method take_value
 
6810
  (of-object "GstStructure")
 
6811
  (c-name "gst_structure_take_value")
 
6812
  (return-type "none")
 
6813
  (parameters
 
6814
    '("const-gchar*" "fieldname")
 
6815
    '("GValue*" "value")
 
6816
  )
 
6817
)
 
6818
 
6522
6819
(define-method set
6523
6820
  (of-object "GstStructure")
6524
6821
  (c-name "gst_structure_set")
8127
8424
  )
8128
8425
)
8129
8426
 
 
8427
(define-function util_uint64_scale_round
 
8428
  (c-name "gst_util_uint64_scale_round")
 
8429
  (return-type "guint64")
 
8430
  (parameters
 
8431
    '("guint64" "val")
 
8432
    '("guint64" "num")
 
8433
    '("guint64" "denom")
 
8434
  )
 
8435
)
 
8436
 
 
8437
(define-function util_uint64_scale_ceil
 
8438
  (c-name "gst_util_uint64_scale_ceil")
 
8439
  (return-type "guint64")
 
8440
  (parameters
 
8441
    '("guint64" "val")
 
8442
    '("guint64" "num")
 
8443
    '("guint64" "denom")
 
8444
  )
 
8445
)
 
8446
 
8130
8447
(define-function util_uint64_scale_int
8131
8448
  (c-name "gst_util_uint64_scale_int")
8132
8449
  (return-type "guint64")
8137
8454
  )
8138
8455
)
8139
8456
 
 
8457
(define-function util_uint64_scale_int_round
 
8458
  (c-name "gst_util_uint64_scale_int_round")
 
8459
  (return-type "guint64")
 
8460
  (parameters
 
8461
    '("guint64" "val")
 
8462
    '("gint" "num")
 
8463
    '("gint" "denom")
 
8464
  )
 
8465
)
 
8466
 
 
8467
(define-function util_uint64_scale_int_ceil
 
8468
  (c-name "gst_util_uint64_scale_int_ceil")
 
8469
  (return-type "guint64")
 
8470
  (parameters
 
8471
    '("guint64" "val")
 
8472
    '("gint" "num")
 
8473
    '("gint" "denom")
 
8474
  )
 
8475
)
 
8476
 
8140
8477
(define-function util_seqnum_next
8141
8478
  (c-name "gst_util_seqnum_next")
8142
8479
  (return-type "guint32")
8641
8978
  )
8642
8979
)
8643
8980
 
 
8981
(define-function value_list_merge
 
8982
  (c-name "gst_value_list_merge")
 
8983
  (return-type "none")
 
8984
  (parameters
 
8985
    '("GValue*" "dest")
 
8986
    '("const-GValue*" "value1")
 
8987
    '("const-GValue*" "value2")
 
8988
  )
 
8989
)
 
8990
 
8644
8991
(define-function value_list_get_size
8645
8992
  (c-name "gst_value_list_get_size")
8646
8993
  (return-type "guint")
8736
9083
  )
8737
9084
)
8738
9085
 
 
9086
(define-function value_set_int64_range
 
9087
  (c-name "gst_value_set_int64_range")
 
9088
  (return-type "none")
 
9089
  (parameters
 
9090
    '("GValue*" "value")
 
9091
    '("gint64" "start")
 
9092
    '("gint64" "end")
 
9093
  )
 
9094
)
 
9095
 
 
9096
(define-function value_get_int64_range_min
 
9097
  (c-name "gst_value_get_int64_range_min")
 
9098
  (return-type "gint64")
 
9099
  (parameters
 
9100
    '("const-GValue*" "value")
 
9101
  )
 
9102
)
 
9103
 
 
9104
(define-function value_get_int64_range_max
 
9105
  (c-name "gst_value_get_int64_range_max")
 
9106
  (return-type "gint64")
 
9107
  (parameters
 
9108
    '("const-GValue*" "value")
 
9109
  )
 
9110
)
 
9111
 
8739
9112
(define-function value_set_double_range
8740
9113
  (c-name "gst_value_set_double_range")
8741
9114
  (return-type "none")