fix implicit warnings idct etc
authorJim Bankoski <jimbankoski@google.com>
Thu, 29 Nov 2012 19:23:02 +0000 (11:23 -0800)
committerJim Bankoski <jimbankoski@google.com>
Thu, 29 Nov 2012 19:23:02 +0000 (11:23 -0800)
Change-Id: I54a122cc8c0b6ed2dbc3c6ecfcd44736cd40b687

vp9/decoder/x86/vp9_idct_blk_mmx.c
vp9/decoder/x86/vp9_idct_mmx.h [new file with mode: 0644]

index 2657786..df34852 100644 (file)
@@ -11,6 +11,7 @@
 #include "vpx_ports/config.h"
 #include "vp9/common/vp9_blockd.h"
 #include "vp9/decoder/vp9_dequantize.h"
+#include "vp9/decoder/x86/vp9_idct_mmx.h"
 
 void vp9_dequant_dc_idct_add_y_block_mmx(short *q, const short *dq,
                                          unsigned char *pre,
diff --git a/vp9/decoder/x86/vp9_idct_mmx.h b/vp9/decoder/x86/vp9_idct_mmx.h
new file mode 100644 (file)
index 0000000..a4f49d3
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
+ *
+ *  Use of this source code is governed by a BSD-style license
+ *  that can be found in the LICENSE file in the root of the source
+ *  tree. An additional intellectual property rights grant can be found
+ *  in the file PATENTS.  All contributing project authors may
+ *  be found in the AUTHORS file in the root of the source tree.
+ */
+
+#ifndef __INC_IDCT_MMX_H_
+#define __INC_IDCT_MMX_H_
+
+
+void vp9_dequant_dc_idct_add_mmx(short *input, const short *dq,
+                                 unsigned char *pred, unsigned char *dest,
+                                 int pitch, int stride, int Dc);
+
+void vp9_dc_only_idct_add_mmx(short input_dc, const unsigned char *pred_ptr,
+                              unsigned char *dst_ptr, int pitch, int stride);
+
+void vp9_dequant_idct_add_mmx(short *input, const short *dq, unsigned char *pred,
+                              unsigned char *dest, int pitch, int stride);
+
+#endif /* VP9_DECODER_X86_VP9_IDCT_MMX_H_ */