Mercurial > libavcodec.hg
comparison psymodel.c @ 12442:94b578d0af10 libavcodec
psymodel: Const correct FFPsyWindowInfo.
| author | alexc |
|---|---|
| date | Mon, 30 Aug 2010 23:48:35 +0000 |
| parents | a93946f63075 |
| children |
comparison
equal
deleted
inserted
replaced
| 12441:a3aca8bcbaf4 | 12442:94b578d0af10 |
|---|---|
| 51 { | 51 { |
| 52 return ctx->model->window(ctx, audio, la, channel, prev_type); | 52 return ctx->model->window(ctx, audio, la, channel, prev_type); |
| 53 } | 53 } |
| 54 | 54 |
| 55 void ff_psy_set_band_info(FFPsyContext *ctx, int channel, | 55 void ff_psy_set_band_info(FFPsyContext *ctx, int channel, |
| 56 const float *coeffs, FFPsyWindowInfo *wi) | 56 const float *coeffs, const FFPsyWindowInfo *wi) |
| 57 { | 57 { |
| 58 ctx->model->analyze(ctx, channel, coeffs, wi); | 58 ctx->model->analyze(ctx, channel, coeffs, wi); |
| 59 } | 59 } |
| 60 | 60 |
| 61 av_cold void ff_psy_end(FFPsyContext *ctx) | 61 av_cold void ff_psy_end(FFPsyContext *ctx) |
