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

Side by Side Diff: silk/tables_other.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 | « silk/tables_NLSF_CB_WB.c ('k') | silk/tuning_parameters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*********************************************************************** 1 /***********************************************************************
2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. 2 Copyright (c) 2006-2011, Skype Limited. All rights reserved.
3 Redistribution and use in source and binary forms, with or without 3 Redistribution and use in source and binary forms, with or without
4 modification, are permitted provided that the following conditions 4 modification, are permitted provided that the following conditions
5 are met: 5 are met:
6 - Redistributions of source code must retain the above copyright notice, 6 - Redistributions of source code must retain the above copyright notice,
7 this list of conditions and the following disclaimer. 7 this list of conditions and the following disclaimer.
8 - Redistributions in binary form must reproduce the above copyright 8 - Redistributions in binary form must reproduce the above copyright
9 notice, this list of conditions and the following disclaimer in the 9 notice, this list of conditions and the following disclaimer in the
10 documentation and/or other materials provided with the distribution. 10 documentation and/or other materials provided with the distribution.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const opus_uint8 silk_stereo_pred_joint_iCDF[ 25 ] = { 60 const opus_uint8 silk_stereo_pred_joint_iCDF[ 25 ] = {
61 249, 247, 246, 245, 244, 61 249, 247, 246, 245, 244,
62 234, 210, 202, 201, 200, 62 234, 210, 202, 201, 200,
63 197, 174, 82, 59, 56, 63 197, 174, 82, 59, 56,
64 55, 54, 46, 22, 12, 64 55, 54, 46, 22, 12,
65 11, 10, 9, 7, 0 65 11, 10, 9, 7, 0
66 }; 66 };
67 const opus_uint8 silk_stereo_only_code_mid_iCDF[ 2 ] = { 64, 0 }; 67 const opus_uint8 silk_stereo_only_code_mid_iCDF[ 2 ] = { 64, 0 };
68 68
69 /* Tables for LBRR flags */ 69 /* Tables for LBRR flags */
70 const opus_uint8 silk_LBRR_flags_2_iCDF[ 3 ] = { 203, 150, 0 }; 70 static const opus_uint8 silk_LBRR_flags_2_iCDF[ 3 ] = { 203, 150, 0 };
71 const opus_uint8 silk_LBRR_flags_3_iCDF[ 7 ] = { 215, 195, 166, 125, 110, 82, 0 }; 71 static const opus_uint8 silk_LBRR_flags_3_iCDF[ 7 ] = { 215, 195, 166, 125, 110, 82, 0 };
72 const opus_uint8 * const silk_LBRR_flags_iCDF_ptr[ 2 ] = { 72 const opus_uint8 * const silk_LBRR_flags_iCDF_ptr[ 2 ] = {
73 silk_LBRR_flags_2_iCDF, 73 silk_LBRR_flags_2_iCDF,
74 silk_LBRR_flags_3_iCDF 74 silk_LBRR_flags_3_iCDF
75 }; 75 };
76 76
77 /* Table for LSB coding */ 77 /* Table for LSB coding */
78 const opus_uint8 silk_lsb_iCDF[ 2 ] = { 120, 0 }; 78 const opus_uint8 silk_lsb_iCDF[ 2 ] = { 120, 0 };
79 79
80 /* Tables for LTPScale */ 80 /* Tables for LTPScale */
81 const opus_uint8 silk_LTPscale_iCDF[ 3 ] = { 128, 64, 0 }; 81 const opus_uint8 silk_LTPscale_iCDF[ 3 ] = { 128, 64, 0 };
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 { 411067935, 169683996 }, 129 { 411067935, 169683996 },
130 { 306733530, 116694253 }, 130 { 306733530, 116694253 },
131 { 185807084, 77959395 }, 131 { 185807084, 77959395 },
132 { 35497197, 57401098 } 132 { 35497197, 57401098 }
133 }; 133 };
134 134
135 #ifdef __cplusplus 135 #ifdef __cplusplus
136 } 136 }
137 #endif 137 #endif
138 138
OLDNEW
« no previous file with comments | « silk/tables_NLSF_CB_WB.c ('k') | silk/tuning_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698