2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_MULTIMEDIA_GEN_QVIDEOSURFACEFORMAT_H
|
|
|
|
#define MIQT_QT_MULTIMEDIA_GEN_QVIDEOSURFACEFORMAT_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 QRect;
|
|
|
|
class QSize;
|
|
|
|
class QVariant;
|
|
|
|
class QVideoSurfaceFormat;
|
|
|
|
#else
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
typedef struct QVideoSurfaceFormat QVideoSurfaceFormat;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QVideoSurfaceFormat_new(QVideoSurfaceFormat** outptr_QVideoSurfaceFormat);
|
|
|
|
void QVideoSurfaceFormat_new2(QSize* size, int pixelFormat, QVideoSurfaceFormat** outptr_QVideoSurfaceFormat);
|
|
|
|
void QVideoSurfaceFormat_new3(QVideoSurfaceFormat* format, QVideoSurfaceFormat** outptr_QVideoSurfaceFormat);
|
|
|
|
void QVideoSurfaceFormat_new4(QSize* size, int pixelFormat, int handleType, QVideoSurfaceFormat** outptr_QVideoSurfaceFormat);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QVideoSurfaceFormat_OperatorAssign(QVideoSurfaceFormat* self, QVideoSurfaceFormat* format);
|
|
|
|
bool QVideoSurfaceFormat_OperatorEqual(const QVideoSurfaceFormat* self, QVideoSurfaceFormat* format);
|
|
|
|
bool QVideoSurfaceFormat_OperatorNotEqual(const QVideoSurfaceFormat* self, QVideoSurfaceFormat* format);
|
|
|
|
bool QVideoSurfaceFormat_IsValid(const QVideoSurfaceFormat* self);
|
|
|
|
int QVideoSurfaceFormat_PixelFormat(const QVideoSurfaceFormat* self);
|
|
|
|
int QVideoSurfaceFormat_HandleType(const QVideoSurfaceFormat* self);
|
|
|
|
QSize* QVideoSurfaceFormat_FrameSize(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetFrameSize(QVideoSurfaceFormat* self, QSize* size);
|
|
|
|
void QVideoSurfaceFormat_SetFrameSize2(QVideoSurfaceFormat* self, int width, int height);
|
|
|
|
int QVideoSurfaceFormat_FrameWidth(const QVideoSurfaceFormat* self);
|
|
|
|
int QVideoSurfaceFormat_FrameHeight(const QVideoSurfaceFormat* self);
|
|
|
|
QRect* QVideoSurfaceFormat_Viewport(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetViewport(QVideoSurfaceFormat* self, QRect* viewport);
|
|
|
|
int QVideoSurfaceFormat_ScanLineDirection(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetScanLineDirection(QVideoSurfaceFormat* self, int direction);
|
|
|
|
double QVideoSurfaceFormat_FrameRate(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetFrameRate(QVideoSurfaceFormat* self, double rate);
|
|
|
|
QSize* QVideoSurfaceFormat_PixelAspectRatio(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetPixelAspectRatio(QVideoSurfaceFormat* self, QSize* ratio);
|
|
|
|
void QVideoSurfaceFormat_SetPixelAspectRatio2(QVideoSurfaceFormat* self, int width, int height);
|
|
|
|
int QVideoSurfaceFormat_YCbCrColorSpace(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetYCbCrColorSpace(QVideoSurfaceFormat* self, int colorSpace);
|
|
|
|
bool QVideoSurfaceFormat_IsMirrored(const QVideoSurfaceFormat* self);
|
|
|
|
void QVideoSurfaceFormat_SetMirrored(QVideoSurfaceFormat* self, bool mirrored);
|
|
|
|
QSize* QVideoSurfaceFormat_SizeHint(const QVideoSurfaceFormat* self);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of struct miqt_string */ QVideoSurfaceFormat_PropertyNames(const QVideoSurfaceFormat* self);
|
2024-11-04 10:15:32 +00:00
|
|
|
QVariant* QVideoSurfaceFormat_Property(const QVideoSurfaceFormat* self, const char* name);
|
|
|
|
void QVideoSurfaceFormat_SetProperty(QVideoSurfaceFormat* self, const char* name, QVariant* value);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QVideoSurfaceFormat_Delete(QVideoSurfaceFormat* self, bool isSubclass);
|
2024-11-04 10:15:32 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|