comparison dsputil.c @ 517:389e30fe7269 libavcodec

* Move "restrict" fallback to common.h * Don't include config.h in dsputil.c
author mellum
date Thu, 04 Jul 2002 13:41:27 +0000
parents 0cb7ab35ccb2
children 3c07cf9595de
comparison
equal deleted inserted replaced
516:0cb7ab35ccb2 517:389e30fe7269
19 * gmc & q-pel & 32/64 bit based MC by Michael Niedermayer <michaelni@gmx.at> 19 * gmc & q-pel & 32/64 bit based MC by Michael Niedermayer <michaelni@gmx.at>
20 */ 20 */
21 #include "avcodec.h" 21 #include "avcodec.h"
22 #include "dsputil.h" 22 #include "dsputil.h"
23 #include "simple_idct.h" 23 #include "simple_idct.h"
24 #include "config.h"
25
26 /* Suppress restrict if it was not defined in config.h */
27 #ifndef restrict
28 #define restrict
29 #endif
30 24
31 void (*ff_idct)(DCTELEM *block); 25 void (*ff_idct)(DCTELEM *block);
32 void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block); 26 void (*ff_idct_put)(UINT8 *dest, int line_size, DCTELEM *block);
33 void (*ff_idct_add)(UINT8 *dest, int line_size, DCTELEM *block); 27 void (*ff_idct_add)(UINT8 *dest, int line_size, DCTELEM *block);
34 void (*av_fdct)(DCTELEM *block); 28 void (*av_fdct)(DCTELEM *block);