[FFmpeg-cvslog] r22440 - in trunk/libavcodec/sparc: dsputil_vis.c dsputil_vis.h simple_idct_vis.c
mru
subversion
Wed Mar 10 23:24:43 CET 2010
Author: mru
Date: Wed Mar 10 23:24:42 2010
New Revision: 22440
Log:
sparc: fix dsputil prototypes
Added:
trunk/libavcodec/sparc/dsputil_vis.h
Modified:
trunk/libavcodec/sparc/dsputil_vis.c
trunk/libavcodec/sparc/simple_idct_vis.c
Modified: trunk/libavcodec/sparc/dsputil_vis.c
==============================================================================
--- trunk/libavcodec/sparc/dsputil_vis.c Wed Mar 10 23:24:39 2010 (r22439)
+++ trunk/libavcodec/sparc/dsputil_vis.c Wed Mar 10 23:24:42 2010 (r22440)
@@ -27,13 +27,10 @@
#include <inttypes.h>
#include "libavcodec/dsputil.h"
+#include "dsputil_vis.h"
#include "vis.h"
-void ff_simple_idct_put_vis(uint8_t *dest, int line_size, DCTELEM *data);
-void ff_simple_idct_add_vis(uint8_t *dest, int line_size, DCTELEM *data);
-void ff_simple_idct_vis(DCTELEM *data);
-
/* The trick used in some of this file is the formula from the MMX
* motion comp code, which is:
*
Added: trunk/libavcodec/sparc/dsputil_vis.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libavcodec/sparc/dsputil_vis.h Wed Mar 10 23:24:42 2010 (r22440)
@@ -0,0 +1,29 @@
+/*
+ * 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
+ */
+
+#ifndef AVCODEC_SPARC_DSPUTIL_VIS_H
+#define AVCODEC_SPARC_DSPUTIL_VIS_H
+
+#include <stdint.h>
+#include "libavcodec/dsputil.h"
+
+void ff_simple_idct_put_vis(uint8_t *dest, int line_size, DCTELEM *data);
+void ff_simple_idct_add_vis(uint8_t *dest, int line_size, DCTELEM *data);
+void ff_simple_idct_vis(DCTELEM *data);
+
+#endif
Modified: trunk/libavcodec/sparc/simple_idct_vis.c
==============================================================================
--- trunk/libavcodec/sparc/simple_idct_vis.c Wed Mar 10 23:24:39 2010 (r22439)
+++ trunk/libavcodec/sparc/simple_idct_vis.c Wed Mar 10 23:24:42 2010 (r22440)
@@ -23,6 +23,7 @@
*/
#include "libavcodec/dsputil.h"
+#include "dsputil_vis.h"
static const DECLARE_ALIGNED(8, int16_t, coeffs)[28] = {
- 1259,- 1259,- 1259,- 1259,
More information about the ffmpeg-cvslog
mailing list