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_config.h" | 11 #include "vpx_config.h" |
12 #include "vpx_rtcd.h" | 12 #include "vp8_rtcd.h" |
13 #include "vp8/common/blockd.h" | 13 #include "vp8/common/blockd.h" |
14 | 14 |
15 extern void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q); | 15 extern void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q); |
16 | 16 |
17 void vp8_dequantize_b_mmx(BLOCKD *d, short *DQC) | 17 void vp8_dequantize_b_mmx(BLOCKD *d, short *DQC) |
18 { | 18 { |
19 short *sq = (short *) d->qcoeff; | 19 short *sq = (short *) d->qcoeff; |
20 short *dq = (short *) d->dqcoeff; | 20 short *dq = (short *) d->dqcoeff; |
21 | 21 |
22 vp8_dequantize_b_impl_mmx(sq, dq, DQC); | 22 vp8_dequantize_b_impl_mmx(sq, dq, DQC); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 vp8_dc_only_idct_add_mmx (q[16]*dq[0], dstv+4, stride, | 118 vp8_dc_only_idct_add_mmx (q[16]*dq[0], dstv+4, stride, |
119 dstv+4, stride); | 119 dstv+4, stride); |
120 ((int *)(q+16))[0] = 0; | 120 ((int *)(q+16))[0] = 0; |
121 } | 121 } |
122 | 122 |
123 q += 32; | 123 q += 32; |
124 dstv += 4*stride; | 124 dstv += 4*stride; |
125 eobs += 2; | 125 eobs += 2; |
126 } | 126 } |
127 } | 127 } |
OLD | NEW |