s3tc.h File Reference

Go to the source code of this file.

Functions

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.
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.


Function Documentation

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.

Parameters:
*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 76 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.

Parameters:
*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 87 of file s3tc.c.

Referenced by txd_decode_frame().


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5