#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "s3tc.h"
Go to the source code of this file.
Functions | |
static void | dxt1_decode_pixels (const uint8_t *s, uint32_t *d, unsigned int qstride, unsigned int flag, uint64_t alpha) |
void | ff_decode_dxt1 (const uint8_t *s, uint8_t *dst, const unsigned int w, const unsigned int h, const unsigned int stride) |
Decode DXT1 encoded data to RGB32. | |
void | ff_decode_dxt3 (const uint8_t *s, uint8_t *dst, const unsigned int w, const unsigned int h, const unsigned int stride) |
Decode DXT3 encoded data to RGB32. |
static void dxt1_decode_pixels | ( | const uint8_t * | s, | |
uint32_t * | d, | |||
unsigned int | qstride, | |||
unsigned int | flag, | |||
uint64_t | alpha | |||
) | [inline, static] |
void ff_decode_dxt1 | ( | const uint8_t * | src, | |
uint8_t * | dst, | |||
const unsigned int | w, | |||
const unsigned int | h, | |||
const unsigned int | stride | |||
) |
Decode DXT1 encoded data to RGB32.
*src | source buffer, has to be aligned on a 4-byte boundary | |
*dst | destination buffer | |
w | width of output image | |
h | height of output image | |
stride | line size of output image |
Definition at line 77 of file s3tc.c.
Referenced by txd_decode_frame().
void ff_decode_dxt3 | ( | const uint8_t * | src, | |
uint8_t * | dst, | |||
const unsigned int | w, | |||
const unsigned int | h, | |||
const unsigned int | stride | |||
) |
Decode DXT3 encoded data to RGB32.
*src | source buffer, has to be aligned on a 4-byte boundary | |
*dst | destination buffer | |
w | width of output image | |
h | height of output image | |
stride | line size of output image |
Definition at line 88 of file s3tc.c.
Referenced by txd_decode_frame().