From 51e770deb16d6c24084776bfe700fea185f63f63 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Thu, 29 Nov 2012 11:23:02 -0800 Subject: [PATCH] fix implicit warnings idct etc Change-Id: I54a122cc8c0b6ed2dbc3c6ecfcd44736cd40b687 --- vp9/decoder/x86/vp9_idct_blk_mmx.c | 1 + vp9/decoder/x86/vp9_idct_mmx.h | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 vp9/decoder/x86/vp9_idct_mmx.h diff --git a/vp9/decoder/x86/vp9_idct_blk_mmx.c b/vp9/decoder/x86/vp9_idct_blk_mmx.c index 2657786..df34852 100644 --- 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, diff --git a/vp9/decoder/x86/vp9_idct_mmx.h b/vp9/decoder/x86/vp9_idct_mmx.h new file mode 100644 index 0000000..a4f49d3 --- /dev/null +++ b/vp9/decoder/x86/vp9_idct_mmx.h @@ -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_ */ -- 2.7.4