OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "vpx_ports/config.h" | 11 #include "./vpx_config.h" |
12 #include "vp9/common/vp9_blockd.h" | 12 #include "vp9/common/vp9_blockd.h" |
13 #include "vp9/decoder/vp9_dequantize.h" | 13 #include "vp9/decoder/vp9_dequantize.h" |
14 | 14 |
15 void vp9_idct_dequant_dc_0_2x_sse2(short *q, const short *dq, | 15 void vp9_idct_dequant_dc_0_2x_sse2(short *q, const short *dq, |
16 unsigned char *pre, unsigned char *dst, | 16 unsigned char *pre, unsigned char *dst, |
17 int dst_stride, const short *dc); | 17 int dst_stride, const short *dc); |
18 | 18 |
19 void vp9_idct_dequant_dc_full_2x_sse2(short *q, const short *dq, | 19 void vp9_idct_dequant_dc_full_2x_sse2(short *q, const short *dq, |
20 unsigned char *pre, unsigned char *dst, | 20 unsigned char *pre, unsigned char *dst, |
21 int dst_stride, const short *dc); | 21 int dst_stride, const short *dc); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 q += 32; | 109 q += 32; |
110 pre += 32; | 110 pre += 32; |
111 dstv += stride * 4; | 111 dstv += stride * 4; |
112 | 112 |
113 if (((short *)(eobs))[3] & 0xfefe) | 113 if (((short *)(eobs))[3] & 0xfefe) |
114 vp9_idct_dequant_full_2x_sse2(q, dq, pre, dstv, stride, 8); | 114 vp9_idct_dequant_full_2x_sse2(q, dq, pre, dstv, stride, 8); |
115 else | 115 else |
116 vp9_idct_dequant_0_2x_sse2(q, dq, pre, dstv, stride, 8); | 116 vp9_idct_dequant_0_2x_sse2(q, dq, pre, dstv, stride, 8); |
117 } | 117 } |
OLD | NEW |