Mercurial > libavcodec.hg
comparison cook.c @ 7547:8226017a65ae libavcodec
mdct wrapper function to match fft
author | lorenm |
---|---|
date | Tue, 12 Aug 2008 00:38:30 +0000 |
parents | 97383e012cb9 |
children | ef9f95604644 |
comparison
equal
deleted
inserted
replaced
7546:97383e012cb9 | 7547:8226017a65ae |
---|---|
731 float *buffer0 = q->mono_mdct_output; | 731 float *buffer0 = q->mono_mdct_output; |
732 float *buffer1 = q->mono_mdct_output + q->samples_per_channel; | 732 float *buffer1 = q->mono_mdct_output + q->samples_per_channel; |
733 int i; | 733 int i; |
734 | 734 |
735 /* Inverse modified discrete cosine transform */ | 735 /* Inverse modified discrete cosine transform */ |
736 q->mdct_ctx.fft.imdct_calc(&q->mdct_ctx, q->mono_mdct_output, inbuffer); | 736 ff_imdct_calc(&q->mdct_ctx, q->mono_mdct_output, inbuffer); |
737 | 737 |
738 q->imlt_window (q, buffer1, gains_ptr, previous_buffer); | 738 q->imlt_window (q, buffer1, gains_ptr, previous_buffer); |
739 | 739 |
740 /* Apply gain profile */ | 740 /* Apply gain profile */ |
741 for (i = 0; i < 8; i++) { | 741 for (i = 0; i < 8; i++) { |