summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/display
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-03-20 09:54:07 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-03-22 17:24:55 +0100
commit124526ba1aee5b616b9f6cf2da6b5db85d05711d (patch)
tree7b1582ad638e8c4812330c9ebbde9ce20f2e3a2b /tests/ref/fate/display
parent2aebdfb451bb01165473f9b4d8e6a2c4997e3bf2 (diff)
downloadffmpeg-streaming-124526ba1aee5b616b9f6cf2da6b5db85d05711d.zip
ffmpeg-streaming-124526ba1aee5b616b9f6cf2da6b5db85d05711d.tar.gz
Added a selftest to libavutil/display.c
- Check if av_display_rotation_get() gets the correct degrees - Check if av_display_rotation_set() sets the correct matrix - Check if av_display_matrix_flip() changes correct the matrix Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate/display')
-rw-r--r--tests/ref/fate/display16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/fate/display b/tests/ref/fate/display
new file mode 100644
index 0000000..251e7e0
--- /dev/null
+++ b/tests/ref/fate/display
@@ -0,0 +1,16 @@
+0 65536 0
+-65536 0 0
+0 0 1073741824
+degrees: -90.000000
+46340 -46340 0
+46340 46340 0
+0 0 1073741824
+degrees: 45.000000
+-46340 -46340 0
+-46340 46340 0
+0 0 1073741824
+degrees: 135.000000
+-46340 46340 0
+-46340 -46340 0
+0 0 1073741824
+degrees: -135.000000
OpenPOWER on IntegriCloud