summaryrefslogtreecommitdiff
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-04-12 16:54:36 +0000
committerDiego Biurrun <diego@biurrun.de>2008-04-12 16:54:36 +0000
commit54a0b6e590a8a8cd28b9442b26c93b4f1a6c18d1 (patch)
tree34613801fb7e6378971575ab05de351fe190dd80 /libavcodec/i386
parent07c37ca7fcb344f2632e25cafde6a210e12590f7 (diff)
Add a header file to declare Xvid IDCT functions.
patch by Alexander Strange, astrange ithinksw com Originally committed as revision 12794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/dsputil_mmx.c4
-rw-r--r--libavcodec/i386/idct_xvid.h32
2 files changed, 33 insertions, 3 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index 85cbfb655f..3ae1b5947f 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -30,14 +30,12 @@
#include "mmx.h"
#include "vp3dsp_mmx.h"
#include "vp3dsp_sse2.h"
+#include "idct_xvid.h"
#include "h263.h"
//#undef NDEBUG
//#include <assert.h>
-extern void ff_idct_xvid_mmx(short *block);
-extern void ff_idct_xvid_mmx2(short *block);
-
int mm_flags; /* multimedia extension flags */
/* pixel operations */
diff --git a/libavcodec/i386/idct_xvid.h b/libavcodec/i386/idct_xvid.h
new file mode 100644
index 0000000000..3c81244619
--- /dev/null
+++ b/libavcodec/i386/idct_xvid.h
@@ -0,0 +1,32 @@
+/*
+ * XVID MPEG-4 VIDEO CODEC
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+/*!
+ * @file idct_xvid.h
+ * header for Xvid IDCT functions
+ */
+
+#ifndef FFMPEG_IDCT_XVID_H
+#define FFMPEG_IDCT_XVID_H
+
+void ff_idct_xvid_mmx(short *block);
+void ff_idct_xvid_mmx2(short *block);
+
+#endif /* FFMPEG_IDCT_XVID_H */