2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_MULTIMEDIA_GEN_QABSTRACTVIDEOBUFFER_H
|
|
|
|
#define MIQT_QT_MULTIMEDIA_GEN_QABSTRACTVIDEOBUFFER_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 QAbstractPlanarVideoBuffer;
|
|
|
|
class QAbstractVideoBuffer;
|
|
|
|
class QVariant;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractPlanarVideoBuffer QAbstractPlanarVideoBuffer;
|
|
|
|
typedef struct QAbstractVideoBuffer QAbstractVideoBuffer;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
#endif
|
|
|
|
|
2025-02-01 13:45:16 +13:00
|
|
|
QAbstractVideoBuffer* QAbstractVideoBuffer_new(int type);
|
|
|
|
void QAbstractVideoBuffer_release(QAbstractVideoBuffer* self);
|
|
|
|
int QAbstractVideoBuffer_handleType(const QAbstractVideoBuffer* self);
|
|
|
|
int QAbstractVideoBuffer_mapMode(const QAbstractVideoBuffer* self);
|
|
|
|
unsigned char* QAbstractVideoBuffer_map(QAbstractVideoBuffer* self, int mode, int* numBytes, int* bytesPerLine);
|
|
|
|
void QAbstractVideoBuffer_unmap(QAbstractVideoBuffer* self);
|
|
|
|
QVariant* QAbstractVideoBuffer_handle(const QAbstractVideoBuffer* self);
|
|
|
|
bool QAbstractVideoBuffer_override_virtual_release(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoBuffer_virtualbase_release(void* self);
|
|
|
|
bool QAbstractVideoBuffer_override_virtual_mapMode(void* self, intptr_t slot);
|
|
|
|
int QAbstractVideoBuffer_virtualbase_mapMode(const void* self);
|
|
|
|
bool QAbstractVideoBuffer_override_virtual_map(void* self, intptr_t slot);
|
|
|
|
unsigned char* QAbstractVideoBuffer_virtualbase_map(void* self, int mode, int* numBytes, int* bytesPerLine);
|
|
|
|
bool QAbstractVideoBuffer_override_virtual_unmap(void* self, intptr_t slot);
|
|
|
|
void QAbstractVideoBuffer_virtualbase_unmap(void* self);
|
|
|
|
bool QAbstractVideoBuffer_override_virtual_handle(void* self, intptr_t slot);
|
|
|
|
QVariant* QAbstractVideoBuffer_virtualbase_handle(const void* self);
|
|
|
|
void QAbstractVideoBuffer_delete(QAbstractVideoBuffer* self);
|
2024-11-04 23:15:32 +13:00
|
|
|
|
2025-02-01 13:45:16 +13:00
|
|
|
QAbstractPlanarVideoBuffer* QAbstractPlanarVideoBuffer_new(int type);
|
2024-12-07 17:15:57 +13:00
|
|
|
void QAbstractPlanarVideoBuffer_virtbase(QAbstractPlanarVideoBuffer* src, QAbstractVideoBuffer** outptr_QAbstractVideoBuffer);
|
2025-02-01 13:45:16 +13:00
|
|
|
unsigned char* QAbstractPlanarVideoBuffer_map(QAbstractPlanarVideoBuffer* self, int mode, int* numBytes, int* bytesPerLine);
|
|
|
|
bool QAbstractPlanarVideoBuffer_override_virtual_map(void* self, intptr_t slot);
|
|
|
|
unsigned char* QAbstractPlanarVideoBuffer_virtualbase_map(void* self, int mode, int* numBytes, int* bytesPerLine);
|
|
|
|
bool QAbstractPlanarVideoBuffer_override_virtual_release(void* self, intptr_t slot);
|
|
|
|
void QAbstractPlanarVideoBuffer_virtualbase_release(void* self);
|
|
|
|
bool QAbstractPlanarVideoBuffer_override_virtual_mapMode(void* self, intptr_t slot);
|
|
|
|
int QAbstractPlanarVideoBuffer_virtualbase_mapMode(const void* self);
|
|
|
|
bool QAbstractPlanarVideoBuffer_override_virtual_unmap(void* self, intptr_t slot);
|
|
|
|
void QAbstractPlanarVideoBuffer_virtualbase_unmap(void* self);
|
|
|
|
bool QAbstractPlanarVideoBuffer_override_virtual_handle(void* self, intptr_t slot);
|
|
|
|
QVariant* QAbstractPlanarVideoBuffer_virtualbase_handle(const void* self);
|
|
|
|
void QAbstractPlanarVideoBuffer_delete(QAbstractPlanarVideoBuffer* 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
|