/*
 * compile whole libavcodec library in one step
 */

#if 0
// requires to add #ifdef LIBA52_INTERNAL_H
// let's wait for Michel
#include "liba52/bit_allocate.c"
#include "liba52/bitstream.c"
#include "liba52/downmix.c"
#include "liba52/imdct.c"
#include "liba52/parse.c"
#endif

#define compute_bit_allocation ac3enc_compute_bit_allocation
#include "ac3enc.c"
#undef compute_bit_allocation
#undef BF
#undef MUL16

#include "a52dec.c"
#undef HEADER_SIZE

#include "allcodecs.c"
#include "mem.c"
#include "avcodec.c"
#include "common.c"
#include "dsputil.c"
#include "h263.c"
#include "h263dec.c"
#include "imgconvert.c"
#include "imgresample.c"
#include "jfdctfst.c"
#include "jrevdct.c"
#include "motion_est.c"
#include "mpeg12.c"

#include "mpegaudio.c"
#undef FRAC_BITS
#undef WFRAC_BITS

#define scale_factor_mult mpega_scale_factor_mult
#include "mpegaudiodec.c"
#undef scale_factor_mult

#include "mpegvideo.c"

#define dc_lum_vlc msmpeg4_dc_lum_vlc
#define dc_chroma_vlc msmpeg4_dc_chroma_vlc
#define common_init msmpeg4_common_unit
#include "msmpeg4.c"
#undef dc_lum_vlc
#undef dc_chroma_vlc
#undef common_init

#include "pcm.c"
#include "ratecontrol.c"
#include "resample.c"
#include "rv10.c"
#include "simple_idct.c"
#include "utils.c"


#ifdef ARCH_ALPHA
#include "alpha/dsputil_alpha.c"
#include "alpha/mpegvideo_alpha.c"
#endif

#ifdef ARCH_ARM
#include "armv4l/dsputil_arm.c"
#endif

#ifdef ARCH_SPARC
#include "mlib/dsputil_mlib.c"
#endif

#ifdef ARCH_X86
#include "i386/cputest.c"
#include "i386/dsputil_mmx.c"
#include "i386/fdct_mmx.c"
#include "i386/idct_mmx.c"
#include "i386/motion_est_mmx.c"

#define mm_wone mpeg_mm_wone
#include "i386/mpegvideo_mmx.c"
#undef mm_wone

#include "i386/simple_idct_mmx.c"
#endif

#undef VERSION
#include "mjpeg.c"

#include "svq1.c"
#include "adpcm.c"

//#include "fdctref.c"
//#include "mp3lameaudio.c"
