]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/sparc/simple_idct_vis.c
libstagefright: limit the output queue size
[ffmpeg] / libavcodec / sparc / simple_idct_vis.c
index 6f5359a4bc9d81360067a961bff1870a4eba0049..f9fcf809fbc32a11dde9db409ed211f1e5d736af 100644 (file)
@@ -5,26 +5,27 @@
  * I did consult the following fine web page about dct
  * http://www.geocities.com/ssavekar/dct.htm
  *
- * This file is part of FFmpeg.
+ * This file is part of Libav.
  *
- * FFmpeg is free software; you can redistribute it and/or
+ * Libav 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,
+ * Libav 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
+ * License along with Libav; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include "libavcodec/dsputil.h"
+#include "dsputil_vis.h"
 
-static const DECLARE_ALIGNED_8(int16_t, coeffs)[28] = {
+static const DECLARE_ALIGNED(8, int16_t, coeffs)[28] = {
     - 1259,- 1259,- 1259,- 1259,
     - 4989,- 4989,- 4989,- 4989,
     -11045,-11045,-11045,-11045,
@@ -33,13 +34,13 @@ static const DECLARE_ALIGNED_8(int16_t, coeffs)[28] = {
      25080, 25080, 25080, 25080,
      12785, 12785, 12785, 12785
 };
-static const DECLARE_ALIGNED_8(uint16_t, scale)[4] = {
+static const DECLARE_ALIGNED(8, uint16_t, scale)[4] = {
     65536>>6, 65536>>6, 65536>>6, 65536>>6
 };
-static const DECLARE_ALIGNED_8(uint16_t, rounder)[4] = {
+static const DECLARE_ALIGNED(8, uint16_t, rounder)[4] = {
     1<<5, 1<<5, 1<<5, 1<<5
 };
-static const DECLARE_ALIGNED_8(uint16_t, expand)[4] = {
+static const DECLARE_ALIGNED(8, uint16_t, expand)[4] = {
     1<<14, 1<<14, 1<<14, 1<<14
 };
 
@@ -386,7 +387,7 @@ static const DECLARE_ALIGNED_8(uint16_t, expand)[4] = {
 
 void ff_simple_idct_vis(DCTELEM *data) {
     int out1, out2, out3, out4;
-    DECLARE_ALIGNED_8(int16_t, temp)[8*8];
+    DECLARE_ALIGNED(8, int16_t, temp)[8*8];
 
     __asm__ volatile(
         INIT_IDCT