]> git.sesse.net Git - ffmpeg/commit
vorbisenc: Separate copying audio samples from windowing
authorTyler Jones <tdjones879@gmail.com>
Wed, 14 Jun 2017 20:58:22 +0000 (14:58 -0600)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Thu, 15 Jun 2017 15:42:49 +0000 (16:42 +0100)
commit5a2ad7ede33b5d63c1f1b1313a218da62e1c0d48
treec0ac2fb2182b09a816af294add9cbf0691dc279e
parent9b667f609c509e84ae6ef496edcfb6c8b83c4a38
vorbisenc: Separate copying audio samples from windowing

Audio samples are shifted around when copying from the frame queue so that
analysis can be done without negatively impacting calculation of the MDCT.

Window coefficients are applied to the current two overlapped windows
simultaneously instead of applying overlap for the next frame ahead of time.
This improves readability when applying windows of varying lengths.

Signed-off-by: Tyler Jones <tdjones879@gmail.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/vorbisenc.c