2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_MULTIMEDIA_GEN_QMEDIAENCODERSETTINGS_H
|
|
|
|
#define MIQT_QT_MULTIMEDIA_GEN_QMEDIAENCODERSETTINGS_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 QAudioEncoderSettings;
|
|
|
|
class QImageEncoderSettings;
|
|
|
|
class QSize;
|
|
|
|
class QVariant;
|
|
|
|
class QVideoEncoderSettings;
|
|
|
|
#else
|
|
|
|
typedef struct QAudioEncoderSettings QAudioEncoderSettings;
|
|
|
|
typedef struct QImageEncoderSettings QImageEncoderSettings;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
typedef struct QVideoEncoderSettings QVideoEncoderSettings;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QAudioEncoderSettings_new(QAudioEncoderSettings** outptr_QAudioEncoderSettings);
|
|
|
|
void QAudioEncoderSettings_new2(QAudioEncoderSettings* other, QAudioEncoderSettings** outptr_QAudioEncoderSettings);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QAudioEncoderSettings_OperatorAssign(QAudioEncoderSettings* self, QAudioEncoderSettings* other);
|
|
|
|
bool QAudioEncoderSettings_OperatorEqual(const QAudioEncoderSettings* self, QAudioEncoderSettings* other);
|
|
|
|
bool QAudioEncoderSettings_OperatorNotEqual(const QAudioEncoderSettings* self, QAudioEncoderSettings* other);
|
|
|
|
bool QAudioEncoderSettings_IsNull(const QAudioEncoderSettings* self);
|
|
|
|
int QAudioEncoderSettings_EncodingMode(const QAudioEncoderSettings* self);
|
|
|
|
void QAudioEncoderSettings_SetEncodingMode(QAudioEncoderSettings* self, int encodingMode);
|
|
|
|
struct miqt_string QAudioEncoderSettings_Codec(const QAudioEncoderSettings* self);
|
|
|
|
void QAudioEncoderSettings_SetCodec(QAudioEncoderSettings* self, struct miqt_string codec);
|
|
|
|
int QAudioEncoderSettings_BitRate(const QAudioEncoderSettings* self);
|
|
|
|
void QAudioEncoderSettings_SetBitRate(QAudioEncoderSettings* self, int bitrate);
|
|
|
|
int QAudioEncoderSettings_ChannelCount(const QAudioEncoderSettings* self);
|
|
|
|
void QAudioEncoderSettings_SetChannelCount(QAudioEncoderSettings* self, int channels);
|
|
|
|
int QAudioEncoderSettings_SampleRate(const QAudioEncoderSettings* self);
|
|
|
|
void QAudioEncoderSettings_SetSampleRate(QAudioEncoderSettings* self, int rate);
|
|
|
|
int QAudioEncoderSettings_Quality(const QAudioEncoderSettings* self);
|
|
|
|
void QAudioEncoderSettings_SetQuality(QAudioEncoderSettings* self, int quality);
|
|
|
|
QVariant* QAudioEncoderSettings_EncodingOption(const QAudioEncoderSettings* self, struct miqt_string option);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_map /* of struct miqt_string to QVariant* */ QAudioEncoderSettings_EncodingOptions(const QAudioEncoderSettings* self);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QAudioEncoderSettings_SetEncodingOption(QAudioEncoderSettings* self, struct miqt_string option, QVariant* value);
|
2024-11-17 06:21:37 +00:00
|
|
|
void QAudioEncoderSettings_SetEncodingOptions(QAudioEncoderSettings* self, struct miqt_map /* of struct miqt_string to QVariant* */ options);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QAudioEncoderSettings_Delete(QAudioEncoderSettings* self, bool isSubclass);
|
2024-11-04 10:15:32 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QVideoEncoderSettings_new(QVideoEncoderSettings** outptr_QVideoEncoderSettings);
|
|
|
|
void QVideoEncoderSettings_new2(QVideoEncoderSettings* other, QVideoEncoderSettings** outptr_QVideoEncoderSettings);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QVideoEncoderSettings_OperatorAssign(QVideoEncoderSettings* self, QVideoEncoderSettings* other);
|
|
|
|
bool QVideoEncoderSettings_OperatorEqual(const QVideoEncoderSettings* self, QVideoEncoderSettings* other);
|
|
|
|
bool QVideoEncoderSettings_OperatorNotEqual(const QVideoEncoderSettings* self, QVideoEncoderSettings* other);
|
|
|
|
bool QVideoEncoderSettings_IsNull(const QVideoEncoderSettings* self);
|
|
|
|
int QVideoEncoderSettings_EncodingMode(const QVideoEncoderSettings* self);
|
|
|
|
void QVideoEncoderSettings_SetEncodingMode(QVideoEncoderSettings* self, int encodingMode);
|
|
|
|
struct miqt_string QVideoEncoderSettings_Codec(const QVideoEncoderSettings* self);
|
|
|
|
void QVideoEncoderSettings_SetCodec(QVideoEncoderSettings* self, struct miqt_string codec);
|
|
|
|
QSize* QVideoEncoderSettings_Resolution(const QVideoEncoderSettings* self);
|
|
|
|
void QVideoEncoderSettings_SetResolution(QVideoEncoderSettings* self, QSize* resolution);
|
|
|
|
void QVideoEncoderSettings_SetResolution2(QVideoEncoderSettings* self, int width, int height);
|
|
|
|
double QVideoEncoderSettings_FrameRate(const QVideoEncoderSettings* self);
|
|
|
|
void QVideoEncoderSettings_SetFrameRate(QVideoEncoderSettings* self, double rate);
|
|
|
|
int QVideoEncoderSettings_BitRate(const QVideoEncoderSettings* self);
|
|
|
|
void QVideoEncoderSettings_SetBitRate(QVideoEncoderSettings* self, int bitrate);
|
|
|
|
int QVideoEncoderSettings_Quality(const QVideoEncoderSettings* self);
|
|
|
|
void QVideoEncoderSettings_SetQuality(QVideoEncoderSettings* self, int quality);
|
|
|
|
QVariant* QVideoEncoderSettings_EncodingOption(const QVideoEncoderSettings* self, struct miqt_string option);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_map /* of struct miqt_string to QVariant* */ QVideoEncoderSettings_EncodingOptions(const QVideoEncoderSettings* self);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QVideoEncoderSettings_SetEncodingOption(QVideoEncoderSettings* self, struct miqt_string option, QVariant* value);
|
2024-11-17 06:21:37 +00:00
|
|
|
void QVideoEncoderSettings_SetEncodingOptions(QVideoEncoderSettings* self, struct miqt_map /* of struct miqt_string to QVariant* */ options);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QVideoEncoderSettings_Delete(QVideoEncoderSettings* self, bool isSubclass);
|
2024-11-04 10:15:32 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QImageEncoderSettings_new(QImageEncoderSettings** outptr_QImageEncoderSettings);
|
|
|
|
void QImageEncoderSettings_new2(QImageEncoderSettings* other, QImageEncoderSettings** outptr_QImageEncoderSettings);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QImageEncoderSettings_OperatorAssign(QImageEncoderSettings* self, QImageEncoderSettings* other);
|
|
|
|
bool QImageEncoderSettings_OperatorEqual(const QImageEncoderSettings* self, QImageEncoderSettings* other);
|
|
|
|
bool QImageEncoderSettings_OperatorNotEqual(const QImageEncoderSettings* self, QImageEncoderSettings* other);
|
|
|
|
bool QImageEncoderSettings_IsNull(const QImageEncoderSettings* self);
|
|
|
|
struct miqt_string QImageEncoderSettings_Codec(const QImageEncoderSettings* self);
|
|
|
|
void QImageEncoderSettings_SetCodec(QImageEncoderSettings* self, struct miqt_string codec);
|
|
|
|
QSize* QImageEncoderSettings_Resolution(const QImageEncoderSettings* self);
|
|
|
|
void QImageEncoderSettings_SetResolution(QImageEncoderSettings* self, QSize* resolution);
|
|
|
|
void QImageEncoderSettings_SetResolution2(QImageEncoderSettings* self, int width, int height);
|
|
|
|
int QImageEncoderSettings_Quality(const QImageEncoderSettings* self);
|
|
|
|
void QImageEncoderSettings_SetQuality(QImageEncoderSettings* self, int quality);
|
|
|
|
QVariant* QImageEncoderSettings_EncodingOption(const QImageEncoderSettings* self, struct miqt_string option);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_map /* of struct miqt_string to QVariant* */ QImageEncoderSettings_EncodingOptions(const QImageEncoderSettings* self);
|
2024-11-04 10:15:32 +00:00
|
|
|
void QImageEncoderSettings_SetEncodingOption(QImageEncoderSettings* self, struct miqt_string option, QVariant* value);
|
2024-11-17 06:21:37 +00:00
|
|
|
void QImageEncoderSettings_SetEncodingOptions(QImageEncoderSettings* self, struct miqt_map /* of struct miqt_string to QVariant* */ options);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QImageEncoderSettings_Delete(QImageEncoderSettings* self, bool isSubclass);
|
2024-11-04 10:15:32 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|