gamut.codecs.qoi2avg

Undocumented in source.

Members

Aliases

QOI_FREE
alias QOI_FREE = free
Undocumented in source.
QOI_MALLOC
alias QOI_MALLOC = malloc
Undocumented in source.

Functions

QOI_COLOR_HASH
uint QOI_COLOR_HASH(qoi_rgba_t C)
Undocumented in source. Be warned that the author may not have intended to support it.
qoi_read_32
uint qoi_read_32(const(ubyte)* bytes, int* p)
Undocumented in source. Be warned that the author may not have intended to support it.
qoi_read_32f
float qoi_read_32f(const(ubyte)* bytes, int* p)
Undocumented in source. Be warned that the author may not have intended to support it.
qoi_write_32
void qoi_write_32(ubyte* bytes, int* p, uint v)
Undocumented in source. Be warned that the author may not have intended to support it.
qoi_write_32f
void qoi_write_32f(ubyte* bytes, int* p, float f)
Undocumented in source. Be warned that the author may not have intended to support it.
qoix_decode
ubyte* qoix_decode(const(void)* data, int size, qoi_desc* desc, int channels)
Undocumented in source. Be warned that the author may not have intended to support it.
qoix_encode
ubyte* qoix_encode(const(ubyte)* data, const(qoi_desc)* desc, int* out_len)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

QOIX_HEADER_OFFSET_BITDEPTH
enum QOIX_HEADER_OFFSET_BITDEPTH;
Undocumented in source.
QOIX_HEADER_OFFSET_CHANNELS
enum QOIX_HEADER_OFFSET_CHANNELS;

Note: this is a translation of "QOI2" mods by @wbd73 revealed in https://github.com/nigeltao/qoi2-bikeshed/issues/34 Called "QOIX" in Gamut, since it has a few extensions again, such as LZ4.

QOIX_HEADER_OFFSET_COMPRESSION
enum QOIX_HEADER_OFFSET_COMPRESSION;
Undocumented in source.
QOIX_HEADER_SIZE
enum QOIX_HEADER_SIZE;
Undocumented in source.
QOI_LINEAR
enum QOI_LINEAR;
Undocumented in source.
QOI_SRGB
enum QOI_SRGB;
Undocumented in source.

Static variables

qoi_padding
ubyte[4] qoi_padding;
Undocumented in source.

Structs

RGBA
struct RGBA
Undocumented in source.
qoi_desc
struct qoi_desc
Undocumented in source.
qoi_rgba_t
struct qoi_rgba_t
Undocumented in source.

Variables

QOIX_COMPRESSION_LZ4
enum ubyte QOIX_COMPRESSION_LZ4;
Undocumented in source.
QOIX_COMPRESSION_NONE
enum ubyte QOIX_COMPRESSION_NONE;
Undocumented in source.
QOIX_MAGIC
enum uint QOIX_MAGIC;
Undocumented in source.
QOIX_PIXELS_MAX
enum uint QOIX_PIXELS_MAX;
Undocumented in source.
QOI_OP_ADIFF
enum int QOI_OP_ADIFF;
Undocumented in source.
QOI_OP_END
enum int QOI_OP_END;
Undocumented in source.
QOI_OP_GRAY
enum int QOI_OP_GRAY;
Undocumented in source.
QOI_OP_INDEX
enum int QOI_OP_INDEX;
Undocumented in source.
QOI_OP_LUMA
enum int QOI_OP_LUMA;
Undocumented in source.
QOI_OP_LUMA2
enum int QOI_OP_LUMA2;
Undocumented in source.
QOI_OP_LUMA3
enum int QOI_OP_LUMA3;
Undocumented in source.
QOI_OP_RGB
enum int QOI_OP_RGB;
Undocumented in source.
QOI_OP_RGBA
enum int QOI_OP_RGBA;
Undocumented in source.
QOI_OP_RUN
enum int QOI_OP_RUN;
Undocumented in source.
QOI_OP_RUN2
enum int QOI_OP_RUN2;
Undocumented in source.

Meta