[FFmpeg-devel] [PATCH] avcodec/dcaenc: Use ffmpeg mdct instead of own implementation

Даниил Чередник dan.cherednik at gmail.com
Sat Jan 13 01:12:55 EET 2018


Hysterically dcaenc uses own implementation of time->frequency
transformation used by psychoacoustic. But actually function named fft in
original dcaenc code is not fft. Power spectrum looks similar to mdct, and
Alexander E. Patrakov told me it is MDCT. But for me it is still a bit
strange, because of output size, and absent phase shift sensitivity. I was
thinking about MCLT. But again, result of transformation original function
was different. So I decided to use ffmpeg mdct transformation here.


Results:

I could not hear the difference between original and modified version.

I got approximately 10% performance boost.

-- 
Daniil Cherednik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-dcaenc-Use-ffmpeg-mdct-instead-of-own-implem.patch
Type: application/octet-stream
Size: 7380 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180113/cd8828c3/attachment.obj>


More information about the ffmpeg-devel mailing list