[FFmpeg-devel] [PATCH] Add fate test for ticket 6024, truncated decoding mode

Michael Niedermayer michael at niedermayer.cc
Sun Dec 18 03:13:02 EET 2016


On Sat, Dec 17, 2016 at 04:02:12PM -0700, pkoshevoy at gmail.com wrote:
> From: Pavel Koshevoy <pkoshevoy at gmail.com>
> 
> ---
>  tests/fate/video.mak            |  3 +++
>  tests/ref/fate/mpeg2-ticket6024 | 27 +++++++++++++++++++++++++++
>  2 files changed, 30 insertions(+)
>  create mode 100644 tests/ref/fate/mpeg2-ticket6024

fails on arm qemu
make sure that you use all the bitexact stuff, bitexact (i)dct ...

--- tests/ref/fate/mpeg2-ticket6024     2016-12-18 00:18:23.712563634 +0100
+++ tests/data/fate/mpeg2-ticket6024    2016-12-18 02:09:57.152704645 +0100
@@ -3,25 +3,25 @@
 #codec_id 0: rawvideo
 #dimensions 0: 716x236
 #sar 0: 1/1
-0,          2,          2,        1,   253464, 0xc51a46f9
-0,          4,          4,        1,   253464, 0xd0661651
-0,          5,          5,        1,   253464, 0x38a213b3
-0,          6,          6,        1,   253464, 0x038a5118
-0,          7,          7,        1,   253464, 0xebd8de64
-0,          8,          8,        1,   253464, 0x0b319ee0
-0,          9,          9,        1,   253464, 0x37b03a45
-0,         10,         10,        1,   253464, 0x5f9c89ae
-0,         11,         11,        1,   253464, 0x88ad9c08
-0,         12,         12,        1,   253464, 0x387198bc
-0,         13,         13,        1,   253464, 0xf3933eb6
-0,         14,         14,        1,   253464, 0x9bd27b98
-0,         15,         15,        1,   253464, 0x9442c538
-0,         16,         16,        1,   253464, 0x330be2a4
-0,         17,         17,        1,   253464, 0xb4b8c1df
-0,         18,         18,        1,   253464, 0xc97ded34
-0,         19,         19,        1,   253464, 0xcad936e0
-0,         20,         20,        1,   253464, 0x11a2850d
-0,         21,         21,        1,   253464, 0x2545ad23
-0,         22,         22,        1,   253464, 0xa5e17c47
-0,         23,         23,        1,   253464, 0x39452689
-0,         24,         24,        1,   253464, 0x1daefd72
+0,          2,          2,        1,   253464, 0xdb0246f3
+0,          4,          4,        1,   253464, 0x342f1641
+0,          5,          5,        1,   253464, 0x2d5413a4
+0,          6,          6,        1,   253464, 0x48da510b
+0,          7,          7,        1,   253464, 0xdb10de4b
+0,          8,          8,        1,   253464, 0x5ffb9ecf
+0,          9,          9,        1,   253464, 0xa6dc3a37
+0,         10,         10,        1,   253464, 0x6deb899d
+0,         11,         11,        1,   253464, 0x117a9bff
+0,         12,         12,        1,   253464, 0x1eeb98b2
+0,         13,         13,        1,   253464, 0xbd8f3eb1
+0,         14,         14,        1,   253464, 0x094d7b95
+0,         15,         15,        1,   253464, 0x7a99c534
+0,         16,         16,        1,   253464, 0x25c6e29e
+0,         17,         17,        1,   253464, 0x262dc1da
+0,         18,         18,        1,   253464, 0x3af2ed2f
+0,         19,         19,        1,   253464, 0xb13036dc
+0,         20,         20,        1,   253464, 0xfab78509
+0,         21,         21,        1,   253464, 0x96ecad20
+0,         22,         22,        1,   253464, 0x028f7c44
+0,         23,         23,        1,   253464, 0x95e52686
+0,         24,         24,        1,   253464, 0x7a4efd6f
Test mpeg2-ticket6024 failed. Look at tests/data/fate/mpeg2-ticket6024.err for details.
make: *** [fate-mpeg2-ticket6024] Error 1

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

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- 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/20161218/f0c7e91b/attachment.sig>


More information about the ffmpeg-devel mailing list