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 | 11 |
12 #include "vpx_config.h" | 12 #include "vpx_config.h" |
13 #include "vpx_rtcd.h" | 13 #include "vp8_rtcd.h" |
14 #include "vp8/common/blockd.h" | 14 #include "vp8/common/blockd.h" |
15 #include "vpx_mem/vpx_mem.h" | 15 #include "vpx_mem/vpx_mem.h" |
16 | 16 |
17 void vp8_dequantize_b_c(BLOCKD *d, short *DQC) | 17 void vp8_dequantize_b_c(BLOCKD *d, short *DQC) |
18 { | 18 { |
19 int i; | 19 int i; |
20 short *DQ = d->dqcoeff; | 20 short *DQ = d->dqcoeff; |
21 short *Q = d->qcoeff; | 21 short *Q = d->qcoeff; |
22 | 22 |
23 for (i = 0; i < 16; i++) | 23 for (i = 0; i < 16; i++) |
(...skipping 10 matching lines...) Expand all Loading... |
34 for (i = 0; i < 16; i++) | 34 for (i = 0; i < 16; i++) |
35 { | 35 { |
36 input[i] = dq[i] * input[i]; | 36 input[i] = dq[i] * input[i]; |
37 } | 37 } |
38 | 38 |
39 vp8_short_idct4x4llm_c(input, dest, stride, dest, stride); | 39 vp8_short_idct4x4llm_c(input, dest, stride, dest, stride); |
40 | 40 |
41 vpx_memset(input, 0, 32); | 41 vpx_memset(input, 0, 32); |
42 | 42 |
43 } | 43 } |
OLD | NEW |