OSDN Git Service

avcodec: split mp2 encoder into float and fixed
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 16 Nov 2013 12:15:35 +0000 (13:15 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Dec 2013 20:12:00 +0000 (21:12 +0100)
commit04e06cdf7d35640466d6dcf88cb5bc86a7d0ee18
treed82c430983fbb91d6c2fd8b5a1a20bef56d27ff8
parent9695fb2622192429db95ec04960544e5e6c6743c
avcodec: split mp2 encoder into float and fixed

This makes the USE_FLOATS == 0 available to the end user
More float optimizations can easily be added as well now
common code should be factored out into a common file once all
fixed point & floating point optimizations are done, this is to
avoid having to move code back and forth between files.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/mpegaudioenc_fixed.c [new file with mode: 0644]
libavcodec/mpegaudioenc_float.c [new file with mode: 0644]
libavcodec/mpegaudioenc_template.c [moved from libavcodec/mpegaudioenc.c with 96% similarity]
libavcodec/version.h
tests/fate/acodec.mak
tests/ref/acodec/mp2fixed [new file with mode: 0644]