ReactOS 0.4.16-dev-424-ge4748fe
|
Go to the source code of this file.
Macros | |
#define | UBYTE_TO_CHAN(b) (b) |
#define | CHAN_MAX 255 |
#define | RCOMP 0 |
#define | GCOMP 1 |
#define | BCOMP 2 |
#define | ACOMP 3 |
Typedefs | |
typedef GLubyte | GLchan |
Functions | |
void | fetch_2d_texel_rgb_dxt1 (GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) |
void | fetch_2d_texel_rgba_dxt1 (GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) |
void | fetch_2d_texel_rgba_dxt3 (GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) |
void | fetch_2d_texel_rgba_dxt5 (GLint srcRowStride, const GLubyte *pixdata, GLint i, GLint j, GLvoid *texel) |
void | tx_compress_dxtn (GLint srccomps, GLint width, GLint height, const GLubyte *srcPixData, GLenum destformat, GLubyte *dest, GLint dstRowStride) |
#define ACOMP 3 |
Definition at line 39 of file txc_dxtn.h.
#define BCOMP 2 |
Definition at line 38 of file txc_dxtn.h.
#define CHAN_MAX 255 |
Definition at line 35 of file txc_dxtn.h.
#define GCOMP 1 |
Definition at line 37 of file txc_dxtn.h.
#define RCOMP 0 |
Definition at line 36 of file txc_dxtn.h.
Definition at line 34 of file txc_dxtn.h.
Definition at line 33 of file txc_dxtn.h.
void fetch_2d_texel_rgb_dxt1 | ( | GLint | srcRowStride, |
const GLubyte * | pixdata, | ||
GLint | i, | ||
GLint | j, | ||
GLvoid * | texel | ||
) |
Definition at line 97 of file txc_fetch_dxtn.c.
void fetch_2d_texel_rgba_dxt1 | ( | GLint | srcRowStride, |
const GLubyte * | pixdata, | ||
GLint | i, | ||
GLint | j, | ||
GLvoid * | texel | ||
) |
Definition at line 109 of file txc_fetch_dxtn.c.
void fetch_2d_texel_rgba_dxt3 | ( | GLint | srcRowStride, |
const GLubyte * | pixdata, | ||
GLint | i, | ||
GLint | j, | ||
GLvoid * | texel | ||
) |
Definition at line 120 of file txc_fetch_dxtn.c.
void fetch_2d_texel_rgba_dxt5 | ( | GLint | srcRowStride, |
const GLubyte * | pixdata, | ||
GLint | i, | ||
GLint | j, | ||
GLvoid * | texel | ||
) |
Definition at line 151 of file txc_fetch_dxtn.c.
void tx_compress_dxtn | ( | GLint | srccomps, |
GLint | width, | ||
GLint | height, | ||
const GLubyte * | srcPixData, | ||
GLenum | destformat, | ||
GLubyte * | dest, | ||
GLint | dstRowStride | ||
) |
Definition at line 758 of file txc_compress_dxtn.c.
Referenced by D3DXLoadSurfaceFromMemory(), and wined3d_dxtn_init().