Originally committed as revision 27 to svn://svn.ffmpeg.org/ffmpeg/trunk
LIB= libavcodec.a
TESTS= imgresample-test dct-test
-all: $(LIB) apiexample
+all: $(LIB)
+tests: apiexample $(TESTS)
$(LIB): $(OBJS) $(ASM_OBJS)
rm -f $@
--- /dev/null
+#include "../libvo/fastmemcpy.h"
#include <string.h>
#include "avcodec.h"
+/* Stuff below is useful only for mplayer project */
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
+#ifdef USE_FASTMEMCPY
+#include "fastmemcpy.h"
+#endif
/* XXX: totally non optimized */
static void yuv422_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr,
#include "dsputil.h"
#include "avcodec.h"
+/* Stuff below is useful only for mplayer project */
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
+#ifdef USE_FASTMEMCPY
+#include "fastmemcpy.h"
+#endif
+
+
#define NB_COMPONENTS 3
#define PHASE_BITS 4
#include "mpeg12data.h"
+/* Stuff below is useful only for mplayer project */
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
+#ifdef USE_FASTMEMCPY
+#include "fastmemcpy.h"
+#endif
//#define DEBUG
#ifdef DEBUG
#include "dsputil.h"
#include "mpegvideo.h"
+/* Stuff below is useful only for mplayer project */
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
+#ifdef USE_FASTMEMCPY
+#include "fastmemcpy.h"
+#endif
+
static void encode_picture(MpegEncContext *s, int picture_number);
static void rate_control_init(MpegEncContext *s);
static int rate_estimate_qscale(MpegEncContext *s);