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

Side by Side Diff: celt/quant_bands.h

Issue 28553003: Updating Opus to a pre-release of 1.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Removing failing file Created 7 years, 2 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/pitch.c ('k') | celt/quant_bands.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) 2007-2008 CSIRO 1 /* Copyright (c) 2007-2008 CSIRO
2 Copyright (c) 2007-2009 Xiph.Org Foundation 2 Copyright (c) 2007-2009 Xiph.Org Foundation
3 Written by Jean-Marc Valin */ 3 Written by Jean-Marc Valin */
4 /* 4 /*
5 Redistribution and use in source and binary forms, with or without 5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions 6 modification, are permitted provided that the following conditions
7 are met: 7 are met:
8 8
9 - Redistributions of source code must retain the above copyright 9 - Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer. 10 notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 28
29 #ifndef QUANT_BANDS 29 #ifndef QUANT_BANDS
30 #define QUANT_BANDS 30 #define QUANT_BANDS
31 31
32 #include "arch.h" 32 #include "arch.h"
33 #include "modes.h" 33 #include "modes.h"
34 #include "entenc.h" 34 #include "entenc.h"
35 #include "entdec.h" 35 #include "entdec.h"
36 #include "mathops.h" 36 #include "mathops.h"
37 37
38 #ifdef FIXED_POINT
39 extern const signed char eMeans[25];
40 #else
41 extern const opus_val16 eMeans[25];
42 #endif
43
38 void amp2Log2(const CELTMode *m, int effEnd, int end, 44 void amp2Log2(const CELTMode *m, int effEnd, int end,
39 celt_ener *bandE, opus_val16 *bandLogE, int C); 45 celt_ener *bandE, opus_val16 *bandLogE, int C);
40 46
41 void log2Amp(const CELTMode *m, int start, int end, 47 void log2Amp(const CELTMode *m, int start, int end,
42 celt_ener *eBands, const opus_val16 *oldEBands, int C); 48 celt_ener *eBands, const opus_val16 *oldEBands, int C);
43 49
44 void quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd, 50 void quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd,
45 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, 51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
46 opus_val16 *error, ec_enc *enc, int C, int LM, 52 opus_val16 *error, ec_enc *enc, int C, int LM,
47 int nbAvailableBytes, int force_intra, opus_val32 *delayedIntra, 53 int nbAvailableBytes, int force_intra, opus_val32 *delayedIntra,
48 int two_pass, int loss_rate); 54 int two_pass, int loss_rate, int lfe);
49 55
50 void quant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBa nds, opus_val16 *error, int *fine_quant, ec_enc *enc, int C); 56 void quant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBa nds, opus_val16 *error, int *fine_quant, ec_enc *enc, int C);
51 57
52 void quant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *ol dEBands, opus_val16 *error, int *fine_quant, int *fine_priority, int bits_left, ec_enc *enc, int C); 58 void quant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *ol dEBands, opus_val16 *error, int *fine_quant, int *fine_priority, int bits_left, ec_enc *enc, int C);
53 59
54 void unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *ol dEBands, int intra, ec_dec *dec, int C, int LM); 60 void unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *ol dEBands, int intra, ec_dec *dec, int C, int LM);
55 61
56 void unquant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldE Bands, int *fine_quant, ec_dec *dec, int C); 62 void unquant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldE Bands, int *fine_quant, ec_dec *dec, int C);
57 63
58 void unquant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 * oldEBands, int *fine_quant, int *fine_priority, int bits_left, ec_dec *dec, int C); 64 void unquant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 * oldEBands, int *fine_quant, int *fine_priority, int bits_left, ec_dec *dec, int C);
59 65
60 #endif /* QUANT_BANDS */ 66 #endif /* QUANT_BANDS */
OLDNEW
« no previous file with comments | « celt/pitch.c ('k') | celt/quant_bands.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698