2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_MULTIMEDIA_GEN_QABSTRACTVIDEOSURFACE_H
|
|
|
|
#define MIQT_QT_MULTIMEDIA_GEN_QABSTRACTVIDEOSURFACE_H
|
2024-11-04 10:15:32 +00: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;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-11-04 10:15:32 +00:00
|
|
|
class QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QObject;
|
2024-11-04 10:15:32 +00:00
|
|
|
class QSize;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QTimerEvent;
|
2024-11-04 10:15:32 +00:00
|
|
|
class QVideoFrame;
|
|
|
|
class QVideoSurfaceFormat;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractVideoSurface QAbstractVideoSurface;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-11-04 10:15:32 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QObject QObject;
|
2024-11-04 10:15:32 +00:00
|
|
|
typedef struct QSize QSize;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-11-04 10:15:32 +00:00
|
|
|
typedef struct QVideoFrame QVideoFrame;
|
|
|
|
typedef struct QVideoSurfaceFormat QVideoSurfaceFormat;
|
|
|
|
#endif
|
|
|
|
|
2024-11-23 06:34:52 +00:00
|
|
|
void QAbstractVideoSurface_new(QAbstractVideoSurface** outptr_QAbstractVideoSurface, QObject** outptr_QObject);
|
|
|
|
void QAbstractVideoSurface_new2(QObject* parent, QAbstractVideoSurface** outptr_QAbstractVideoSurface, QObject** outptr_QObject);
|
2024-11-04 10:15:32 +00: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);
|
2024-11-19 06:29:06 +00:00
|
|
|
struct miqt_array /* of int */ QAbstractVideoSurface_SupportedPixelFormats(const QAbstractVideoSurface* self, int typeVal);
|
2024-11-04 10:15:32 +00:00
|
|
|
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);
|
2024-11-23 06:34:52 +00:00
|
|
|
void QAbstractVideoSurface_override_virtual_SupportedPixelFormats(void* self, intptr_t slot);
|
|
|
|
struct miqt_array /* of int */ QAbstractVideoSurface_virtualbase_SupportedPixelFormats(const void* self, int typeVal);
|
|
|
|
void QAbstractVideoSurface_override_virtual_IsFormatSupported(void* self, intptr_t slot);
|
|
|
|
bool QAbstractVideoSurface_virtualbase_IsFormatSupported(const void* self, QVideoSurfaceFormat* format);
|
|
|
|
void QAbstractVideoSurface_override_virtual_NearestFormat(void* self, intptr_t slot);
|
|
|
|
QVideoSurfaceFormat* QAbstractVideoSurface_virtualbase_NearestFormat(const void* self, QVideoSurfaceFormat* format);
|
|
|
|
void QAbstractVideoSurface_override_virtual_Start(void* self, intptr_t slot);
|
|
|
|
bool QAbstractVideoSurface_virtualbase_Start(void* self, QVideoSurfaceFormat* format);
|
|
|
|
void QAbstractVideoSurface_override_virtual_Stop(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoSurface_virtualbase_Stop(void* self);
|
|
|
|
void QAbstractVideoSurface_override_virtual_Present(void* self, intptr_t slot);
|
|
|
|
bool QAbstractVideoSurface_virtualbase_Present(void* self, QVideoFrame* frame);
|
|
|
|
void QAbstractVideoSurface_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QAbstractVideoSurface_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QAbstractVideoSurface_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QAbstractVideoSurface_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QAbstractVideoSurface_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoSurface_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QAbstractVideoSurface_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoSurface_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QAbstractVideoSurface_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoSurface_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QAbstractVideoSurface_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoSurface_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QAbstractVideoSurface_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoSurface_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QAbstractVideoSurface_Delete(QAbstractVideoSurface* self, bool isSubclass);
|
2024-11-04 10:15:32 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|