[FFmpeg-devel] [PATCH] fate: add tests for some video source filters

Michael Niedermayer michael at niedermayer.cc
Thu Jul 20 23:44:33 EEST 2017


On Thu, Jul 20, 2017 at 11:07:12AM +0200, Tobias Rapp wrote:
> Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc,
> smptebars, smptehdbars and yuvtestsrc filters.
> 
> Signed-off-by: Tobias Rapp <t.rapp at noa-archive.com>
> ---
>  tests/fate/filter-video.mak                | 21 +++++++++++++++++++++
>  tests/ref/fate/filter-allrgb               | 10 ++++++++++
>  tests/ref/fate/filter-allyuv               | 10 ++++++++++
>  tests/ref/fate/filter-rgbtestsrc           | 10 ++++++++++
>  tests/ref/fate/filter-smptebars            | 10 ++++++++++
>  tests/ref/fate/filter-smptehdbars          | 10 ++++++++++
>  tests/ref/fate/filter-yuvtestsrc-yuv444p   | 10 ++++++++++
>  tests/ref/fate/filter-yuvtestsrc-yuv444p12 | 10 ++++++++++
>  8 files changed, 91 insertions(+)
>  create mode 100644 tests/ref/fate/filter-allrgb
>  create mode 100644 tests/ref/fate/filter-allyuv
>  create mode 100644 tests/ref/fate/filter-rgbtestsrc
>  create mode 100644 tests/ref/fate/filter-smptebars
>  create mode 100644 tests/ref/fate/filter-smptehdbars
>  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p
>  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p12

breaks on mips (probably big endian issue)

--- tests/ref/fate/filter-yuvtestsrc-yuv444p12   2017-07-20 22:22:52.083416873 +0200
+++ tests/data/fate/filter-yuvtestsrc-yuv444p12 2017-07-20 22:42:07.043441205 +0200
@@ -3,8 +3,8 @@
 #codec_id 0: rawvideo
 #dimensions 0: 320x240
 #sar 0: 1/1
-0,          0,          0,        1,   460800, 0x3ec49be7
-0,          1,          1,        1,   460800, 0x3ec49be7
-0,          2,          2,        1,   460800, 0x3ec49be7
-0,          3,          3,        1,   460800, 0x3ec49be7
-0,          4,          4,        1,   460800, 0x3ec49be7
+0,          0,          0,        1,   460800, 0xba079be7
+0,          1,          1,        1,   460800, 0xba079be7
+0,          2,          2,        1,   460800, 0xba079be7
+0,          3,          3,        1,   460800, 0xba079be7
+0,          4,          4,        1,   460800, 0xba079be7
Test filter-yuvtestsrc-yuv444p12 failed. Look at tests/data/fate/filter-yuvtestsrc-yuv444p12.err for details.
make: *** [fate-filter-yuvtestsrc-yuv444p12] Error 1
make: *** Waiting for unfinished jobs....

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170720/dd8c9c00/attachment.sig>


More information about the ffmpeg-devel mailing list