| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 "vp9/common/mips/msa/vp9_idct_msa.h" | 12 #include "vp9/common/mips/msa/vp9_idct_msa.h" |
| 12 | 13 |
| 13 void vp9_idct16_1d_rows_msa(const int16_t *input, int16_t *output) { | 14 void vp9_idct16_1d_rows_msa(const int16_t *input, int16_t *output) { |
| 14 v8i16 loc0, loc1, loc2, loc3; | 15 v8i16 loc0, loc1, loc2, loc3; |
| 15 v8i16 reg0, reg2, reg4, reg6, reg8, reg10, reg12, reg14; | 16 v8i16 reg0, reg2, reg4, reg6, reg8, reg10, reg12, reg14; |
| 16 v8i16 reg3, reg13, reg11, reg5, reg7, reg9, reg1, reg15; | 17 v8i16 reg3, reg13, reg11, reg5, reg7, reg9, reg1, reg15; |
| 17 v8i16 tmp5, tmp6, tmp7; | 18 v8i16 tmp5, tmp6, tmp7; |
| 18 | 19 |
| 19 LD_SH8(input, 16, reg0, reg1, reg2, reg3, reg4, reg5, reg6, reg7); | 20 LD_SH8(input, 16, reg0, reg1, reg2, reg3, reg4, reg5, reg6, reg7); |
| 20 input += 8; | 21 input += 8; |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 for (i = 0; i < 2; ++i) { | 546 for (i = 0; i < 2; ++i) { |
| 546 vp9_iadst16_1d_columns_addblk_msa((out_ptr + (i << 3)), | 547 vp9_iadst16_1d_columns_addblk_msa((out_ptr + (i << 3)), |
| 547 (dst + (i << 3)), dst_stride); | 548 (dst + (i << 3)), dst_stride); |
| 548 } | 549 } |
| 549 break; | 550 break; |
| 550 default: | 551 default: |
| 551 assert(0); | 552 assert(0); |
| 552 break; | 553 break; |
| 553 } | 554 } |
| 554 } | 555 } |
| OLD | NEW |