shithub: libvpx

Download patch

ref: 51e770deb16d6c24084776bfe700fea185f63f63
parent: ef3c01ed67f6f382d0be06b42fbb0e5a43ec8a8e
author: Jim Bankoski <jimbankoski@google.com>
date: Thu Nov 29 06:23:02 EST 2012

fix implicit warnings idct etc

Change-Id: I54a122cc8c0b6ed2dbc3c6ecfcd44736cd40b687

--- a/vp9/decoder/x86/vp9_idct_blk_mmx.c
+++ b/vp9/decoder/x86/vp9_idct_blk_mmx.c
@@ -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,
--- /dev/null
+++ b/vp9/decoder/x86/vp9_idct_mmx.h
@@ -1,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_ */
--