From 6b222ea9637ae0337de1449147c64547cfb767eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 29 Apr 2013 22:27:22 +0200 Subject: [PATCH] fate: add bitexact flags to alphaextract/alphamerge tests. Should fix a FATE failure. --- .../filtergraphs/alphamerge_alphaextract_rgb | 1 + .../filtergraphs/alphamerge_alphaextract_yuv | 1 + .../fate/filter-alphaextract_alphamerge_rgb | 100 +++++++++--------- 3 files changed, 52 insertions(+), 50 deletions(-) diff --git a/tests/filtergraphs/alphamerge_alphaextract_rgb b/tests/filtergraphs/alphamerge_alphaextract_rgb index 0f9dc4fb51..1aa302de39 100644 --- a/tests/filtergraphs/alphamerge_alphaextract_rgb +++ b/tests/filtergraphs/alphamerge_alphaextract_rgb @@ -1,3 +1,4 @@ +sws_flags=+accurate_rnd+bitexact; format=bgra, split, alphamerge, split [x][y]; [y] alphaextract [alpha]; [x][alpha] alphamerge diff --git a/tests/filtergraphs/alphamerge_alphaextract_yuv b/tests/filtergraphs/alphamerge_alphaextract_yuv index 48546f6de4..ef3ea14a44 100644 --- a/tests/filtergraphs/alphamerge_alphaextract_yuv +++ b/tests/filtergraphs/alphamerge_alphaextract_yuv @@ -1,3 +1,4 @@ +sws_flags=+accurate_rnd+bitexact; format=yuv420p, split, alphamerge, split [x][y]; [y] alphaextract [alpha]; [x][alpha] alphamerge diff --git a/tests/ref/fate/filter-alphaextract_alphamerge_rgb b/tests/ref/fate/filter-alphaextract_alphamerge_rgb index 2d6ec465c7..b28c037702 100644 --- a/tests/ref/fate/filter-alphaextract_alphamerge_rgb +++ b/tests/ref/fate/filter-alphaextract_alphamerge_rgb @@ -1,51 +1,51 @@ #tb 0: 1/25 -0, 0, 0, 1, 405504, 0xf685836e -0, 1, 1, 1, 405504, 0x3c8529c4 -0, 2, 2, 1, 405504, 0xb1776a94 -0, 3, 3, 1, 405504, 0xe832f71d -0, 4, 4, 1, 405504, 0x91fc06c1 -0, 5, 5, 1, 405504, 0x1e659bff -0, 6, 6, 1, 405504, 0xbbc233a4 -0, 7, 7, 1, 405504, 0x25462ef2 -0, 8, 8, 1, 405504, 0x617d5da4 -0, 9, 9, 1, 405504, 0xddea0f0f -0, 10, 10, 1, 405504, 0x109b8ebe -0, 11, 11, 1, 405504, 0xe308df12 -0, 12, 12, 1, 405504, 0x8cb410d2 -0, 13, 13, 1, 405504, 0x9934005b -0, 14, 14, 1, 405504, 0xd8acdbbc -0, 15, 15, 1, 405504, 0x9d4b2ac6 -0, 16, 16, 1, 405504, 0x947ceac7 -0, 17, 17, 1, 405504, 0x07395451 -0, 18, 18, 1, 405504, 0x20019312 -0, 19, 19, 1, 405504, 0x83bb93f4 -0, 20, 20, 1, 405504, 0xd5f6fb19 -0, 21, 21, 1, 405504, 0x88d99b1b -0, 22, 22, 1, 405504, 0x07945e3e -0, 23, 23, 1, 405504, 0x8f9fc73e -0, 24, 24, 1, 405504, 0x57c91b23 -0, 25, 25, 1, 405504, 0xaa178088 -0, 26, 26, 1, 405504, 0x791351b8 -0, 27, 27, 1, 405504, 0x4d3fb636 -0, 28, 28, 1, 405504, 0xdab282e8 -0, 29, 29, 1, 405504, 0x4f19325f -0, 30, 30, 1, 405504, 0x166b63f8 -0, 31, 31, 1, 405504, 0x96094622 -0, 32, 32, 1, 405504, 0x5fe1e0c5 -0, 33, 33, 1, 405504, 0xe986314f -0, 34, 34, 1, 405504, 0xb1de76cc -0, 35, 35, 1, 405504, 0xce46050e -0, 36, 36, 1, 405504, 0xb86507ab -0, 37, 37, 1, 405504, 0x16c8d71c -0, 38, 38, 1, 405504, 0x53db736e -0, 39, 39, 1, 405504, 0x21c24b9e -0, 40, 40, 1, 405504, 0xf8f37309 -0, 41, 41, 1, 405504, 0xdd609804 -0, 42, 42, 1, 405504, 0x4fad765e -0, 43, 43, 1, 405504, 0x849bf799 -0, 44, 44, 1, 405504, 0xa95957de -0, 45, 45, 1, 405504, 0x0e84f027 -0, 46, 46, 1, 405504, 0xf73e3cc4 -0, 47, 47, 1, 405504, 0xa11e0e18 -0, 48, 48, 1, 405504, 0xb2c2499e -0, 49, 49, 1, 405504, 0x1c1abffa +0, 0, 0, 1, 405504, 0x42f434a6 +0, 1, 1, 1, 405504, 0x9e7eb468 +0, 2, 2, 1, 405504, 0xcad920cc +0, 3, 3, 1, 405504, 0x0c079acb +0, 4, 4, 1, 405504, 0xf31cbd03 +0, 5, 5, 1, 405504, 0x19eb3488 +0, 6, 6, 1, 405504, 0x5aafdb12 +0, 7, 7, 1, 405504, 0xc0018f08 +0, 8, 8, 1, 405504, 0x2e4df8b1 +0, 9, 9, 1, 405504, 0xd7b7abe0 +0, 10, 10, 1, 405504, 0xa4525378 +0, 11, 11, 1, 405504, 0x5752931e +0, 12, 12, 1, 405504, 0xaf53d44c +0, 13, 13, 1, 405504, 0xedfdd248 +0, 14, 14, 1, 405504, 0xac8b7d5c +0, 15, 15, 1, 405504, 0x118b95ef +0, 16, 16, 1, 405504, 0xa7635fe9 +0, 17, 17, 1, 405504, 0x457d1492 +0, 18, 18, 1, 405504, 0x4695141c +0, 19, 19, 1, 405504, 0xfe29184f +0, 20, 20, 1, 405504, 0xcdaa6f1d +0, 21, 21, 1, 405504, 0xe69739ae +0, 22, 22, 1, 405504, 0x06e01db7 +0, 23, 23, 1, 405504, 0xdecb4fcf +0, 24, 24, 1, 405504, 0xae6faec7 +0, 25, 25, 1, 405504, 0x43ba1609 +0, 26, 26, 1, 405504, 0xb6280a41 +0, 27, 27, 1, 405504, 0xf8604f4a +0, 28, 28, 1, 405504, 0x36874db6 +0, 29, 29, 1, 405504, 0x66bed0d7 +0, 30, 30, 1, 405504, 0x136b1d8f +0, 31, 31, 1, 405504, 0x5b740a9b +0, 32, 32, 1, 405504, 0x02617fc5 +0, 33, 33, 1, 405504, 0x12819730 +0, 34, 34, 1, 405504, 0xc3f8377b +0, 35, 35, 1, 405504, 0x8b8f9c97 +0, 36, 36, 1, 405504, 0xf08f9cee +0, 37, 37, 1, 405504, 0x19e16387 +0, 38, 38, 1, 405504, 0x976601a1 +0, 39, 39, 1, 405504, 0xa8350aa5 +0, 40, 40, 1, 405504, 0x671d2f83 +0, 41, 41, 1, 405504, 0xfd3c4a1d +0, 42, 42, 1, 405504, 0x9074f9ee +0, 43, 43, 1, 405504, 0x132fa190 +0, 44, 44, 1, 405504, 0x8e3c229d +0, 45, 45, 1, 405504, 0x8202aee0 +0, 46, 46, 1, 405504, 0x5d5adf1a +0, 47, 47, 1, 405504, 0x4e03a394 +0, 48, 48, 1, 405504, 0xbae3ee9e +0, 49, 49, 1, 405504, 0x28f290fe