@girs/gstgl-1.0 1.0.0-3.0.4 → 1.0.0-3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gstgl-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GstGL-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.4.
8
+ GJS TypeScript type definitions for GstGL-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.0.
9
9
 
10
10
 
11
11
  ## Install
package/gstgl-1.0.d.cts CHANGED
@@ -1196,6 +1196,242 @@ export class GLBaseMemoryAllocator extends Gst.Allocator {
1196
1196
  _init(config?: GLBaseMemoryAllocator.ConstructorProperties): void
1197
1197
  }
1198
1198
 
1199
+ export module GLBaseMixer {
1200
+
1201
+ // Constructor properties interface
1202
+
1203
+ export interface ConstructorProperties extends GstVideo.VideoAggregator.ConstructorProperties {
1204
+ }
1205
+
1206
+ }
1207
+
1208
+ export interface GLBaseMixer {
1209
+
1210
+ // Conflicting properties
1211
+
1212
+ start_time: any
1213
+ object: any
1214
+
1215
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixer
1216
+
1217
+ /**
1218
+ * parent #GstVideoAggregator
1219
+ * @field
1220
+ */
1221
+ parent: GstVideo.VideoAggregator & Gst.Element & Gst.Object & Gst.Object
1222
+ /**
1223
+ * the currently configured #GstGLDisplay
1224
+ * @field
1225
+ */
1226
+ display: GLDisplay
1227
+ /**
1228
+ * the currently configured #GstGLContext
1229
+ * @field
1230
+ */
1231
+ context: GLContext
1232
+
1233
+ // Owm methods of GstGL-1.0.GstGL.GLBaseMixer
1234
+
1235
+ get_gl_context(): GLContext | null
1236
+
1237
+ // Conflicting methods
1238
+
1239
+ /**
1240
+ * Increments the reference count on `object`. This function
1241
+ * does not take the lock on `object` because it relies on
1242
+ * atomic refcounting.
1243
+ *
1244
+ * This object returns the input parameter to ease writing
1245
+ * constructs like :
1246
+ * result = gst_object_ref (object->parent);
1247
+ * @returns A pointer to @object
1248
+ */
1249
+ ref(): Gst.Object
1250
+
1251
+ // Overloads of ref
1252
+
1253
+ /**
1254
+ * Increases the reference count of `object`.
1255
+ *
1256
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1257
+ * of `object` will be propagated to the return type (using the GCC typeof()
1258
+ * extension), so any casting the caller needs to do on the return type must be
1259
+ * explicit.
1260
+ * @returns the same @object
1261
+ */
1262
+ ref(): GObject.Object
1263
+ /**
1264
+ * Increases the reference count of `object`.
1265
+ *
1266
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1267
+ * of `object` will be propagated to the return type (using the GCC typeof()
1268
+ * extension), so any casting the caller needs to do on the return type must be
1269
+ * explicit.
1270
+ * @returns the same @object
1271
+ */
1272
+ ref(): GObject.Object
1273
+
1274
+ // Own virtual methods of GstGL-1.0.GstGL.GLBaseMixer
1275
+
1276
+ /**
1277
+ * called in the GL thread to setup the element GL state.
1278
+ * @virtual
1279
+ * @returns whether the start was successful
1280
+ */
1281
+ vfunc_gl_start(): boolean
1282
+ /**
1283
+ * called in the GL thread to setup the element GL state.
1284
+ * @virtual
1285
+ */
1286
+ vfunc_gl_stop(): void
1287
+
1288
+ // Class property signals of GstGL-1.0.GstGL.GLBaseMixer
1289
+
1290
+ connect(sigName: "notify::force-live", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1291
+ connect_after(sigName: "notify::force-live", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1292
+ emit(sigName: "notify::force-live", ...args: any[]): void
1293
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1294
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1295
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
1296
+ connect(sigName: "notify::latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1297
+ connect_after(sigName: "notify::latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1298
+ emit(sigName: "notify::latency", ...args: any[]): void
1299
+ connect(sigName: "notify::min-upstream-latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1300
+ connect_after(sigName: "notify::min-upstream-latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1301
+ emit(sigName: "notify::min-upstream-latency", ...args: any[]): void
1302
+ connect(sigName: "notify::start-time", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1303
+ connect_after(sigName: "notify::start-time", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1304
+ emit(sigName: "notify::start-time", ...args: any[]): void
1305
+ connect(sigName: "notify::start-time-selection", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1306
+ connect_after(sigName: "notify::start-time-selection", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1307
+ emit(sigName: "notify::start-time-selection", ...args: any[]): void
1308
+ connect(sigName: string, callback: (...args: any[]) => void): number
1309
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1310
+ emit(sigName: string, ...args: any[]): void
1311
+ disconnect(id: number): void
1312
+ }
1313
+
1314
+ /**
1315
+ * #GstGLBaseMixer handles the nitty gritty details of retrieving an OpenGL
1316
+ * context. It provides some virtual methods to know when the OpenGL context
1317
+ * is available and is not available within this element.
1318
+ * @class
1319
+ */
1320
+ export class GLBaseMixer extends GstVideo.VideoAggregator {
1321
+
1322
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixer
1323
+
1324
+ static name: string
1325
+ static $gtype: GObject.GType<GLBaseMixer>
1326
+
1327
+ // Constructors of GstGL-1.0.GstGL.GLBaseMixer
1328
+
1329
+ constructor(config?: GLBaseMixer.ConstructorProperties)
1330
+ _init(config?: GLBaseMixer.ConstructorProperties): void
1331
+ }
1332
+
1333
+ export module GLBaseMixerPad {
1334
+
1335
+ // Constructor properties interface
1336
+
1337
+ export interface ConstructorProperties extends GstVideo.VideoAggregatorPad.ConstructorProperties {
1338
+ }
1339
+
1340
+ }
1341
+
1342
+ export interface GLBaseMixerPad {
1343
+
1344
+ // Conflicting properties
1345
+
1346
+ object: any
1347
+
1348
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixerPad
1349
+
1350
+ /**
1351
+ * parent #GstVideoAggregatorPad
1352
+ * @field
1353
+ */
1354
+ parent: GstVideo.VideoAggregatorPad & GstBase.AggregatorPad & Gst.Pad & Gst.Object & Gst.Object
1355
+
1356
+ // Conflicting methods
1357
+
1358
+ /**
1359
+ * Increments the reference count on `object`. This function
1360
+ * does not take the lock on `object` because it relies on
1361
+ * atomic refcounting.
1362
+ *
1363
+ * This object returns the input parameter to ease writing
1364
+ * constructs like :
1365
+ * result = gst_object_ref (object->parent);
1366
+ * @returns A pointer to @object
1367
+ */
1368
+ ref(): Gst.Object
1369
+
1370
+ // Overloads of ref
1371
+
1372
+ /**
1373
+ * Increases the reference count of `object`.
1374
+ *
1375
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1376
+ * of `object` will be propagated to the return type (using the GCC typeof()
1377
+ * extension), so any casting the caller needs to do on the return type must be
1378
+ * explicit.
1379
+ * @returns the same @object
1380
+ */
1381
+ ref(): GObject.Object
1382
+ /**
1383
+ * Increases the reference count of `object`.
1384
+ *
1385
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1386
+ * of `object` will be propagated to the return type (using the GCC typeof()
1387
+ * extension), so any casting the caller needs to do on the return type must be
1388
+ * explicit.
1389
+ * @returns the same @object
1390
+ */
1391
+ ref(): GObject.Object
1392
+
1393
+ // Class property signals of GstGL-1.0.GstGL.GLBaseMixerPad
1394
+
1395
+ connect(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1396
+ connect_after(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1397
+ emit(sigName: "notify::max-last-buffer-repeat", ...args: any[]): void
1398
+ connect(sigName: "notify::repeat-after-eos", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1399
+ connect_after(sigName: "notify::repeat-after-eos", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1400
+ emit(sigName: "notify::repeat-after-eos", ...args: any[]): void
1401
+ connect(sigName: "notify::zorder", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1402
+ connect_after(sigName: "notify::zorder", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1403
+ emit(sigName: "notify::zorder", ...args: any[]): void
1404
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1405
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1406
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
1407
+ connect(sigName: "notify::caps", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1408
+ connect_after(sigName: "notify::caps", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1409
+ emit(sigName: "notify::caps", ...args: any[]): void
1410
+ connect(sigName: "notify::offset", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1411
+ connect_after(sigName: "notify::offset", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1412
+ emit(sigName: "notify::offset", ...args: any[]): void
1413
+ connect(sigName: "notify::template", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1414
+ connect_after(sigName: "notify::template", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1415
+ emit(sigName: "notify::template", ...args: any[]): void
1416
+ connect(sigName: string, callback: (...args: any[]) => void): number
1417
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1418
+ emit(sigName: string, ...args: any[]): void
1419
+ disconnect(id: number): void
1420
+ }
1421
+
1422
+ export class GLBaseMixerPad extends GstVideo.VideoAggregatorPad {
1423
+
1424
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerPad
1425
+
1426
+ static name: string
1427
+ static $gtype: GObject.GType<GLBaseMixerPad>
1428
+
1429
+ // Constructors of GstGL-1.0.GstGL.GLBaseMixerPad
1430
+
1431
+ constructor(config?: GLBaseMixerPad.ConstructorProperties)
1432
+ _init(config?: GLBaseMixerPad.ConstructorProperties): void
1433
+ }
1434
+
1199
1435
  export module GLBaseSrc {
1200
1436
 
1201
1437
  // Constructor properties interface
@@ -2977,6 +3213,256 @@ export class GLMemoryPBOAllocator extends GLMemoryAllocator {
2977
3213
  _init(config?: GLMemoryPBOAllocator.ConstructorProperties): void
2978
3214
  }
2979
3215
 
3216
+ export module GLMixer {
3217
+
3218
+ // Constructor properties interface
3219
+
3220
+ export interface ConstructorProperties extends GLBaseMixer.ConstructorProperties {
3221
+ }
3222
+
3223
+ }
3224
+
3225
+ export interface GLMixer {
3226
+
3227
+ // Conflicting properties
3228
+
3229
+ start_time: any
3230
+ object: any
3231
+
3232
+ // Own fields of GstGL-1.0.GstGL.GLMixer
3233
+
3234
+ parent: GLBaseMixer & GstVideo.VideoAggregator & Gst.Element & Gst.Object & Gst.Object
3235
+ /**
3236
+ * the configured output #GstCaps
3237
+ * @field
3238
+ */
3239
+ out_caps: Gst.Caps
3240
+
3241
+ // Owm methods of GstGL-1.0.GstGL.GLMixer
3242
+
3243
+ get_framebuffer(): GLFramebuffer
3244
+ /**
3245
+ * Perform processing required and call #GstGLMixerClass::process_textures().
3246
+ * Intended for use within implementations of
3247
+ * #GstGLMixerClass::process_buffers().
3248
+ * @param outbuf output `GstBuffer`
3249
+ * @returns whether processing of textures succeeded
3250
+ */
3251
+ process_textures(outbuf: Gst.Buffer): boolean
3252
+
3253
+ // Conflicting methods
3254
+
3255
+ /**
3256
+ * Increments the reference count on `object`. This function
3257
+ * does not take the lock on `object` because it relies on
3258
+ * atomic refcounting.
3259
+ *
3260
+ * This object returns the input parameter to ease writing
3261
+ * constructs like :
3262
+ * result = gst_object_ref (object->parent);
3263
+ * @returns A pointer to @object
3264
+ */
3265
+ ref(): Gst.Object
3266
+
3267
+ // Overloads of ref
3268
+
3269
+ /**
3270
+ * Increases the reference count of `object`.
3271
+ *
3272
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3273
+ * of `object` will be propagated to the return type (using the GCC typeof()
3274
+ * extension), so any casting the caller needs to do on the return type must be
3275
+ * explicit.
3276
+ * @returns the same @object
3277
+ */
3278
+ ref(): GObject.Object
3279
+ /**
3280
+ * Increases the reference count of `object`.
3281
+ *
3282
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3283
+ * of `object` will be propagated to the return type (using the GCC typeof()
3284
+ * extension), so any casting the caller needs to do on the return type must be
3285
+ * explicit.
3286
+ * @returns the same @object
3287
+ */
3288
+ ref(): GObject.Object
3289
+
3290
+ // Own virtual methods of GstGL-1.0.GstGL.GLMixer
3291
+
3292
+ /**
3293
+ * Perform operations on the input buffers to produce an
3294
+ * output buffer.
3295
+ * @virtual
3296
+ * @param outbuf
3297
+ */
3298
+ vfunc_process_buffers(outbuf: Gst.Buffer): boolean
3299
+ /**
3300
+ * Perform processing required and call #GstGLMixerClass::process_textures().
3301
+ * Intended for use within implementations of
3302
+ * #GstGLMixerClass::process_buffers().
3303
+ * @virtual
3304
+ * @param out_tex
3305
+ * @returns whether processing of textures succeeded
3306
+ */
3307
+ vfunc_process_textures(out_tex: GLMemory): boolean
3308
+
3309
+ // Class property signals of GstGL-1.0.GstGL.GLMixer
3310
+
3311
+ connect(sigName: "notify::force-live", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3312
+ connect_after(sigName: "notify::force-live", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3313
+ emit(sigName: "notify::force-live", ...args: any[]): void
3314
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3315
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3316
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
3317
+ connect(sigName: "notify::latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3318
+ connect_after(sigName: "notify::latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3319
+ emit(sigName: "notify::latency", ...args: any[]): void
3320
+ connect(sigName: "notify::min-upstream-latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3321
+ connect_after(sigName: "notify::min-upstream-latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3322
+ emit(sigName: "notify::min-upstream-latency", ...args: any[]): void
3323
+ connect(sigName: "notify::start-time", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3324
+ connect_after(sigName: "notify::start-time", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3325
+ emit(sigName: "notify::start-time", ...args: any[]): void
3326
+ connect(sigName: "notify::start-time-selection", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3327
+ connect_after(sigName: "notify::start-time-selection", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3328
+ emit(sigName: "notify::start-time-selection", ...args: any[]): void
3329
+ connect(sigName: string, callback: (...args: any[]) => void): number
3330
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3331
+ emit(sigName: string, ...args: any[]): void
3332
+ disconnect(id: number): void
3333
+ }
3334
+
3335
+ /**
3336
+ * #GstGLMixer helps implement an element that operates on RGBA textures.
3337
+ * @class
3338
+ */
3339
+ export class GLMixer extends GLBaseMixer {
3340
+
3341
+ // Own properties of GstGL-1.0.GstGL.GLMixer
3342
+
3343
+ static name: string
3344
+ static $gtype: GObject.GType<GLMixer>
3345
+
3346
+ // Constructors of GstGL-1.0.GstGL.GLMixer
3347
+
3348
+ constructor(config?: GLMixer.ConstructorProperties)
3349
+ _init(config?: GLMixer.ConstructorProperties): void
3350
+ /**
3351
+ * Adds the default RGBA pad templates to this class. If you have any special
3352
+ * template requirements like a different pad subclass or different supported
3353
+ * caps, you should not call this function and add the pad templates yourself
3354
+ * manually.
3355
+ */
3356
+ static add_rgba_pad_templates(klass: GLMixer | Function | GObject.GType): void
3357
+ }
3358
+
3359
+ export module GLMixerPad {
3360
+
3361
+ // Constructor properties interface
3362
+
3363
+ export interface ConstructorProperties extends GLBaseMixerPad.ConstructorProperties {
3364
+ }
3365
+
3366
+ }
3367
+
3368
+ export interface GLMixerPad {
3369
+
3370
+ // Conflicting properties
3371
+
3372
+ object: any
3373
+
3374
+ // Own fields of GstGL-1.0.GstGL.GLMixerPad
3375
+
3376
+ /**
3377
+ * parent #GstGLBaseMixerPad
3378
+ * @field
3379
+ */
3380
+ parent: GLBaseMixerPad & GstVideo.VideoAggregatorPad & GstBase.AggregatorPad & Gst.Pad & Gst.Object & Gst.Object
3381
+ /**
3382
+ * the current input texture for this pad
3383
+ * @field
3384
+ */
3385
+ current_texture: number
3386
+
3387
+ // Conflicting methods
3388
+
3389
+ /**
3390
+ * Increments the reference count on `object`. This function
3391
+ * does not take the lock on `object` because it relies on
3392
+ * atomic refcounting.
3393
+ *
3394
+ * This object returns the input parameter to ease writing
3395
+ * constructs like :
3396
+ * result = gst_object_ref (object->parent);
3397
+ * @returns A pointer to @object
3398
+ */
3399
+ ref(): Gst.Object
3400
+
3401
+ // Overloads of ref
3402
+
3403
+ /**
3404
+ * Increases the reference count of `object`.
3405
+ *
3406
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3407
+ * of `object` will be propagated to the return type (using the GCC typeof()
3408
+ * extension), so any casting the caller needs to do on the return type must be
3409
+ * explicit.
3410
+ * @returns the same @object
3411
+ */
3412
+ ref(): GObject.Object
3413
+ /**
3414
+ * Increases the reference count of `object`.
3415
+ *
3416
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3417
+ * of `object` will be propagated to the return type (using the GCC typeof()
3418
+ * extension), so any casting the caller needs to do on the return type must be
3419
+ * explicit.
3420
+ * @returns the same @object
3421
+ */
3422
+ ref(): GObject.Object
3423
+
3424
+ // Class property signals of GstGL-1.0.GstGL.GLMixerPad
3425
+
3426
+ connect(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3427
+ connect_after(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3428
+ emit(sigName: "notify::max-last-buffer-repeat", ...args: any[]): void
3429
+ connect(sigName: "notify::repeat-after-eos", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3430
+ connect_after(sigName: "notify::repeat-after-eos", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3431
+ emit(sigName: "notify::repeat-after-eos", ...args: any[]): void
3432
+ connect(sigName: "notify::zorder", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3433
+ connect_after(sigName: "notify::zorder", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3434
+ emit(sigName: "notify::zorder", ...args: any[]): void
3435
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3436
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3437
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
3438
+ connect(sigName: "notify::caps", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3439
+ connect_after(sigName: "notify::caps", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3440
+ emit(sigName: "notify::caps", ...args: any[]): void
3441
+ connect(sigName: "notify::offset", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3442
+ connect_after(sigName: "notify::offset", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3443
+ emit(sigName: "notify::offset", ...args: any[]): void
3444
+ connect(sigName: "notify::template", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3445
+ connect_after(sigName: "notify::template", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3446
+ emit(sigName: "notify::template", ...args: any[]): void
3447
+ connect(sigName: string, callback: (...args: any[]) => void): number
3448
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3449
+ emit(sigName: string, ...args: any[]): void
3450
+ disconnect(id: number): void
3451
+ }
3452
+
3453
+ export class GLMixerPad extends GLBaseMixerPad {
3454
+
3455
+ // Own properties of GstGL-1.0.GstGL.GLMixerPad
3456
+
3457
+ static name: string
3458
+ static $gtype: GObject.GType<GLMixerPad>
3459
+
3460
+ // Constructors of GstGL-1.0.GstGL.GLMixerPad
3461
+
3462
+ constructor(config?: GLMixerPad.ConstructorProperties)
3463
+ _init(config?: GLMixerPad.ConstructorProperties): void
3464
+ }
3465
+
2980
3466
  export module GLOverlayCompositor {
2981
3467
 
2982
3468
  // Constructor properties interface
@@ -4556,6 +5042,59 @@ export abstract class GLBaseMemoryAllocatorClass {
4556
5042
  static name: string
4557
5043
  }
4558
5044
 
5045
+ export interface GLBaseMixerClass {
5046
+
5047
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixerClass
5048
+
5049
+ /**
5050
+ * the parent #GstVideoAggregatorClass
5051
+ * @field
5052
+ */
5053
+ parent_class: GstVideo.VideoAggregatorClass
5054
+ /**
5055
+ * the logical-OR of #GstGLAPI's supported by this element
5056
+ * @field
5057
+ */
5058
+ supported_gl_api: GLAPI
5059
+ gl_start: (mix: GLBaseMixer) => boolean
5060
+ gl_stop: (mix: GLBaseMixer) => void
5061
+ }
5062
+
5063
+ export abstract class GLBaseMixerClass {
5064
+
5065
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerClass
5066
+
5067
+ static name: string
5068
+ }
5069
+
5070
+ export interface GLBaseMixerPadClass {
5071
+
5072
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixerPadClass
5073
+
5074
+ /**
5075
+ * parent #GstVideoAggregatorPadClass
5076
+ * @field
5077
+ */
5078
+ parent_class: GstVideo.VideoAggregatorPadClass
5079
+ }
5080
+
5081
+ export abstract class GLBaseMixerPadClass {
5082
+
5083
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerPadClass
5084
+
5085
+ static name: string
5086
+ }
5087
+
5088
+ export interface GLBaseMixerPrivate {
5089
+ }
5090
+
5091
+ export class GLBaseMixerPrivate {
5092
+
5093
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerPrivate
5094
+
5095
+ static name: string
5096
+ }
5097
+
4559
5098
  export interface GLBaseSrcClass {
4560
5099
 
4561
5100
  // Own fields of GstGL-1.0.GstGL.GLBaseSrcClass
@@ -5112,6 +5651,60 @@ export abstract class GLMemoryPBOAllocatorClass {
5112
5651
  static name: string
5113
5652
  }
5114
5653
 
5654
+ export interface GLMixerClass {
5655
+
5656
+ // Own fields of GstGL-1.0.GstGL.GLMixerClass
5657
+
5658
+ parent_class: GLBaseMixerClass
5659
+ process_buffers: (mix: GLMixer, outbuf: Gst.Buffer) => boolean
5660
+ process_textures: (mix: GLMixer, out_tex: GLMemory) => boolean
5661
+ }
5662
+
5663
+ export abstract class GLMixerClass {
5664
+
5665
+ // Own properties of GstGL-1.0.GstGL.GLMixerClass
5666
+
5667
+ static name: string
5668
+
5669
+ // Owm static methods of GstGL-1.0.GstGL.GLMixerClass
5670
+
5671
+ /**
5672
+ * Adds the default RGBA pad templates to this class. If you have any special
5673
+ * template requirements like a different pad subclass or different supported
5674
+ * caps, you should not call this function and add the pad templates yourself
5675
+ * manually.
5676
+ */
5677
+ static add_rgba_pad_templates(klass: GLMixer | Function | GObject.GType): void
5678
+ }
5679
+
5680
+ export interface GLMixerPadClass {
5681
+
5682
+ // Own fields of GstGL-1.0.GstGL.GLMixerPadClass
5683
+
5684
+ /**
5685
+ * parent #GstGLBaseMixerPadClass
5686
+ * @field
5687
+ */
5688
+ parent_class: GLBaseMixerPadClass
5689
+ }
5690
+
5691
+ export abstract class GLMixerPadClass {
5692
+
5693
+ // Own properties of GstGL-1.0.GstGL.GLMixerPadClass
5694
+
5695
+ static name: string
5696
+ }
5697
+
5698
+ export interface GLMixerPrivate {
5699
+ }
5700
+
5701
+ export class GLMixerPrivate {
5702
+
5703
+ // Own properties of GstGL-1.0.GstGL.GLMixerPrivate
5704
+
5705
+ static name: string
5706
+ }
5707
+
5115
5708
  export interface GLOverlayCompositorClass {
5116
5709
 
5117
5710
  // Own fields of GstGL-1.0.GstGL.GLOverlayCompositorClass
package/gstgl-1.0.d.ts CHANGED
@@ -1198,6 +1198,242 @@ class GLBaseMemoryAllocator extends Gst.Allocator {
1198
1198
  _init(config?: GLBaseMemoryAllocator.ConstructorProperties): void
1199
1199
  }
1200
1200
 
1201
+ module GLBaseMixer {
1202
+
1203
+ // Constructor properties interface
1204
+
1205
+ interface ConstructorProperties extends GstVideo.VideoAggregator.ConstructorProperties {
1206
+ }
1207
+
1208
+ }
1209
+
1210
+ interface GLBaseMixer {
1211
+
1212
+ // Conflicting properties
1213
+
1214
+ start_time: any
1215
+ object: any
1216
+
1217
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixer
1218
+
1219
+ /**
1220
+ * parent #GstVideoAggregator
1221
+ * @field
1222
+ */
1223
+ parent: GstVideo.VideoAggregator & Gst.Element & Gst.Object & Gst.Object
1224
+ /**
1225
+ * the currently configured #GstGLDisplay
1226
+ * @field
1227
+ */
1228
+ display: GLDisplay
1229
+ /**
1230
+ * the currently configured #GstGLContext
1231
+ * @field
1232
+ */
1233
+ context: GLContext
1234
+
1235
+ // Owm methods of GstGL-1.0.GstGL.GLBaseMixer
1236
+
1237
+ get_gl_context(): GLContext | null
1238
+
1239
+ // Conflicting methods
1240
+
1241
+ /**
1242
+ * Increments the reference count on `object`. This function
1243
+ * does not take the lock on `object` because it relies on
1244
+ * atomic refcounting.
1245
+ *
1246
+ * This object returns the input parameter to ease writing
1247
+ * constructs like :
1248
+ * result = gst_object_ref (object->parent);
1249
+ * @returns A pointer to @object
1250
+ */
1251
+ ref(): Gst.Object
1252
+
1253
+ // Overloads of ref
1254
+
1255
+ /**
1256
+ * Increases the reference count of `object`.
1257
+ *
1258
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1259
+ * of `object` will be propagated to the return type (using the GCC typeof()
1260
+ * extension), so any casting the caller needs to do on the return type must be
1261
+ * explicit.
1262
+ * @returns the same @object
1263
+ */
1264
+ ref(): GObject.Object
1265
+ /**
1266
+ * Increases the reference count of `object`.
1267
+ *
1268
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1269
+ * of `object` will be propagated to the return type (using the GCC typeof()
1270
+ * extension), so any casting the caller needs to do on the return type must be
1271
+ * explicit.
1272
+ * @returns the same @object
1273
+ */
1274
+ ref(): GObject.Object
1275
+
1276
+ // Own virtual methods of GstGL-1.0.GstGL.GLBaseMixer
1277
+
1278
+ /**
1279
+ * called in the GL thread to setup the element GL state.
1280
+ * @virtual
1281
+ * @returns whether the start was successful
1282
+ */
1283
+ vfunc_gl_start(): boolean
1284
+ /**
1285
+ * called in the GL thread to setup the element GL state.
1286
+ * @virtual
1287
+ */
1288
+ vfunc_gl_stop(): void
1289
+
1290
+ // Class property signals of GstGL-1.0.GstGL.GLBaseMixer
1291
+
1292
+ connect(sigName: "notify::force-live", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1293
+ connect_after(sigName: "notify::force-live", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1294
+ emit(sigName: "notify::force-live", ...args: any[]): void
1295
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1296
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1297
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
1298
+ connect(sigName: "notify::latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1299
+ connect_after(sigName: "notify::latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1300
+ emit(sigName: "notify::latency", ...args: any[]): void
1301
+ connect(sigName: "notify::min-upstream-latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1302
+ connect_after(sigName: "notify::min-upstream-latency", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1303
+ emit(sigName: "notify::min-upstream-latency", ...args: any[]): void
1304
+ connect(sigName: "notify::start-time", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1305
+ connect_after(sigName: "notify::start-time", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1306
+ emit(sigName: "notify::start-time", ...args: any[]): void
1307
+ connect(sigName: "notify::start-time-selection", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1308
+ connect_after(sigName: "notify::start-time-selection", callback: (($obj: GLBaseMixer, pspec: GObject.ParamSpec) => void)): number
1309
+ emit(sigName: "notify::start-time-selection", ...args: any[]): void
1310
+ connect(sigName: string, callback: (...args: any[]) => void): number
1311
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1312
+ emit(sigName: string, ...args: any[]): void
1313
+ disconnect(id: number): void
1314
+ }
1315
+
1316
+ /**
1317
+ * #GstGLBaseMixer handles the nitty gritty details of retrieving an OpenGL
1318
+ * context. It provides some virtual methods to know when the OpenGL context
1319
+ * is available and is not available within this element.
1320
+ * @class
1321
+ */
1322
+ class GLBaseMixer extends GstVideo.VideoAggregator {
1323
+
1324
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixer
1325
+
1326
+ static name: string
1327
+ static $gtype: GObject.GType<GLBaseMixer>
1328
+
1329
+ // Constructors of GstGL-1.0.GstGL.GLBaseMixer
1330
+
1331
+ constructor(config?: GLBaseMixer.ConstructorProperties)
1332
+ _init(config?: GLBaseMixer.ConstructorProperties): void
1333
+ }
1334
+
1335
+ module GLBaseMixerPad {
1336
+
1337
+ // Constructor properties interface
1338
+
1339
+ interface ConstructorProperties extends GstVideo.VideoAggregatorPad.ConstructorProperties {
1340
+ }
1341
+
1342
+ }
1343
+
1344
+ interface GLBaseMixerPad {
1345
+
1346
+ // Conflicting properties
1347
+
1348
+ object: any
1349
+
1350
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixerPad
1351
+
1352
+ /**
1353
+ * parent #GstVideoAggregatorPad
1354
+ * @field
1355
+ */
1356
+ parent: GstVideo.VideoAggregatorPad & GstBase.AggregatorPad & Gst.Pad & Gst.Object & Gst.Object
1357
+
1358
+ // Conflicting methods
1359
+
1360
+ /**
1361
+ * Increments the reference count on `object`. This function
1362
+ * does not take the lock on `object` because it relies on
1363
+ * atomic refcounting.
1364
+ *
1365
+ * This object returns the input parameter to ease writing
1366
+ * constructs like :
1367
+ * result = gst_object_ref (object->parent);
1368
+ * @returns A pointer to @object
1369
+ */
1370
+ ref(): Gst.Object
1371
+
1372
+ // Overloads of ref
1373
+
1374
+ /**
1375
+ * Increases the reference count of `object`.
1376
+ *
1377
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1378
+ * of `object` will be propagated to the return type (using the GCC typeof()
1379
+ * extension), so any casting the caller needs to do on the return type must be
1380
+ * explicit.
1381
+ * @returns the same @object
1382
+ */
1383
+ ref(): GObject.Object
1384
+ /**
1385
+ * Increases the reference count of `object`.
1386
+ *
1387
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
1388
+ * of `object` will be propagated to the return type (using the GCC typeof()
1389
+ * extension), so any casting the caller needs to do on the return type must be
1390
+ * explicit.
1391
+ * @returns the same @object
1392
+ */
1393
+ ref(): GObject.Object
1394
+
1395
+ // Class property signals of GstGL-1.0.GstGL.GLBaseMixerPad
1396
+
1397
+ connect(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1398
+ connect_after(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1399
+ emit(sigName: "notify::max-last-buffer-repeat", ...args: any[]): void
1400
+ connect(sigName: "notify::repeat-after-eos", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1401
+ connect_after(sigName: "notify::repeat-after-eos", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1402
+ emit(sigName: "notify::repeat-after-eos", ...args: any[]): void
1403
+ connect(sigName: "notify::zorder", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1404
+ connect_after(sigName: "notify::zorder", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1405
+ emit(sigName: "notify::zorder", ...args: any[]): void
1406
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1407
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1408
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
1409
+ connect(sigName: "notify::caps", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1410
+ connect_after(sigName: "notify::caps", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1411
+ emit(sigName: "notify::caps", ...args: any[]): void
1412
+ connect(sigName: "notify::offset", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1413
+ connect_after(sigName: "notify::offset", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1414
+ emit(sigName: "notify::offset", ...args: any[]): void
1415
+ connect(sigName: "notify::template", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1416
+ connect_after(sigName: "notify::template", callback: (($obj: GLBaseMixerPad, pspec: GObject.ParamSpec) => void)): number
1417
+ emit(sigName: "notify::template", ...args: any[]): void
1418
+ connect(sigName: string, callback: (...args: any[]) => void): number
1419
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1420
+ emit(sigName: string, ...args: any[]): void
1421
+ disconnect(id: number): void
1422
+ }
1423
+
1424
+ class GLBaseMixerPad extends GstVideo.VideoAggregatorPad {
1425
+
1426
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerPad
1427
+
1428
+ static name: string
1429
+ static $gtype: GObject.GType<GLBaseMixerPad>
1430
+
1431
+ // Constructors of GstGL-1.0.GstGL.GLBaseMixerPad
1432
+
1433
+ constructor(config?: GLBaseMixerPad.ConstructorProperties)
1434
+ _init(config?: GLBaseMixerPad.ConstructorProperties): void
1435
+ }
1436
+
1201
1437
  module GLBaseSrc {
1202
1438
 
1203
1439
  // Constructor properties interface
@@ -2979,6 +3215,256 @@ class GLMemoryPBOAllocator extends GLMemoryAllocator {
2979
3215
  _init(config?: GLMemoryPBOAllocator.ConstructorProperties): void
2980
3216
  }
2981
3217
 
3218
+ module GLMixer {
3219
+
3220
+ // Constructor properties interface
3221
+
3222
+ interface ConstructorProperties extends GLBaseMixer.ConstructorProperties {
3223
+ }
3224
+
3225
+ }
3226
+
3227
+ interface GLMixer {
3228
+
3229
+ // Conflicting properties
3230
+
3231
+ start_time: any
3232
+ object: any
3233
+
3234
+ // Own fields of GstGL-1.0.GstGL.GLMixer
3235
+
3236
+ parent: GLBaseMixer & GstVideo.VideoAggregator & Gst.Element & Gst.Object & Gst.Object
3237
+ /**
3238
+ * the configured output #GstCaps
3239
+ * @field
3240
+ */
3241
+ out_caps: Gst.Caps
3242
+
3243
+ // Owm methods of GstGL-1.0.GstGL.GLMixer
3244
+
3245
+ get_framebuffer(): GLFramebuffer
3246
+ /**
3247
+ * Perform processing required and call #GstGLMixerClass::process_textures().
3248
+ * Intended for use within implementations of
3249
+ * #GstGLMixerClass::process_buffers().
3250
+ * @param outbuf output `GstBuffer`
3251
+ * @returns whether processing of textures succeeded
3252
+ */
3253
+ process_textures(outbuf: Gst.Buffer): boolean
3254
+
3255
+ // Conflicting methods
3256
+
3257
+ /**
3258
+ * Increments the reference count on `object`. This function
3259
+ * does not take the lock on `object` because it relies on
3260
+ * atomic refcounting.
3261
+ *
3262
+ * This object returns the input parameter to ease writing
3263
+ * constructs like :
3264
+ * result = gst_object_ref (object->parent);
3265
+ * @returns A pointer to @object
3266
+ */
3267
+ ref(): Gst.Object
3268
+
3269
+ // Overloads of ref
3270
+
3271
+ /**
3272
+ * Increases the reference count of `object`.
3273
+ *
3274
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3275
+ * of `object` will be propagated to the return type (using the GCC typeof()
3276
+ * extension), so any casting the caller needs to do on the return type must be
3277
+ * explicit.
3278
+ * @returns the same @object
3279
+ */
3280
+ ref(): GObject.Object
3281
+ /**
3282
+ * Increases the reference count of `object`.
3283
+ *
3284
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3285
+ * of `object` will be propagated to the return type (using the GCC typeof()
3286
+ * extension), so any casting the caller needs to do on the return type must be
3287
+ * explicit.
3288
+ * @returns the same @object
3289
+ */
3290
+ ref(): GObject.Object
3291
+
3292
+ // Own virtual methods of GstGL-1.0.GstGL.GLMixer
3293
+
3294
+ /**
3295
+ * Perform operations on the input buffers to produce an
3296
+ * output buffer.
3297
+ * @virtual
3298
+ * @param outbuf
3299
+ */
3300
+ vfunc_process_buffers(outbuf: Gst.Buffer): boolean
3301
+ /**
3302
+ * Perform processing required and call #GstGLMixerClass::process_textures().
3303
+ * Intended for use within implementations of
3304
+ * #GstGLMixerClass::process_buffers().
3305
+ * @virtual
3306
+ * @param out_tex
3307
+ * @returns whether processing of textures succeeded
3308
+ */
3309
+ vfunc_process_textures(out_tex: GLMemory): boolean
3310
+
3311
+ // Class property signals of GstGL-1.0.GstGL.GLMixer
3312
+
3313
+ connect(sigName: "notify::force-live", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3314
+ connect_after(sigName: "notify::force-live", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3315
+ emit(sigName: "notify::force-live", ...args: any[]): void
3316
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3317
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3318
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
3319
+ connect(sigName: "notify::latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3320
+ connect_after(sigName: "notify::latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3321
+ emit(sigName: "notify::latency", ...args: any[]): void
3322
+ connect(sigName: "notify::min-upstream-latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3323
+ connect_after(sigName: "notify::min-upstream-latency", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3324
+ emit(sigName: "notify::min-upstream-latency", ...args: any[]): void
3325
+ connect(sigName: "notify::start-time", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3326
+ connect_after(sigName: "notify::start-time", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3327
+ emit(sigName: "notify::start-time", ...args: any[]): void
3328
+ connect(sigName: "notify::start-time-selection", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3329
+ connect_after(sigName: "notify::start-time-selection", callback: (($obj: GLMixer, pspec: GObject.ParamSpec) => void)): number
3330
+ emit(sigName: "notify::start-time-selection", ...args: any[]): void
3331
+ connect(sigName: string, callback: (...args: any[]) => void): number
3332
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3333
+ emit(sigName: string, ...args: any[]): void
3334
+ disconnect(id: number): void
3335
+ }
3336
+
3337
+ /**
3338
+ * #GstGLMixer helps implement an element that operates on RGBA textures.
3339
+ * @class
3340
+ */
3341
+ class GLMixer extends GLBaseMixer {
3342
+
3343
+ // Own properties of GstGL-1.0.GstGL.GLMixer
3344
+
3345
+ static name: string
3346
+ static $gtype: GObject.GType<GLMixer>
3347
+
3348
+ // Constructors of GstGL-1.0.GstGL.GLMixer
3349
+
3350
+ constructor(config?: GLMixer.ConstructorProperties)
3351
+ _init(config?: GLMixer.ConstructorProperties): void
3352
+ /**
3353
+ * Adds the default RGBA pad templates to this class. If you have any special
3354
+ * template requirements like a different pad subclass or different supported
3355
+ * caps, you should not call this function and add the pad templates yourself
3356
+ * manually.
3357
+ */
3358
+ static add_rgba_pad_templates(klass: GLMixer | Function | GObject.GType): void
3359
+ }
3360
+
3361
+ module GLMixerPad {
3362
+
3363
+ // Constructor properties interface
3364
+
3365
+ interface ConstructorProperties extends GLBaseMixerPad.ConstructorProperties {
3366
+ }
3367
+
3368
+ }
3369
+
3370
+ interface GLMixerPad {
3371
+
3372
+ // Conflicting properties
3373
+
3374
+ object: any
3375
+
3376
+ // Own fields of GstGL-1.0.GstGL.GLMixerPad
3377
+
3378
+ /**
3379
+ * parent #GstGLBaseMixerPad
3380
+ * @field
3381
+ */
3382
+ parent: GLBaseMixerPad & GstVideo.VideoAggregatorPad & GstBase.AggregatorPad & Gst.Pad & Gst.Object & Gst.Object
3383
+ /**
3384
+ * the current input texture for this pad
3385
+ * @field
3386
+ */
3387
+ current_texture: number
3388
+
3389
+ // Conflicting methods
3390
+
3391
+ /**
3392
+ * Increments the reference count on `object`. This function
3393
+ * does not take the lock on `object` because it relies on
3394
+ * atomic refcounting.
3395
+ *
3396
+ * This object returns the input parameter to ease writing
3397
+ * constructs like :
3398
+ * result = gst_object_ref (object->parent);
3399
+ * @returns A pointer to @object
3400
+ */
3401
+ ref(): Gst.Object
3402
+
3403
+ // Overloads of ref
3404
+
3405
+ /**
3406
+ * Increases the reference count of `object`.
3407
+ *
3408
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3409
+ * of `object` will be propagated to the return type (using the GCC typeof()
3410
+ * extension), so any casting the caller needs to do on the return type must be
3411
+ * explicit.
3412
+ * @returns the same @object
3413
+ */
3414
+ ref(): GObject.Object
3415
+ /**
3416
+ * Increases the reference count of `object`.
3417
+ *
3418
+ * Since GLib 2.56, if `GLIB_VERSION_MAX_ALLOWED` is 2.56 or greater, the type
3419
+ * of `object` will be propagated to the return type (using the GCC typeof()
3420
+ * extension), so any casting the caller needs to do on the return type must be
3421
+ * explicit.
3422
+ * @returns the same @object
3423
+ */
3424
+ ref(): GObject.Object
3425
+
3426
+ // Class property signals of GstGL-1.0.GstGL.GLMixerPad
3427
+
3428
+ connect(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3429
+ connect_after(sigName: "notify::max-last-buffer-repeat", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3430
+ emit(sigName: "notify::max-last-buffer-repeat", ...args: any[]): void
3431
+ connect(sigName: "notify::repeat-after-eos", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3432
+ connect_after(sigName: "notify::repeat-after-eos", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3433
+ emit(sigName: "notify::repeat-after-eos", ...args: any[]): void
3434
+ connect(sigName: "notify::zorder", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3435
+ connect_after(sigName: "notify::zorder", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3436
+ emit(sigName: "notify::zorder", ...args: any[]): void
3437
+ connect(sigName: "notify::emit-signals", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3438
+ connect_after(sigName: "notify::emit-signals", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3439
+ emit(sigName: "notify::emit-signals", ...args: any[]): void
3440
+ connect(sigName: "notify::caps", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3441
+ connect_after(sigName: "notify::caps", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3442
+ emit(sigName: "notify::caps", ...args: any[]): void
3443
+ connect(sigName: "notify::offset", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3444
+ connect_after(sigName: "notify::offset", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3445
+ emit(sigName: "notify::offset", ...args: any[]): void
3446
+ connect(sigName: "notify::template", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3447
+ connect_after(sigName: "notify::template", callback: (($obj: GLMixerPad, pspec: GObject.ParamSpec) => void)): number
3448
+ emit(sigName: "notify::template", ...args: any[]): void
3449
+ connect(sigName: string, callback: (...args: any[]) => void): number
3450
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
3451
+ emit(sigName: string, ...args: any[]): void
3452
+ disconnect(id: number): void
3453
+ }
3454
+
3455
+ class GLMixerPad extends GLBaseMixerPad {
3456
+
3457
+ // Own properties of GstGL-1.0.GstGL.GLMixerPad
3458
+
3459
+ static name: string
3460
+ static $gtype: GObject.GType<GLMixerPad>
3461
+
3462
+ // Constructors of GstGL-1.0.GstGL.GLMixerPad
3463
+
3464
+ constructor(config?: GLMixerPad.ConstructorProperties)
3465
+ _init(config?: GLMixerPad.ConstructorProperties): void
3466
+ }
3467
+
2982
3468
  module GLOverlayCompositor {
2983
3469
 
2984
3470
  // Constructor properties interface
@@ -4558,6 +5044,59 @@ abstract class GLBaseMemoryAllocatorClass {
4558
5044
  static name: string
4559
5045
  }
4560
5046
 
5047
+ interface GLBaseMixerClass {
5048
+
5049
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixerClass
5050
+
5051
+ /**
5052
+ * the parent #GstVideoAggregatorClass
5053
+ * @field
5054
+ */
5055
+ parent_class: GstVideo.VideoAggregatorClass
5056
+ /**
5057
+ * the logical-OR of #GstGLAPI's supported by this element
5058
+ * @field
5059
+ */
5060
+ supported_gl_api: GLAPI
5061
+ gl_start: (mix: GLBaseMixer) => boolean
5062
+ gl_stop: (mix: GLBaseMixer) => void
5063
+ }
5064
+
5065
+ abstract class GLBaseMixerClass {
5066
+
5067
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerClass
5068
+
5069
+ static name: string
5070
+ }
5071
+
5072
+ interface GLBaseMixerPadClass {
5073
+
5074
+ // Own fields of GstGL-1.0.GstGL.GLBaseMixerPadClass
5075
+
5076
+ /**
5077
+ * parent #GstVideoAggregatorPadClass
5078
+ * @field
5079
+ */
5080
+ parent_class: GstVideo.VideoAggregatorPadClass
5081
+ }
5082
+
5083
+ abstract class GLBaseMixerPadClass {
5084
+
5085
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerPadClass
5086
+
5087
+ static name: string
5088
+ }
5089
+
5090
+ interface GLBaseMixerPrivate {
5091
+ }
5092
+
5093
+ class GLBaseMixerPrivate {
5094
+
5095
+ // Own properties of GstGL-1.0.GstGL.GLBaseMixerPrivate
5096
+
5097
+ static name: string
5098
+ }
5099
+
4561
5100
  interface GLBaseSrcClass {
4562
5101
 
4563
5102
  // Own fields of GstGL-1.0.GstGL.GLBaseSrcClass
@@ -5114,6 +5653,60 @@ abstract class GLMemoryPBOAllocatorClass {
5114
5653
  static name: string
5115
5654
  }
5116
5655
 
5656
+ interface GLMixerClass {
5657
+
5658
+ // Own fields of GstGL-1.0.GstGL.GLMixerClass
5659
+
5660
+ parent_class: GLBaseMixerClass
5661
+ process_buffers: (mix: GLMixer, outbuf: Gst.Buffer) => boolean
5662
+ process_textures: (mix: GLMixer, out_tex: GLMemory) => boolean
5663
+ }
5664
+
5665
+ abstract class GLMixerClass {
5666
+
5667
+ // Own properties of GstGL-1.0.GstGL.GLMixerClass
5668
+
5669
+ static name: string
5670
+
5671
+ // Owm static methods of GstGL-1.0.GstGL.GLMixerClass
5672
+
5673
+ /**
5674
+ * Adds the default RGBA pad templates to this class. If you have any special
5675
+ * template requirements like a different pad subclass or different supported
5676
+ * caps, you should not call this function and add the pad templates yourself
5677
+ * manually.
5678
+ */
5679
+ static add_rgba_pad_templates(klass: GLMixer | Function | GObject.GType): void
5680
+ }
5681
+
5682
+ interface GLMixerPadClass {
5683
+
5684
+ // Own fields of GstGL-1.0.GstGL.GLMixerPadClass
5685
+
5686
+ /**
5687
+ * parent #GstGLBaseMixerPadClass
5688
+ * @field
5689
+ */
5690
+ parent_class: GLBaseMixerPadClass
5691
+ }
5692
+
5693
+ abstract class GLMixerPadClass {
5694
+
5695
+ // Own properties of GstGL-1.0.GstGL.GLMixerPadClass
5696
+
5697
+ static name: string
5698
+ }
5699
+
5700
+ interface GLMixerPrivate {
5701
+ }
5702
+
5703
+ class GLMixerPrivate {
5704
+
5705
+ // Own properties of GstGL-1.0.GstGL.GLMixerPrivate
5706
+
5707
+ static name: string
5708
+ }
5709
+
5117
5710
  interface GLOverlayCompositorClass {
5118
5711
 
5119
5712
  // Own fields of GstGL-1.0.GstGL.GLOverlayCompositorClass
package/package.json CHANGED
@@ -1,16 +1,10 @@
1
1
  {
2
2
  "name": "@girs/gstgl-1.0",
3
- "version": "1.0.0-3.0.4",
3
+ "version": "1.0.0-3.2.0",
4
4
  "description": "GJS TypeScript type definitions for GstGL-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "gstgl-1.0.js",
7
7
  "main": "gstgl-1.0.js",
8
- "typedoc": {
9
- "entryPoint": "./gstgl-1.0.d.ts",
10
- "readmeFile": "./README.md",
11
- "displayName": "GstGL-1.0",
12
- "tsconfig": "./tsconfig.doc.json"
13
- },
14
8
  "exports": {
15
9
  "./ambient": "./gstgl-1.0-ambient.d.ts",
16
10
  "./import": "./gstgl-1.0-import.d.ts",
@@ -27,17 +21,17 @@
27
21
  },
28
22
  "scripts": {
29
23
  "test": "yarn test:esm && yarn test:cjs",
30
- "test:esm": "tsc --noEmit gstgl-1.0.d.ts",
31
- "test:cjs": "tsc --noEmit gstgl-1.0.d.cts"
24
+ "test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gstgl-1.0.d.ts",
25
+ "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gstgl-1.0.d.cts"
32
26
  },
33
27
  "dependencies": {
34
- "@girs/gjs": "^3.0.4",
35
- "@girs/glib-2.0": "^2.76.1-3.0.4",
36
- "@girs/gmodule-2.0": "^2.0.0-3.0.4",
37
- "@girs/gobject-2.0": "^2.76.1-3.0.4",
38
- "@girs/gst-1.0": "^1.23.0-3.0.4",
39
- "@girs/gstbase-1.0": "^1.0.0-3.0.4",
40
- "@girs/gstvideo-1.0": "^1.0.0-3.0.4"
28
+ "@girs/gjs": "^3.2.0",
29
+ "@girs/glib-2.0": "^2.76.1-3.2.0",
30
+ "@girs/gmodule-2.0": "^2.0.0-3.2.0",
31
+ "@girs/gobject-2.0": "^2.76.1-3.2.0",
32
+ "@girs/gst-1.0": "^1.23.0-3.2.0",
33
+ "@girs/gstbase-1.0": "^1.0.0-3.2.0",
34
+ "@girs/gstvideo-1.0": "^1.0.0-3.2.0"
41
35
  },
42
36
  "devDependencies": {
43
37
  "typescript": "*"
@@ -3,6 +3,8 @@
3
3
  // General settings for code interpretation
4
4
  "target": "ESNext",
5
5
  "module": "ESNext",
6
+ "lib": ["ESNext"],
7
+ "types": [],
6
8
  "experimentalDecorators": true,
7
9
  "moduleResolution": "node",
8
10
  "noEmit": true,
package/typedoc.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "entryPoints": ["./gstgl-1.0.d.ts","./gstgl-1.0-ambient.d.ts","./gstgl-1.0-import.d.ts"],
3
+ "readme": "./README.md",
4
+ "name": "GstGL-1.0",
5
+ "tsconfig": "./tsconfig.json"
6
+ }
7
+