Mercurial > libavcodec.hg
comparison alpha/simple_idct_alpha.c @ 11396:9e7d38743146 libavcodec
Alpha: move dsputil prototypes to a header file
author | mru |
---|---|
date | Mon, 08 Mar 2010 02:36:03 +0000 |
parents | 72e109759617 |
children |
comparison
equal
deleted
inserted
replaced
11395:5b9d41da4152 | 11396:9e7d38743146 |
---|---|
25 * License along with FFmpeg; if not, write to the Free Software | 25 * License along with FFmpeg; if not, write to the Free Software |
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
27 */ | 27 */ |
28 | 28 |
29 #include "libavcodec/dsputil.h" | 29 #include "libavcodec/dsputil.h" |
30 #include "dsputil_alpha.h" | |
30 #include "asm.h" | 31 #include "asm.h" |
31 | |
32 extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels, | |
33 int line_size); | |
34 extern void (*add_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels, | |
35 int line_size); | |
36 | 32 |
37 // cos(i * M_PI / 16) * sqrt(2) * (1 << 14) | 33 // cos(i * M_PI / 16) * sqrt(2) * (1 << 14) |
38 // W4 is actually exactly 16384, but using 16383 works around | 34 // W4 is actually exactly 16384, but using 16383 works around |
39 // accumulating rounding errors for some encoders | 35 // accumulating rounding errors for some encoders |
40 #define W1 ((int_fast32_t) 22725) | 36 #define W1 ((int_fast32_t) 22725) |