UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
dxt_encoder.h
Go to the documentation of this file.
1
27#ifndef DXT_ENCODER_H
28#define DXT_ENCODER_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#include "dxt_common.h"
35
39struct dxt_encoder;
40
50struct dxt_encoder*
52
61int
62dxt_encoder_buffer_allocate(struct dxt_encoder* encoder, unsigned char** image_compressed, int* image_compressed_size);
63
72int
73dxt_encoder_compress(struct dxt_encoder* encoder, DXT_IMAGE_TYPE* image, unsigned char* image_compressed);
74
83int
84dxt_encoder_compress_texture(struct dxt_encoder* encoder, int texture, unsigned char* image_compressed);
85
92int
93dxt_encoder_buffer_free(unsigned char* image_compressed);
94
101int
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif // DXT_ENCODER_H
dxt_format
Definition dxt_common.h:78
dxt_type
Definition dxt_common.h:88
#define DXT_IMAGE_TYPE
Definition dxt_common.h:71
int dxt_encoder_buffer_allocate(struct dxt_encoder *encoder, unsigned char **image_compressed, int *image_compressed_size)
int dxt_encoder_compress_texture(struct dxt_encoder *encoder, int texture, unsigned char *image_compressed)
int dxt_encoder_compress(struct dxt_encoder *encoder, DXT_IMAGE_TYPE *image, unsigned char *image_compressed)
struct dxt_encoder * dxt_encoder_create(enum dxt_type type, int width, int height, enum dxt_format format, int legacy)
int dxt_encoder_destroy(struct dxt_encoder *encoder)
int dxt_encoder_buffer_free(unsigned char *image_compressed)
Option::OptType type
Definition settings.cpp:194
enum dxt_format format
Definition dxt_encoder.c:88
unsigned int legacy
Definition dxt_encoder.c:76