Mercurial > libavcodec.hg
comparison aacpsy.c @ 12442:94b578d0af10 libavcodec
psymodel: Const correct FFPsyWindowInfo.
author | alexc |
---|---|
date | Mon, 30 Aug 2010 23:48:35 +0000 |
parents | ae72506d4c2a |
children |
comparison
equal
deleted
inserted
replaced
12441:a3aca8bcbaf4 | 12442:94b578d0af10 |
---|---|
385 | 385 |
386 /** | 386 /** |
387 * Calculate band thresholds as suggested in 3GPP TS26.403 | 387 * Calculate band thresholds as suggested in 3GPP TS26.403 |
388 */ | 388 */ |
389 static void psy_3gpp_analyze(FFPsyContext *ctx, int channel, | 389 static void psy_3gpp_analyze(FFPsyContext *ctx, int channel, |
390 const float *coefs, FFPsyWindowInfo *wi) | 390 const float *coefs, const FFPsyWindowInfo *wi) |
391 { | 391 { |
392 AacPsyContext *pctx = (AacPsyContext*) ctx->model_priv_data; | 392 AacPsyContext *pctx = (AacPsyContext*) ctx->model_priv_data; |
393 AacPsyChannel *pch = &pctx->ch[channel]; | 393 AacPsyChannel *pch = &pctx->ch[channel]; |
394 int start = 0; | 394 int start = 0; |
395 int i, w, g; | 395 int i, w, g; |