miqt/qt/multimedia/gen_qabstractvideosurface.h

103 lines
5.7 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_MULTIMEDIA_GEN_QABSTRACTVIDEOSURFACE_H
#define MIQT_QT_MULTIMEDIA_GEN_QABSTRACTVIDEOSURFACE_H
2024-11-04 23:15:32 +13:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAbstractVideoSurface;
class QChildEvent;
class QEvent;
class QMetaMethod;
2024-11-04 23:15:32 +13:00
class QMetaObject;
2024-11-19 19:29:06 +13:00
class QObject;
2024-11-04 23:15:32 +13:00
class QSize;
class QTimerEvent;
2024-11-04 23:15:32 +13:00
class QVideoFrame;
class QVideoSurfaceFormat;
#else
typedef struct QAbstractVideoSurface QAbstractVideoSurface;
typedef struct QChildEvent QChildEvent;
typedef struct QEvent QEvent;
typedef struct QMetaMethod QMetaMethod;
2024-11-04 23:15:32 +13:00
typedef struct QMetaObject QMetaObject;
2024-11-19 19:29:06 +13:00
typedef struct QObject QObject;
2024-11-04 23:15:32 +13:00
typedef struct QSize QSize;
typedef struct QTimerEvent QTimerEvent;
2024-11-04 23:15:32 +13:00
typedef struct QVideoFrame QVideoFrame;
typedef struct QVideoSurfaceFormat QVideoSurfaceFormat;
#endif
2024-12-07 17:15:57 +13:00
QAbstractVideoSurface* QAbstractVideoSurface_new();
QAbstractVideoSurface* QAbstractVideoSurface_new2(QObject* parent);
void QAbstractVideoSurface_virtbase(QAbstractVideoSurface* src, QObject** outptr_QObject);
2025-02-01 13:45:16 +13:00
QMetaObject* QAbstractVideoSurface_metaObject(const QAbstractVideoSurface* self);
void* QAbstractVideoSurface_metacast(QAbstractVideoSurface* self, const char* param1);
struct miqt_string QAbstractVideoSurface_tr(const char* s);
struct miqt_string QAbstractVideoSurface_trUtf8(const char* s);
struct miqt_array /* of int */ QAbstractVideoSurface_supportedPixelFormats(const QAbstractVideoSurface* self, int type);
bool QAbstractVideoSurface_isFormatSupported(const QAbstractVideoSurface* self, QVideoSurfaceFormat* format);
QVideoSurfaceFormat* QAbstractVideoSurface_nearestFormat(const QAbstractVideoSurface* self, QVideoSurfaceFormat* format);
QVideoSurfaceFormat* QAbstractVideoSurface_surfaceFormat(const QAbstractVideoSurface* self);
QSize* QAbstractVideoSurface_nativeResolution(const QAbstractVideoSurface* self);
bool QAbstractVideoSurface_start(QAbstractVideoSurface* self, QVideoSurfaceFormat* format);
void QAbstractVideoSurface_stop(QAbstractVideoSurface* self);
bool QAbstractVideoSurface_isActive(const QAbstractVideoSurface* self);
bool QAbstractVideoSurface_present(QAbstractVideoSurface* self, QVideoFrame* frame);
int QAbstractVideoSurface_error(const QAbstractVideoSurface* self);
void QAbstractVideoSurface_activeChanged(QAbstractVideoSurface* self, bool active);
void QAbstractVideoSurface_connect_activeChanged(QAbstractVideoSurface* self, intptr_t slot);
void QAbstractVideoSurface_surfaceFormatChanged(QAbstractVideoSurface* self, QVideoSurfaceFormat* format);
void QAbstractVideoSurface_connect_surfaceFormatChanged(QAbstractVideoSurface* self, intptr_t slot);
void QAbstractVideoSurface_supportedFormatsChanged(QAbstractVideoSurface* self);
void QAbstractVideoSurface_connect_supportedFormatsChanged(QAbstractVideoSurface* self, intptr_t slot);
void QAbstractVideoSurface_nativeResolutionChanged(QAbstractVideoSurface* self, QSize* resolution);
void QAbstractVideoSurface_connect_nativeResolutionChanged(QAbstractVideoSurface* self, intptr_t slot);
struct miqt_string QAbstractVideoSurface_tr2(const char* s, const char* c);
struct miqt_string QAbstractVideoSurface_tr3(const char* s, const char* c, int n);
struct miqt_string QAbstractVideoSurface_trUtf82(const char* s, const char* c);
struct miqt_string QAbstractVideoSurface_trUtf83(const char* s, const char* c, int n);
bool QAbstractVideoSurface_override_virtual_supportedPixelFormats(void* self, intptr_t slot);
struct miqt_array /* of int */ QAbstractVideoSurface_virtualbase_supportedPixelFormats(const void* self, int type);
bool QAbstractVideoSurface_override_virtual_isFormatSupported(void* self, intptr_t slot);
bool QAbstractVideoSurface_virtualbase_isFormatSupported(const void* self, QVideoSurfaceFormat* format);
bool QAbstractVideoSurface_override_virtual_nearestFormat(void* self, intptr_t slot);
QVideoSurfaceFormat* QAbstractVideoSurface_virtualbase_nearestFormat(const void* self, QVideoSurfaceFormat* format);
bool QAbstractVideoSurface_override_virtual_start(void* self, intptr_t slot);
bool QAbstractVideoSurface_virtualbase_start(void* self, QVideoSurfaceFormat* format);
bool QAbstractVideoSurface_override_virtual_stop(void* self, intptr_t slot);
void QAbstractVideoSurface_virtualbase_stop(void* self);
bool QAbstractVideoSurface_override_virtual_present(void* self, intptr_t slot);
bool QAbstractVideoSurface_virtualbase_present(void* self, QVideoFrame* frame);
bool QAbstractVideoSurface_override_virtual_event(void* self, intptr_t slot);
bool QAbstractVideoSurface_virtualbase_event(void* self, QEvent* event);
bool QAbstractVideoSurface_override_virtual_eventFilter(void* self, intptr_t slot);
bool QAbstractVideoSurface_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
bool QAbstractVideoSurface_override_virtual_timerEvent(void* self, intptr_t slot);
void QAbstractVideoSurface_virtualbase_timerEvent(void* self, QTimerEvent* event);
bool QAbstractVideoSurface_override_virtual_childEvent(void* self, intptr_t slot);
void QAbstractVideoSurface_virtualbase_childEvent(void* self, QChildEvent* event);
bool QAbstractVideoSurface_override_virtual_customEvent(void* self, intptr_t slot);
void QAbstractVideoSurface_virtualbase_customEvent(void* self, QEvent* event);
bool QAbstractVideoSurface_override_virtual_connectNotify(void* self, intptr_t slot);
void QAbstractVideoSurface_virtualbase_connectNotify(void* self, QMetaMethod* signal);
bool QAbstractVideoSurface_override_virtual_disconnectNotify(void* self, intptr_t slot);
void QAbstractVideoSurface_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
void QAbstractVideoSurface_delete(QAbstractVideoSurface* self);
2024-11-04 23:15:32 +13:00
#ifdef __cplusplus
} /* extern C */
2025-02-01 13:45:16 +13:00
#endif
2024-11-04 23:15:32 +13:00
#endif