tests/audiomatch: also print signal vs reference length
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 22 Mar 2016 08:59:07 +0000 (09:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 30 Mar 2016 01:37:56 +0000 (03:37 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
48 files changed:
tests/audiomatch.c
tests/ref/fate/audiomatch-afconvert-16000-mono-he-adts
tests/ref/fate/audiomatch-afconvert-16000-mono-he-m4a
tests/ref/fate/audiomatch-afconvert-16000-mono-lc-adts
tests/ref/fate/audiomatch-afconvert-16000-mono-lc-m4a
tests/ref/fate/audiomatch-afconvert-16000-stereo-he-adts
tests/ref/fate/audiomatch-afconvert-16000-stereo-he-m4a
tests/ref/fate/audiomatch-afconvert-16000-stereo-he2-adts
tests/ref/fate/audiomatch-afconvert-16000-stereo-he2-m4a
tests/ref/fate/audiomatch-afconvert-16000-stereo-lc-adts
tests/ref/fate/audiomatch-afconvert-16000-stereo-lc-m4a
tests/ref/fate/audiomatch-afconvert-44100-mono-he-adts
tests/ref/fate/audiomatch-afconvert-44100-mono-he-m4a
tests/ref/fate/audiomatch-afconvert-44100-mono-lc-adts
tests/ref/fate/audiomatch-afconvert-44100-mono-lc-m4a
tests/ref/fate/audiomatch-afconvert-44100-stereo-he-adts
tests/ref/fate/audiomatch-afconvert-44100-stereo-he-m4a
tests/ref/fate/audiomatch-afconvert-44100-stereo-he2-adts
tests/ref/fate/audiomatch-afconvert-44100-stereo-he2-m4a
tests/ref/fate/audiomatch-afconvert-44100-stereo-lc-adts
tests/ref/fate/audiomatch-afconvert-44100-stereo-lc-m4a
tests/ref/fate/audiomatch-dolby-44100-mono-he-mp4
tests/ref/fate/audiomatch-dolby-44100-mono-lc-mp4
tests/ref/fate/audiomatch-dolby-44100-stereo-he-mp4
tests/ref/fate/audiomatch-dolby-44100-stereo-he2-mp4
tests/ref/fate/audiomatch-dolby-44100-stereo-lc-mp4
tests/ref/fate/audiomatch-faac-16000-mono-lc-adts
tests/ref/fate/audiomatch-faac-16000-mono-lc-m4a
tests/ref/fate/audiomatch-faac-16000-stereo-lc-adts
tests/ref/fate/audiomatch-faac-16000-stereo-lc-m4a
tests/ref/fate/audiomatch-faac-44100-mono-lc-adts
tests/ref/fate/audiomatch-faac-44100-mono-lc-m4a
tests/ref/fate/audiomatch-faac-44100-stereo-lc-adts
tests/ref/fate/audiomatch-faac-44100-stereo-lc-m4a
tests/ref/fate/audiomatch-nero-16000-mono-he-m4a
tests/ref/fate/audiomatch-nero-16000-mono-lc-m4a
tests/ref/fate/audiomatch-nero-16000-stereo-he-m4a
tests/ref/fate/audiomatch-nero-16000-stereo-he2-m4a
tests/ref/fate/audiomatch-nero-16000-stereo-lc-m4a
tests/ref/fate/audiomatch-nero-44100-mono-he-m4a
tests/ref/fate/audiomatch-nero-44100-mono-lc-m4a
tests/ref/fate/audiomatch-nero-44100-stereo-he-m4a
tests/ref/fate/audiomatch-nero-44100-stereo-he2-m4a
tests/ref/fate/audiomatch-nero-44100-stereo-lc-m4a
tests/ref/fate/audiomatch-quicktime7-44100-stereo-lc-mp4
tests/ref/fate/audiomatch-quicktimeX-44100-stereo-lc-m4a
tests/ref/fate/audiomatch-square-aac
tests/ref/fate/audiomatch-square-mp3

index 6d181cf..e2d6c55 100644 (file)
@@ -106,5 +106,5 @@ int main(int argc, char **argv){
             bestpos = pos;
         }
     }
-    printf("presig: %d postsig:%d c:%7.4f\n", bestpos, datlen - siglen - bestpos, bestc / sigamp);
+    printf("presig: %d postsig:%d c:%7.4f lenerr:%d\n", bestpos, datlen - siglen - bestpos, bestc / sigamp, datlen - siglen);
 }
index 53d432e..698c196 100644 (file)
@@ -1 +1 @@
-presig: 5569 postsig:-1609 c: 0.9702
+presig: 5569 postsig:-1609 c: 0.9702 lenerr:3960
index 3345722..dfc030e 100644 (file)
@@ -1 +1 @@
-presig: 2973 postsig:-37 c: 0.9998
+presig: 2973 postsig:-37 c: 0.9998 lenerr:2936
index c015373..2de86ac 100644 (file)
@@ -1 +1 @@
-presig: 11160 postsig:-3240 c: 0.9703
+presig: 11160 postsig:-3240 c: 0.9703 lenerr:7920
index 5876fcb..67edc2b 100644 (file)
@@ -1 +1 @@
-presig: 15884 postsig:228 c: 0.8390
+presig: 15884 postsig:228 c: 0.8390 lenerr:16112
index c335657..f1be5cb 100644 (file)
@@ -1 +1 @@
-presig: 5760 postsig:-1936 c: 0.9837
+presig: 5760 postsig:-1936 c: 0.9837 lenerr:3824
index 00b6b8c..b2615df 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:768 c: 1.0011
+presig: 0 postsig:768 c: 1.0011 lenerr:768
index 3efbe5a..b0fa495 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:1536 c: 1.0011
+presig: 0 postsig:1536 c: 1.0011 lenerr:1536
index ba69092..66faeb6 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:888 c: 0.9882
+presig: 0 postsig:888 c: 0.9882 lenerr:888
index 25acdba..c40a48e 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:1776 c: 0.9882
+presig: 0 postsig:1776 c: 0.9882 lenerr:1776
index 37f6716..4ee764e 100644 (file)
@@ -1 +1 @@
-presig: -4 postsig:196 c: 0.9736
+presig: -4 postsig:196 c: 0.9736 lenerr:192
index 96627b0..440c419 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:192 c: 0.9965
+presig: 0 postsig:192 c: 0.9965 lenerr:192
index 5118111..b5dcd9d 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:1336 c: 0.9973
+presig: 0 postsig:1336 c: 0.9973 lenerr:1336
index 2928869..87b074a 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:312 c: 0.9986
+presig: 0 postsig:312 c: 0.9986 lenerr:312
index 7c20e75..42a87c0 100644 (file)
@@ -1 +1 @@
-presig: -2 postsig:2674 c: 0.9986
+presig: -2 postsig:2674 c: 0.9986 lenerr:2672
index 2e8b8d2..b3480d5 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:892 c: 0.9983
+presig: 0 postsig:892 c: 0.9983 lenerr:892
index b798641..8de55c2 100644 (file)
@@ -1 +1 @@
-presig: 0 postsig:0 c: 0.9447
+presig: 0 postsig:0 c: 0.9447 lenerr:0