[FFmpeg-cvslog] r12794 - in trunk/libavcodec: dct-test.c i386/dsputil_mmx.c i386/idct_xvid.h
diego
subversion
Sat Apr 12 18:54:37 CEST 2008
Author: diego
Date: Sat Apr 12 18:54:36 2008
New Revision: 12794
Log:
Add a header file to declare Xvid IDCT functions.
patch by Alexander Strange, astrange ithinksw com
Added:
trunk/libavcodec/i386/idct_xvid.h
Modified:
trunk/libavcodec/dct-test.c
trunk/libavcodec/i386/dsputil_mmx.c
Modified: trunk/libavcodec/dct-test.c
==============================================================================
--- trunk/libavcodec/dct-test.c (original)
+++ trunk/libavcodec/dct-test.c Sat Apr 12 18:54:36 2008
@@ -37,6 +37,7 @@
#include "simple_idct.h"
#include "faandct.h"
#include "faanidct.h"
+#include "i386/idct_xvid.h"
#ifndef MAX
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
@@ -50,8 +51,6 @@ void *fast_memcpy(void *a, const void *b
/* reference fdct/idct */
extern void fdct(DCTELEM *block);
extern void idct(DCTELEM *block);
-extern void ff_idct_xvid_mmx(DCTELEM *block);
-extern void ff_idct_xvid_mmx2(DCTELEM *block);
extern void init_fdct();
extern void ff_mmx_idct(DCTELEM *data);
Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c (original)
+++ trunk/libavcodec/i386/dsputil_mmx.c Sat Apr 12 18:54:36 2008
@@ -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 */
Added: trunk/libavcodec/i386/idct_xvid.h
==============================================================================
--- (empty file)
+++ trunk/libavcodec/i386/idct_xvid.h Sat Apr 12 18:54:36 2008
@@ -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 */
More information about the ffmpeg-cvslog
mailing list