[FFmpeg-cvslog] fate: add avfilter/formats-test
Michael Niedermayer
git at videolan.org
Sat Jun 20 14:27:32 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 20 14:07:44 2015 +0200| [f230b9671f9ea81617a87a5c4e49a9d7aa4ac085] | committer: Michael Niedermayer
fate: add avfilter/formats-test
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f230b9671f9ea81617a87a5c4e49a9d7aa4ac085
---
tests/fate/filter-audio.mak | 4 ++
tests/ref/fate/filter-formats | 85 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 89 insertions(+)
diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index 210b89e..2669498 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -92,5 +92,9 @@ fate-filter-volume: CMD = md5 -i $(SRC) -af aperms=random,volume=precision=fixed
fate-filter-volume: CMP = oneline
fate-filter-volume: REF = 4d6ba75ef3e32d305d066b9bc771d6f4
+FATE_AFILTER-yes += fate-filter-formats
+fate-filter-formats: libavfilter/formats-test$(EXESUF)
+fate-filter-formats: CMD = run libavfilter/formats-test
+
FATE_SAMPLES_AVCONV += $(FATE_AFILTER-yes)
fate-afilter: $(FATE_AFILTER-yes)
diff --git a/tests/ref/fate/filter-formats b/tests/ref/fate/filter-formats
new file mode 100644
index 0000000..0e21416
--- /dev/null
+++ b/tests/ref/fate/filter-formats
@@ -0,0 +1,85 @@
+mono
+2 channels (FC+LFE)
+stereo
+2.1
+3.0
+3.1
+3 channels (FC+BL+BR)
+4 channels (FC+LFE+BL+BR)
+quad
+5 channels (FL+FR+LFE+BL+BR)
+5.0
+5.1
+2 channels (FC+BC)
+3 channels (FC+LFE+BC)
+3.0(back)
+4 channels (FL+FR+LFE+BC)
+4.0
+4.1
+3 channels (FC+SL+SR)
+4 channels (FC+LFE+SL+SR)
+quad(side)
+5 channels (FL+FR+LFE+SL+SR)
+5.0(side)
+5.1(side)
+5 channels (FC+BL+BR+SL+SR)
+6 channels (FC+LFE+BL+BR+SL+SR)
+6 channels (FL+FR+BL+BR+SL+SR)
+7 channels (FL+FR+LFE+BL+BR+SL+SR)
+7.0
+7.1
+4 channels (FC+BC+SL+SR)
+5 channels (FC+LFE+BC+SL+SR)
+5 channels (FL+FR+BC+SL+SR)
+6 channels (FL+FR+LFE+BC+SL+SR)
+6.0
+6.1
+3 channels (FC+DL+DR)
+4 channels (FC+LFE+DL+DR)
+4 channels (FL+FR+DL+DR)
+5 channels (FL+FR+LFE+DL+DR)
+5 channels (FL+FR+FC+DL+DR)
+6 channels (FL+FR+FC+LFE+DL+DR)
+5 channels (FC+BL+BR+DL+DR)
+6 channels (FC+LFE+BL+BR+DL+DR)
+6 channels (FL+FR+BL+BR+DL+DR)
+7 channels (FL+FR+LFE+BL+BR+DL+DR)
+7 channels (FL+FR+FC+BL+BR+DL+DR)
+8 channels (FL+FR+FC+LFE+BL+BR+DL+DR)
+4 channels (FC+BC+DL+DR)
+5 channels (FC+LFE+BC+DL+DR)
+5 channels (FL+FR+BC+DL+DR)
+6 channels (FL+FR+LFE+BC+DL+DR)
+6 channels (FL+FR+FC+BC+DL+DR)
+7 channels (FL+FR+FC+LFE+BC+DL+DR)
+5 channels (FC+SL+SR+DL+DR)
+6 channels (FC+LFE+SL+SR+DL+DR)
+6 channels (FL+FR+SL+SR+DL+DR)
+7 channels (FL+FR+LFE+SL+SR+DL+DR)
+7 channels (FL+FR+FC+SL+SR+DL+DR)
+8 channels (FL+FR+FC+LFE+SL+SR+DL+DR)
+7 channels (FC+BL+BR+SL+SR+DL+DR)
+8 channels (FC+LFE+BL+BR+SL+SR+DL+DR)
+8 channels (FL+FR+BL+BR+SL+SR+DL+DR)
+6 channels (FC+BC+SL+SR+DL+DR)
+7 channels (FC+LFE+BC+SL+SR+DL+DR)
+7 channels (FL+FR+BC+SL+SR+DL+DR)
+8 channels (FL+FR+LFE+BC+SL+SR+DL+DR)
+8 channels (FL+FR+FC+BC+SL+SR+DL+DR)
+-1 = ff_parse_channel_layout(FFFFFFFFFFFFFFFF, -1, blah);
+0 = ff_parse_channel_layout(0000000000000004, 1, 1);
+0 = ff_parse_channel_layout(0000000000000003, 2, 2);
+0 = ff_parse_channel_layout(FFFFFFFFFFFFFFFF, 64, -1);
+0 = ff_parse_channel_layout(000000000000003C, 4, 60);
+0 = ff_parse_channel_layout(0000000000000041, 2, 65);
+0 = ff_parse_channel_layout(0000000000000000, 1, 1c);
+0 = ff_parse_channel_layout(0000000000000000, 2, 2c);
+-1 = ff_parse_channel_layout(FFFFFFFFFFFFFFFF, -1, -1c);
+0 = ff_parse_channel_layout(0000000000000000, 60, 60c);
+-1 = ff_parse_channel_layout(FFFFFFFFFFFFFFFF, -1, 65c);
+0 = ff_parse_channel_layout(000000000000003F, 6, 5.1);
+0 = ff_parse_channel_layout(0000000000000003, 2, stereo);
+0 = ff_parse_channel_layout(0000000000000004, 1, 1+1+1+1);
+0 = ff_parse_channel_layout(0000000000000004, 1, 1c+1c+1c+1c);
+0 = ff_parse_channel_layout(0000000000000007, 3, 2c+1c);
+0 = ff_parse_channel_layout(0000000000000003, 2, 0x3);
More information about the ffmpeg-cvslog
mailing list