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