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 #include "vp9/decoder/x86/vp9_idct_mmx.h" | 14 #include "vp9/decoder/x86/vp9_idct_mmx.h" |
15 | 15 |
16 void vp9_dequant_dc_idct_add_y_block_mmx(short *q, const short *dq, | 16 void vp9_dequant_dc_idct_add_y_block_mmx(short *q, const short *dq, |
17 unsigned char *pre, | 17 unsigned char *pre, |
18 unsigned char *dst, | 18 unsigned char *dst, |
19 int stride, unsigned short *eobs, | 19 int stride, unsigned short *eobs, |
20 const short *dc) { | 20 const short *dc) { |
21 int i; | 21 int i; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 vp9_dc_only_idct_add_mmx(q[16]*dq[0], pre + 4, dstv + 4, 8, stride); | 136 vp9_dc_only_idct_add_mmx(q[16]*dq[0], pre + 4, dstv + 4, 8, stride); |
137 ((int *)(q + 16))[0] = 0; | 137 ((int *)(q + 16))[0] = 0; |
138 } | 138 } |
139 | 139 |
140 q += 32; | 140 q += 32; |
141 pre += 32; | 141 pre += 32; |
142 dstv += 4 * stride; | 142 dstv += 4 * stride; |
143 eobs += 2; | 143 eobs += 2; |
144 } | 144 } |
145 } | 145 } |
OLD | NEW |