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 "vp9/common/vp9_common.h" | 15 #include "vp9/common/vp9_common.h" |
16 #include "vp9/common/vp9_blockd.h" | 16 #include "vp9/common/vp9_blockd.h" |
17 #include "vp9/common/vp9_idct.h" | 17 #include "vp9/common/vp9_idct.h" |
18 #include "vp9/common/mips/dspr2/vp9_common_dspr2.h" | 18 #include "vp9/common/mips/dspr2/vp9_common_dspr2.h" |
19 | 19 |
20 #if HAVE_DSPR2 | 20 #if HAVE_DSPR2 |
21 void vp9_idct32_1d_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, | 21 void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, |
22 int dest_stride) { | 22 int dest_stride) { |
23 int16_t step1_0, step1_1, step1_2, step1_3, step1_4, step1_5, step1_6; | 23 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; | 24 int16_t step1_7, step1_8, step1_9, step1_10, step1_11, step1_12, step1_13; |
25 int16_t step1_14, step1_15, step1_16, step1_17, step1_18, step1_19; | 25 int16_t step1_14, step1_15, step1_16, step1_17, step1_18, step1_19; |
26 int16_t step1_20, step1_21, step1_22, step1_23, step1_24, step1_25, step1_26; | 26 int16_t step1_20, step1_21, step1_22, step1_23, step1_24, step1_25, step1_26; |
27 int16_t step1_27, step1_28, step1_29, step1_30, step1_31; | 27 int16_t step1_27, step1_28, step1_29, step1_30, step1_31; |
28 int16_t step2_0, step2_1, step2_2, step2_3, step2_4, step2_5, step2_6; | 28 int16_t step2_0, step2_1, step2_2, step2_3, step2_4, step2_5, step2_6; |
29 int16_t step2_7, step2_8, step2_9, step2_10, step2_11, step2_12, step2_13; | 29 int16_t step2_7, step2_8, step2_9, step2_10, step2_11, step2_12, step2_13; |
30 int16_t step2_14, step2_15, step2_16, step2_17, step2_18, step2_19, step2_20; | 30 int16_t step2_14, step2_15, step2_16, step2_17, step2_18, step2_19, step2_20; |
31 int16_t step2_21, step2_22, step2_23, step2_24, step2_25, step2_26, step2_27; | 31 int16_t step2_21, step2_22, step2_23, step2_24, step2_25, step2_26, step2_27; |
32 int16_t step2_28, step2_29, step2_30, step2_31; | 32 int16_t step2_28, step2_29, step2_30, step2_31; |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 [temp3] "=&r" (temp3), [dest_pix1] "+r" (dest_pix1) | 1064 [temp3] "=&r" (temp3), [dest_pix1] "+r" (dest_pix1) |
1065 : [cm] "r" (cm), [dest_stride] "r" (dest_stride), | 1065 : [cm] "r" (cm), [dest_stride] "r" (dest_stride), |
1066 [step3_12] "r" (step3_12), [step3_13] "r" (step3_13), | 1066 [step3_12] "r" (step3_12), [step3_13] "r" (step3_13), |
1067 [step3_14] "r" (step3_14), [step3_15] "r" (step3_15) | 1067 [step3_14] "r" (step3_14), [step3_15] "r" (step3_15) |
1068 ); | 1068 ); |
1069 | 1069 |
1070 input += 32; | 1070 input += 32; |
1071 } | 1071 } |
1072 } | 1072 } |
1073 #endif // #if HAVE_DSPR2 | 1073 #endif // #if HAVE_DSPR2 |
OLD | NEW |