gamut.codecs.qoi

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
int QOI_COLOR_HASH(qoi_rgba_t C)
Undocumented in source. Be warned that the author may not have intended to support it.
qoi_decode
void* qoi_decode(void* data, int size, qoi_desc* desc, int channels)

Decode a QOI image from memory.

qoi_encode
void* qoi_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.
qoi_is_qoi_image
bool qoi_is_qoi_image(const(ubyte)[] imageData)
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_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.

Manifest constants

QOI_HEADER_SIZE
enum QOI_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[8] 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

QOI_MAGIC
enum uint QOI_MAGIC;
Undocumented in source.
QOI_MASK_2
enum int QOI_MASK_2;
Undocumented in source.
QOI_OP_DIFF
enum int QOI_OP_DIFF;
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_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_PIXELS_MAX
enum uint QOI_PIXELS_MAX;
Undocumented in source.

Meta