Mercurial > libavcodec.hg
comparison s3tc.h @ 4937:a65cd5b551c2 libavcodec
add doxygen comments
author | ivo |
---|---|
date | Mon, 07 May 2007 20:07:35 +0000 |
parents | ed67837533b0 |
children | 4394344397d8 |
comparison
equal
deleted
inserted
replaced
4936:2e400c0e99f6 | 4937:a65cd5b551c2 |
---|---|
24 #define FF_S3TC_H | 24 #define FF_S3TC_H |
25 | 25 |
26 #define FF_S3TC_DXT1 0x31545844 | 26 #define FF_S3TC_DXT1 0x31545844 |
27 #define FF_S3TC_DXT3 0x33545844 | 27 #define FF_S3TC_DXT3 0x33545844 |
28 | 28 |
29 /** | |
30 * Decode DXT1 encoded data to RGB32 | |
31 * @param *src source buffer, has to be aligned on a 4-byte boundary | |
32 * @param *dst destination buffer | |
33 * @param w width of output image | |
34 * @param h height of output image | |
35 * @param stride line size of output image | |
36 */ | |
29 void ff_decode_dxt1(const uint8_t *src, uint8_t *dst, | 37 void ff_decode_dxt1(const uint8_t *src, uint8_t *dst, |
30 const unsigned int w, const unsigned int h, | 38 const unsigned int w, const unsigned int h, |
31 const unsigned int stride); | 39 const unsigned int stride); |
40 /** | |
41 * Decode DXT3 encoded data to RGB32 | |
42 * @param *src source buffer, has to be aligned on a 4-byte boundary | |
43 * @param *dst destination buffer | |
44 * @param w width of output image | |
45 * @param h height of output image | |
46 * @param stride line size of output image | |
47 */ | |
32 void ff_decode_dxt3(const uint8_t *src, uint8_t *dst, | 48 void ff_decode_dxt3(const uint8_t *src, uint8_t *dst, |
33 const unsigned int w, const unsigned int h, | 49 const unsigned int w, const unsigned int h, |
34 const unsigned int stride); | 50 const unsigned int stride); |
35 | 51 |
36 #endif | 52 #endif |