diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-10 22:24:42 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-10 22:24:42 +0000 |
commit | ad40380240a4db5ba7effb18b2951e977d5034a4 (patch) | |
tree | d5def2d1726d8c7d2b94ca85bb551e5e4ec70bd2 /libavcodec/sparc | |
parent | 47b1860eef3ad7c871e99b80669dc79c4fd3d92e (diff) | |
download | ffmpeg-ad40380240a4db5ba7effb18b2951e977d5034a4.tar.gz |
sparc: fix dsputil prototypes
Originally committed as revision 22440 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sparc')
-rw-r--r-- | libavcodec/sparc/dsputil_vis.c | 5 | ||||
-rw-r--r-- | libavcodec/sparc/dsputil_vis.h | 29 | ||||
-rw-r--r-- | libavcodec/sparc/simple_idct_vis.c | 1 |
3 files changed, 31 insertions, 4 deletions
diff --git a/libavcodec/sparc/dsputil_vis.c b/libavcodec/sparc/dsputil_vis.c index 7aac4e9e60..9c85ae6812 100644 --- a/libavcodec/sparc/dsputil_vis.c +++ b/libavcodec/sparc/dsputil_vis.c @@ -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: * diff --git a/libavcodec/sparc/dsputil_vis.h b/libavcodec/sparc/dsputil_vis.h new file mode 100644 index 0000000000..97ff965da2 --- /dev/null +++ b/libavcodec/sparc/dsputil_vis.h @@ -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 diff --git a/libavcodec/sparc/simple_idct_vis.c b/libavcodec/sparc/simple_idct_vis.c index 8346a365b3..d98bf37651 100644 --- a/libavcodec/sparc/simple_idct_vis.c +++ b/libavcodec/sparc/simple_idct_vis.c @@ -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, |