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

Side by Side Diff: silk/tables_LTP.c

Issue 107243004: Updating Opus to release 1.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years 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.h ('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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 2, 0, 9, 10, 88 260 2, 0, 9, 10, 88
261 } 261 }
262 }; 262 };
263 263
264 const opus_int8 * const silk_LTP_vq_ptrs_Q7[NB_LTP_CBKS] = { 264 const opus_int8 * const silk_LTP_vq_ptrs_Q7[NB_LTP_CBKS] = {
265 (opus_int8 *)&silk_LTP_gain_vq_0[0][0], 265 (opus_int8 *)&silk_LTP_gain_vq_0[0][0],
266 (opus_int8 *)&silk_LTP_gain_vq_1[0][0], 266 (opus_int8 *)&silk_LTP_gain_vq_1[0][0],
267 (opus_int8 *)&silk_LTP_gain_vq_2[0][0] 267 (opus_int8 *)&silk_LTP_gain_vq_2[0][0]
268 }; 268 };
269 269
270 /* Maximum frequency-dependent response of the pitch taps above,
271 computed as max(abs(freqz(taps))) */
272 static const opus_uint8 silk_LTP_gain_vq_0_gain[8] = {
273 46, 2, 90, 87, 93, 91, 82, 98
274 };
275
276 static const opus_uint8 silk_LTP_gain_vq_1_gain[16] = {
277 109, 120, 118, 12, 113, 115, 117, 119,
278 99, 59, 87, 111, 63, 111, 112, 80
279 };
280
281 static const opus_uint8 silk_LTP_gain_vq_2_gain[32] = {
282 126, 124, 125, 124, 129, 121, 126, 23,
283 132, 127, 127, 127, 126, 127, 122, 133,
284 130, 134, 101, 118, 119, 145, 126, 86,
285 124, 120, 123, 119, 170, 173, 107, 109
286 };
287
288 const opus_uint8 * const silk_LTP_vq_gain_ptrs_Q7[NB_LTP_CBKS] = {
289 &silk_LTP_gain_vq_0_gain[0],
290 &silk_LTP_gain_vq_1_gain[0],
291 &silk_LTP_gain_vq_2_gain[0]
292 };
293
270 const opus_int8 silk_LTP_vq_sizes[NB_LTP_CBKS] = { 294 const opus_int8 silk_LTP_vq_sizes[NB_LTP_CBKS] = {
271 8, 16, 32 295 8, 16, 32
272 }; 296 };
OLDNEW
« no previous file with comments | « silk/tables.h ('k') | silk/tuning_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698