[FFmpeg-devel] [PATCH] RDFT for Bink audio

Alex Converse alex.converse
Thu Jan 15 17:52:20 CET 2009


On Thu, Jan 15, 2009 at 11:18 AM, Daniel Verkamp <daniel at drv.nu> wrote:
> On Thu, Jan 15, 2009 at 12:49 AM, Alex Converse <alex.converse at gmail.com> wrote:
>> Hi,
>>
>> Attached is an implementation of the Real Discrete Fourier Transform as
>> required for Bink Audio.
>
> Thanks!
>
> Tested with Bink audio decoder on files using RDFT and it works fine.
>
> Nitpicking:
>
> +/**
> Trailing whitespace
>

Fixed

> +    if (ff_fft_init(&s->fft, nbits-1, inverse>0) < 0)
> The meaning of inverse could be changed to match the FFT (0 or 1) for
> consistency's sake.  I didn't realize it was different when I wrote
> the wrappers.
>

Fixed

> +/** Map one real FFT into two parallel real even and odd FFTs. Then interleaved
> interleaved -> interleave
>

Fixed

--Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdft.diff
Type: text/x-diff
Size: 5814 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090115/df94d220/attachment.diff>



More information about the ffmpeg-devel mailing list