mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
103 lines
6.2 KiB
C++
103 lines
6.2 KiB
C++
#ifndef GEN_QMEDIAENCODERSETTINGS_H
|
|
#define GEN_QMEDIAENCODERSETTINGS_H
|
|
|
|
#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
|
|
|
|
QAudioEncoderSettings* QAudioEncoderSettings_new();
|
|
QAudioEncoderSettings* QAudioEncoderSettings_new2(QAudioEncoderSettings* other);
|
|
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);
|
|
struct miqt_map QAudioEncoderSettings_EncodingOptions(const QAudioEncoderSettings* self);
|
|
void QAudioEncoderSettings_SetEncodingOption(QAudioEncoderSettings* self, struct miqt_string option, QVariant* value);
|
|
void QAudioEncoderSettings_SetEncodingOptions(QAudioEncoderSettings* self, struct miqt_map options);
|
|
void QAudioEncoderSettings_Delete(QAudioEncoderSettings* self);
|
|
|
|
QVideoEncoderSettings* QVideoEncoderSettings_new();
|
|
QVideoEncoderSettings* QVideoEncoderSettings_new2(QVideoEncoderSettings* other);
|
|
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);
|
|
struct miqt_map QVideoEncoderSettings_EncodingOptions(const QVideoEncoderSettings* self);
|
|
void QVideoEncoderSettings_SetEncodingOption(QVideoEncoderSettings* self, struct miqt_string option, QVariant* value);
|
|
void QVideoEncoderSettings_SetEncodingOptions(QVideoEncoderSettings* self, struct miqt_map options);
|
|
void QVideoEncoderSettings_Delete(QVideoEncoderSettings* self);
|
|
|
|
QImageEncoderSettings* QImageEncoderSettings_new();
|
|
QImageEncoderSettings* QImageEncoderSettings_new2(QImageEncoderSettings* other);
|
|
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);
|
|
struct miqt_map QImageEncoderSettings_EncodingOptions(const QImageEncoderSettings* self);
|
|
void QImageEncoderSettings_SetEncodingOption(QImageEncoderSettings* self, struct miqt_string option, QVariant* value);
|
|
void QImageEncoderSettings_SetEncodingOptions(QImageEncoderSettings* self, struct miqt_map options);
|
|
void QImageEncoderSettings_Delete(QImageEncoderSettings* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|