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

Side by Side Diff: celt/celt.h

Issue 882843002: Update to opus-HEAD-66611f1. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/opus.git@master
Patch Set: Add the contents of Makefile.mips back. Created 5 years, 10 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
« no previous file with comments | « celt/bands.c ('k') | celt/celt.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 Copyright (c) 2008 Gregory Maxwell 3 Copyright (c) 2008 Gregory Maxwell
4 Written by Jean-Marc Valin and Gregory Maxwell */ 4 Written by Jean-Marc Valin and Gregory Maxwell */
5 /** 5 /**
6 @file celt.h 6 @file celt.h
7 @brief Contains all the functions for encoding and decoding audio 7 @brief Contains all the functions for encoding and decoding audio
8 */ 8 */
9 9
10 /* 10 /*
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 128
129 129
130 /* Decoder stuff */ 130 /* Decoder stuff */
131 131
132 int celt_decoder_get_size(int channels); 132 int celt_decoder_get_size(int channels);
133 133
134 134
135 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels); 135 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels);
136 136
137 int celt_decode_with_ec(OpusCustomDecoder * OPUS_RESTRICT st, const unsigned cha r *data, int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec); 137 int celt_decode_with_ec(OpusCustomDecoder * OPUS_RESTRICT st, const unsigned cha r *data,
138 int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum);
138 139
139 #define celt_encoder_ctl opus_custom_encoder_ctl 140 #define celt_encoder_ctl opus_custom_encoder_ctl
140 #define celt_decoder_ctl opus_custom_decoder_ctl 141 #define celt_decoder_ctl opus_custom_decoder_ctl
141 142
142 143
143 #ifdef CUSTOM_MODES 144 #ifdef CUSTOM_MODES
144 #define OPUS_CUSTOM_NOSTATIC 145 #define OPUS_CUSTOM_NOSTATIC
145 #else 146 #else
146 #define OPUS_CUSTOM_NOSTATIC static OPUS_INLINE 147 #define OPUS_CUSTOM_NOSTATIC static OPUS_INLINE
147 #endif 148 #endif
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void celt_preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RES TRICT inp, 199 void celt_preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RES TRICT inp,
199 int N, int CC, int upsample, const opus_val16 *coef, cel t_sig *mem, int clip); 200 int N, int CC, int upsample, const opus_val16 *coef, cel t_sig *mem, int clip);
200 201
201 void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N, 202 void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N,
202 opus_val16 g0, opus_val16 g1, int tapset0, int tapset1, 203 opus_val16 g0, opus_val16 g1, int tapset0, int tapset1,
203 const opus_val16 *window, int overlap); 204 const opus_val16 *window, int overlap);
204 205
205 void init_caps(const CELTMode *m,int *cap,int LM,int C); 206 void init_caps(const CELTMode *m,int *cap,int LM,int C);
206 207
207 #ifdef RESYNTH 208 #ifdef RESYNTH
208 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, c onst opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch); 209 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, c onst opus_val16 *coef, celt_sig *mem);
209 210 void celt_synthesis(const CELTMode *mode, celt_norm *X, celt_sig * out_syn[],
210 void compute_inv_mdcts(const CELTMode *mode, int shortBlocks, celt_sig *X, 211 opus_val16 *oldBandE, int start, int effEnd, int C, int CC, int isTransien t,
211 celt_sig * OPUS_RESTRICT out_mem[], int C, int LM); 212 int LM, int downsample, int silence);
212 #endif 213 #endif
213 214
214 #ifdef __cplusplus 215 #ifdef __cplusplus
215 } 216 }
216 #endif 217 #endif
217 218
218 #endif /* CELT_H */ 219 #endif /* CELT_H */
OLDNEW
« no previous file with comments | « celt/bands.c ('k') | celt/celt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698