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

Side by Side Diff: source/libvpx/vp9/common/mips/dspr2/vp9_itrans8_dspr2.c

Issue 1162573005: 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) 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 #include <stdio.h> 12 #include <stdio.h>
13 13
14 #include "./vpx_config.h" 14 #include "./vpx_config.h"
15 #include "./vp9_rtcd.h" 15 #include "./vp9_rtcd.h"
16 #include "vpx_ports/mem.h"
16 #include "vp9/common/vp9_common.h" 17 #include "vp9/common/vp9_common.h"
17 #include "vp9/common/vp9_blockd.h" 18 #include "vp9/common/vp9_blockd.h"
18 #include "vp9/common/vp9_idct.h" 19 #include "vp9/common/vp9_idct.h"
19 #include "vp9/common/mips/dspr2/vp9_common_dspr2.h" 20 #include "vp9/common/mips/dspr2/vp9_common_dspr2.h"
20 21
21 #if HAVE_DSPR2 22 #if HAVE_DSPR2
22 static void idct8_rows_dspr2(const int16_t *input, int16_t *output, 23 static void idct8_rows_dspr2(const int16_t *input, int16_t *output,
23 uint32_t no_rows) { 24 uint32_t no_rows) {
24 int step1_0, step1_1, step1_2, step1_3, step1_4, step1_5, step1_6, step1_7; 25 int step1_0, step1_1, step1_2, step1_3, step1_4, step1_5, step1_6, step1_7;
25 const int const_2_power_13 = 8192; 26 const int const_2_power_13 = 8192;
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 737
737 : [t1] "=&r" (t1), [t2] "=&r" (t2), 738 : [t1] "=&r" (t1), [t2] "=&r" (t2),
738 [vector_1] "=&r" (vector_1), [vector_2] "=&r" (vector_2), 739 [vector_1] "=&r" (vector_1), [vector_2] "=&r" (vector_2),
739 [dest] "+r" (dest) 740 [dest] "+r" (dest)
740 : [dest_stride] "r" (dest_stride), [vector_a1] "r" (vector_a1) 741 : [dest_stride] "r" (dest_stride), [vector_a1] "r" (vector_a1)
741 ); 742 );
742 } 743 }
743 } 744 }
744 } 745 }
745 #endif // #if HAVE_DSPR2 746 #endif // #if HAVE_DSPR2
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698