shithub: mp3dec

Download patch

ref: d3ef64a80d57116b2eb142662d7292c380650311
parent: 53e84cd27d3f3e81b3ac46f95481261e1af6276f
author: lieff <[email protected]>
date: Fri Jan 12 07:15:58 EST 2018

add test vectors to repo

--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -6,17 +6,12 @@
 
 set -e
 
-if [ ! -d "fate-suite.ffmpeg.org" ]; then
-  wget -np -r --level=1 http://fate-suite.ffmpeg.org/mp3-conformance/
-  cp vectors/l3-he_mode16.pcm fate-suite.ffmpeg.org/mp3-conformance/he_mode.pcm
-fi
-
 gcc -O2 -g -Wall -Wextra -o minimp3 minimp3_test.c -lm
 
 APP=./minimp3
 
 set +e
-for i in fate-suite.ffmpeg.org/mp3-conformance/*.bit; do
+for i in vectors/*.bit; do
 $APP $i ${i%.*}.pcm
 retval=$?
 echo $i exited with code=$retval
--- a/scripts/perf.sh
+++ b/scripts/perf.sh
@@ -6,7 +6,7 @@
 
 APP=./minimp3
 
-for i in fate-suite.ffmpeg.org/mp3-conformance/*.bit; do
+for i in vectors/*.bit; do
 perf stat -e cycles $APP $i ${i%.*}.pcm
 done
 
binary files /dev/null b/vectors/compl.bit differ
binary files /dev/null b/vectors/compl.pcm differ
binary files /dev/null b/vectors/he_32khz.bit differ
binary files /dev/null b/vectors/he_32khz.pcm differ
binary files /dev/null b/vectors/he_44khz.bit differ
binary files /dev/null b/vectors/he_44khz.pcm differ
binary files /dev/null b/vectors/he_48khz.bit differ
binary files /dev/null b/vectors/he_48khz.pcm differ
binary files /dev/null b/vectors/he_free.bit differ
binary files /dev/null b/vectors/he_free.pcm differ
binary files /dev/null b/vectors/he_mode.bit differ
binary files /dev/null b/vectors/he_mode.pcm differ
binary files /dev/null b/vectors/hecommon.bit differ
binary files /dev/null b/vectors/hecommon.pcm differ
binary files /dev/null b/vectors/si.bit differ
binary files /dev/null b/vectors/si.pcm differ
binary files /dev/null b/vectors/si_block.bit differ
binary files /dev/null b/vectors/si_block.pcm differ
binary files /dev/null b/vectors/si_huff.bit differ
binary files /dev/null b/vectors/si_huff.pcm differ
binary files /dev/null b/vectors/sin1k0db.bit differ
binary files /dev/null b/vectors/sin1k0db.pcm differ