diff options
author | Petru Rares Sincraian <psincraian@outlook.com> | 2016-03-20 09:54:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-22 17:24:55 +0100 |
commit | 124526ba1aee5b616b9f6cf2da6b5db85d05711d (patch) | |
tree | 7b1582ad638e8c4812330c9ebbde9ce20f2e3a2b /tests/ref | |
parent | 2aebdfb451bb01165473f9b4d8e6a2c4997e3bf2 (diff) | |
download | ffmpeg-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')
-rw-r--r-- | tests/ref/fate/display | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/fate/display b/tests/ref/fate/display new file mode 100644 index 0000000000..251e7e0cdf --- /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 |