]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vc1dsp.h
Eliminate pointless '#if 1' statements without matching '#else'.
[ffmpeg] / libavcodec / vc1dsp.h
index a1f3d90574b24814a414b9ee8fad858f07da60a1..32bb25b7f7759647ae6d0bcabc45dfaea6cf7300 100644 (file)
@@ -2,20 +2,20 @@
  * VC-1 and WMV3 decoder - DSP functions
  * Copyright (c) 2006 Konstantin Shishkov
  *
- * 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 "dsputil.h"
 
+typedef void (*vc1_idct_func)(uint8_t *dest, int line_size, DCTELEM *block);
+
 typedef struct VC1DSPContext {
     /* vc1 functions */
-    void (*vc1_inv_trans_8x8)(DCTELEM *b);
+    vc1_idct_func vc1_inv_trans_8x8_add;
+    vc1_idct_func vc1_inv_trans_8x8_put_signed[2];
+    vc1_idct_func vc1_inv_trans_8x8_put[2];
     void (*vc1_inv_trans_8x4)(uint8_t *dest, int line_size, DCTELEM *block);
     void (*vc1_inv_trans_4x8)(uint8_t *dest, int line_size, DCTELEM *block);
     void (*vc1_inv_trans_4x4)(uint8_t *dest, int line_size, DCTELEM *block);