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

Side by Side Diff: celt/tests/test_unit_rotation.c

Issue 12388030: Update Opus to 1.0.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « celt/tests/test_unit_mdct.c ('k') | celt/tests/test_unit_types.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2008-2011 Xiph.Org Foundation
2 Written by Jean-Marc Valin */
3 /*
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions
6 are met:
7
8 - Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
10
11 - Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
13 documentation and/or other materials provided with the distribution.
14
15 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
19 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
1 #ifdef HAVE_CONFIG_H 28 #ifdef HAVE_CONFIG_H
2 #include "config.h" 29 #include "config.h"
3 #endif 30 #endif
4 31
5 #ifndef CUSTOM_MODES 32 #ifndef CUSTOM_MODES
6 #define CUSTOM_MODES 33 #define CUSTOM_MODES
7 #endif 34 #endif
8 35
9 #define CELT_C 36 #define CELT_C
10 37
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 81
55 int main(void) 82 int main(void)
56 { 83 {
57 ALLOC_STACK; 84 ALLOC_STACK;
58 test_rotation(15, 3); 85 test_rotation(15, 3);
59 test_rotation(23, 5); 86 test_rotation(23, 5);
60 test_rotation(50, 3); 87 test_rotation(50, 3);
61 test_rotation(80, 1); 88 test_rotation(80, 1);
62 return ret; 89 return ret;
63 } 90 }
OLDNEW
« no previous file with comments | « celt/tests/test_unit_mdct.c ('k') | celt/tests/test_unit_types.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698