Added a selftest to libavutil/display.c
authorPetru Rares Sincraian <psincraian@outlook.com>
Sun, 20 Mar 2016 08:54:07 +0000 (09:54 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 22 Mar 2016 16:24:55 +0000 (17:24 +0100)
commit124526ba1aee5b616b9f6cf2da6b5db85d05711d
tree7b1582ad638e8c4812330c9ebbde9ce20f2e3a2b
parent2aebdfb451bb01165473f9b4d8e6a2c4997e3bf2
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>
libavutil/Makefile
libavutil/display.c
libavutil/display.h
tests/fate/libavutil.mak
tests/ref/fate/display [new file with mode: 0644]