Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: source/libvpx/vp9/common/mips/msa/vp9_idct16x16_msa.c

Issue 1169543007: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/mips/msa/vp9_convolve_msa.h ('k') | source/libvpx/vp9/common/mips/msa/vp9_idct4x4_msa.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698