From 04e06cdf7d35640466d6dcf88cb5bc86a7d0ee18 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 16 Nov 2013 13:15:35 +0100 Subject: 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 --- tests/fate/acodec.mak | 4 ++++ tests/ref/acodec/mp2fixed | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 tests/ref/acodec/mp2fixed (limited to 'tests') diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak index 78508bc..10d4392 100644 --- a/tests/fate/acodec.mak +++ b/tests/fate/acodec.mak @@ -68,6 +68,10 @@ FATE_ACODEC-$(call ENCDEC, MP2, MP2 MP3) += fate-acodec-mp2 fate-acodec-mp2: FMT = mp2 fate-acodec-mp2: CMP_SHIFT = -1924 +FATE_ACODEC-$(call ENCDEC, MP2FIXED MP2 , MP2 MP3) += fate-acodec-mp2fixed +fate-acodec-mp2fixed: FMT = mp2 +fate-acodec-mp2fixed: CMP_SHIFT = -1924 + FATE_ACODEC-$(call ENCDEC, ALAC, MOV) += fate-acodec-alac fate-acodec-alac: FMT = mov fate-acodec-alac: CODEC = alac -compression_level 1 diff --git a/tests/ref/acodec/mp2fixed b/tests/ref/acodec/mp2fixed new file mode 100644 index 0000000..0203014 --- /dev/null +++ b/tests/ref/acodec/mp2fixed @@ -0,0 +1,4 @@ +28fbc7485c7939f40368f79adccb3e3d *tests/data/fate/acodec-mp2fixed.mp2 +96130 tests/data/fate/acodec-mp2fixed.mp2 +87461bd4ce4b0e0cbbf6c43621baf261 *tests/data/fate/acodec-mp2fixed.out.wav +stddev: 4384.26 PSNR: 23.49 MAXDIFF:52632 bytes: 1058400/ 1057916 -- cgit v1.1