OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 <assert.h> | 11 #include <assert.h> |
12 | 12 |
13 #include "./vpx_config.h" | 13 #include "./vpx_config.h" |
14 #include "./vp9_rtcd.h" | 14 #include "./vp9_rtcd.h" |
| 15 #include "vpx_ports/mem.h" |
15 #include "vp9/common/vp9_common.h" | 16 #include "vp9/common/vp9_common.h" |
16 #include "vp9/common/vp9_blockd.h" | 17 #include "vp9/common/vp9_blockd.h" |
17 #include "vp9/common/vp9_idct.h" | 18 #include "vp9/common/vp9_idct.h" |
18 #include "vp9/common/mips/dspr2/vp9_common_dspr2.h" | 19 #include "vp9/common/mips/dspr2/vp9_common_dspr2.h" |
19 | 20 |
20 #if HAVE_DSPR2 | 21 #if HAVE_DSPR2 |
21 void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, | 22 void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, |
22 int dest_stride) { | 23 int dest_stride) { |
23 int16_t step1_0, step1_1, step1_2, step1_3, step1_4, step1_5, step1_6; | 24 int16_t step1_0, step1_1, step1_2, step1_3, step1_4, step1_5, step1_6; |
24 int16_t step1_7, step1_8, step1_9, step1_10, step1_11, step1_12, step1_13; | 25 int16_t step1_7, step1_8, step1_9, step1_10, step1_11, step1_12, step1_13; |
(...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 [temp3] "=&r" (temp3), [dest_pix1] "+r" (dest_pix1) | 1065 [temp3] "=&r" (temp3), [dest_pix1] "+r" (dest_pix1) |
1065 : [cm] "r" (cm), [dest_stride] "r" (dest_stride), | 1066 : [cm] "r" (cm), [dest_stride] "r" (dest_stride), |
1066 [step3_12] "r" (step3_12), [step3_13] "r" (step3_13), | 1067 [step3_12] "r" (step3_12), [step3_13] "r" (step3_13), |
1067 [step3_14] "r" (step3_14), [step3_15] "r" (step3_15) | 1068 [step3_14] "r" (step3_14), [step3_15] "r" (step3_15) |
1068 ); | 1069 ); |
1069 | 1070 |
1070 input += 32; | 1071 input += 32; |
1071 } | 1072 } |
1072 } | 1073 } |
1073 #endif // #if HAVE_DSPR2 | 1074 #endif // #if HAVE_DSPR2 |
OLD | NEW |