aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-16 03:52:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-16 03:52:51 +0200
commit7e20f80d2cd4f29c0bfa9a58c323c21ded47af1f (patch)
tree8c546868ddaf3fbb53419fb920f8267a7c463fe9
parent7ed691e2db789c64467a2792f8f435e900bdc726 (diff)
downloadffmpeg-7e20f80d2cd4f29c0bfa9a58c323c21ded47af1f.tar.gz
fate: fix histogram test, try #2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/filter.mak4
-rw-r--r--tests/ref/fate/filter-histogram-levels100
-rw-r--r--tests/ref/fate/filter-histogram-waveform100
3 files changed, 102 insertions, 102 deletions
diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index 0c3b1234c5..f973ce0443 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -83,10 +83,10 @@ FATE_FILTER_VSYNTH-$(CONFIG_NEGATE_FILTER) += fate-filter-negate
fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf negate
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
-fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram
+fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-waveform
-fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram=mode=waveform
+fate-filter-histogram-waveform: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram=mode=waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/overlay
diff --git a/tests/ref/fate/filter-histogram-levels b/tests/ref/fate/filter-histogram-levels
index 2ee66884ed..df9f6b2d52 100644
--- a/tests/ref/fate/filter-histogram-levels
+++ b/tests/ref/fate/filter-histogram-levels
@@ -1,51 +1,51 @@
#tb 0: 1/25
-0, 0, 0, 1, 488448, 0x4425756b
-0, 1, 1, 1, 488448, 0x04dd16e6
-0, 2, 2, 1, 488448, 0x2bcbbceb
-0, 3, 3, 1, 488448, 0x7cdb0233
-0, 4, 4, 1, 488448, 0xfea6b19f
-0, 5, 5, 1, 488448, 0xdc52c70b
-0, 6, 6, 1, 488448, 0xd0e542ac
-0, 7, 7, 1, 488448, 0x7da62502
-0, 8, 8, 1, 488448, 0xbbe0ba18
-0, 9, 9, 1, 488448, 0x29d7e5a6
-0, 10, 10, 1, 488448, 0x9428b9ee
-0, 11, 11, 1, 488448, 0xe0dacb50
-0, 12, 12, 1, 488448, 0x6fbe351f
-0, 13, 13, 1, 488448, 0x27b165e0
-0, 14, 14, 1, 488448, 0xc1301e0c
-0, 15, 15, 1, 488448, 0x585778a3
-0, 16, 16, 1, 488448, 0x3a9a5a24
-0, 17, 17, 1, 488448, 0x5f238e1a
-0, 18, 18, 1, 488448, 0xccbbd463
-0, 19, 19, 1, 488448, 0x5e819b1b
-0, 20, 20, 1, 488448, 0x1ac67c1e
-0, 21, 21, 1, 488448, 0xa30d486e
-0, 22, 22, 1, 488448, 0x79981486
-0, 23, 23, 1, 488448, 0x542c8325
-0, 24, 24, 1, 488448, 0x8fdf8efd
-0, 25, 25, 1, 488448, 0x11ad9232
-0, 26, 26, 1, 488448, 0x26bd6353
-0, 27, 27, 1, 488448, 0xa6ab863e
-0, 28, 28, 1, 488448, 0x4c14852e
-0, 29, 29, 1, 488448, 0x738ce85a
-0, 30, 30, 1, 488448, 0xdb84785a
-0, 31, 31, 1, 488448, 0x2b92ab6d
-0, 32, 32, 1, 488448, 0x6487d4c5
-0, 33, 33, 1, 488448, 0xbad7f74e
-0, 34, 34, 1, 488448, 0x2f5c9612
-0, 35, 35, 1, 488448, 0x5eb7b32d
-0, 36, 36, 1, 488448, 0xa624f119
-0, 37, 37, 1, 488448, 0xbf5d39d1
-0, 38, 38, 1, 488448, 0xb599e8bf
-0, 39, 39, 1, 488448, 0x9137df1d
-0, 40, 40, 1, 488448, 0x48ddaa52
-0, 41, 41, 1, 488448, 0x7a0d8c38
-0, 42, 42, 1, 488448, 0x1b3f05db
-0, 43, 43, 1, 488448, 0x09665339
-0, 44, 44, 1, 488448, 0x9fb1fc46
-0, 45, 45, 1, 488448, 0x73a73835
-0, 46, 46, 1, 488448, 0x2deb500f
-0, 47, 47, 1, 488448, 0x750c86a0
-0, 48, 48, 1, 488448, 0x55b2b0bf
-0, 49, 49, 1, 488448, 0xeedae5ec
+0, 0, 0, 1, 488448, 0x0d7343b9
+0, 1, 1, 1, 488448, 0x118e3ade
+0, 2, 2, 1, 488448, 0x778f1ba9
+0, 3, 3, 1, 488448, 0x153bf44e
+0, 4, 4, 1, 488448, 0x2d83c1ab
+0, 5, 5, 1, 488448, 0xa3e95f8f
+0, 6, 6, 1, 488448, 0x91aad31b
+0, 7, 7, 1, 488448, 0x90b92c09
+0, 8, 8, 1, 488448, 0x1e4c9f41
+0, 9, 9, 1, 488448, 0xa88c1882
+0, 10, 10, 1, 488448, 0x1aa04274
+0, 11, 11, 1, 488448, 0x49c45de8
+0, 12, 12, 1, 488448, 0xe799c29f
+0, 13, 13, 1, 488448, 0x789e233f
+0, 14, 14, 1, 488448, 0x9f753404
+0, 15, 15, 1, 488448, 0x83050c2c
+0, 16, 16, 1, 488448, 0xddf7ccbf
+0, 17, 17, 1, 488448, 0xe3128531
+0, 18, 18, 1, 488448, 0xcc6596af
+0, 19, 19, 1, 488448, 0x6e19754f
+0, 20, 20, 1, 488448, 0xc3b32c7c
+0, 21, 21, 1, 488448, 0x40b4853f
+0, 22, 22, 1, 488448, 0x6e492674
+0, 23, 23, 1, 488448, 0x7f867236
+0, 24, 24, 1, 488448, 0x22094365
+0, 25, 25, 1, 488448, 0x45f30fc3
+0, 26, 26, 1, 488448, 0xe6cbad09
+0, 27, 27, 1, 488448, 0x0c44836b
+0, 28, 28, 1, 488448, 0xa7f04271
+0, 29, 29, 1, 488448, 0xd222ba88
+0, 30, 30, 1, 488448, 0xc96a9749
+0, 31, 31, 1, 488448, 0x82e25bbd
+0, 32, 32, 1, 488448, 0xf79d1882
+0, 33, 33, 1, 488448, 0x6d7fdd68
+0, 34, 34, 1, 488448, 0xeb5c9b1b
+0, 35, 35, 1, 488448, 0x9014f9f4
+0, 36, 36, 1, 488448, 0x96c6ab5f
+0, 37, 37, 1, 488448, 0x03911af0
+0, 38, 38, 1, 488448, 0xbf9dd8eb
+0, 39, 39, 1, 488448, 0x73509963
+0, 40, 40, 1, 488448, 0xf2ecb068
+0, 41, 41, 1, 488448, 0xec2fb311
+0, 42, 42, 1, 488448, 0xf4c7ba26
+0, 43, 43, 1, 488448, 0x23f56543
+0, 44, 44, 1, 488448, 0x25f8c48c
+0, 45, 45, 1, 488448, 0xf1ccd38b
+0, 46, 46, 1, 488448, 0x10780667
+0, 47, 47, 1, 488448, 0xbeb70431
+0, 48, 48, 1, 488448, 0xbc950678
+0, 49, 49, 1, 488448, 0xfedf5d83
diff --git a/tests/ref/fate/filter-histogram-waveform b/tests/ref/fate/filter-histogram-waveform
index 807a396293..da6bbc4fcf 100644
--- a/tests/ref/fate/filter-histogram-waveform
+++ b/tests/ref/fate/filter-histogram-waveform
@@ -1,51 +1,51 @@
#tb 0: 1/25
-0, 0, 0, 1, 663552, 0xc3f7d47b
-0, 1, 1, 1, 663552, 0xd43ed327
-0, 2, 2, 1, 663552, 0xcf2fd4b9
-0, 3, 3, 1, 663552, 0x5752d511
-0, 4, 4, 1, 663552, 0x2427d5d3
-0, 5, 5, 1, 663552, 0x7ee8d43d
-0, 6, 6, 1, 663552, 0xf16bd5d7
-0, 7, 7, 1, 663552, 0xe86cd5c7
-0, 8, 8, 1, 663552, 0x760ad43f
-0, 9, 9, 1, 663552, 0x2b52d243
-0, 10, 10, 1, 663552, 0x98f9d437
-0, 11, 11, 1, 663552, 0xc9cdd1b3
-0, 12, 12, 1, 663552, 0x5378d1e7
-0, 13, 13, 1, 663552, 0xd538d275
-0, 14, 14, 1, 663552, 0x695cd0bd
-0, 15, 15, 1, 663552, 0x5571d02b
-0, 16, 16, 1, 663552, 0x60bfd375
-0, 17, 17, 1, 663552, 0x9dc3d435
-0, 18, 18, 1, 663552, 0x8fb7d075
-0, 19, 19, 1, 663552, 0x969ad181
-0, 20, 20, 1, 663552, 0x4d9bd299
-0, 21, 21, 1, 663552, 0x1564d3b7
-0, 22, 22, 1, 663552, 0xb26ad175
-0, 23, 23, 1, 663552, 0x1194d08b
-0, 24, 24, 1, 663552, 0x2dd8d259
-0, 25, 25, 1, 663552, 0x470ed159
-0, 26, 26, 1, 663552, 0xf1b9cd67
-0, 27, 27, 1, 663552, 0x15c0ce0b
-0, 28, 28, 1, 663552, 0x57bdcdcb
-0, 29, 29, 1, 663552, 0x8b6ccd15
-0, 30, 30, 1, 663552, 0xa329cc7f
-0, 31, 31, 1, 663552, 0x6945cabd
-0, 32, 32, 1, 663552, 0x4ca4cacb
-0, 33, 33, 1, 663552, 0x996fca55
-0, 34, 34, 1, 663552, 0x252bcc73
-0, 35, 35, 1, 663552, 0x1072cceb
-0, 36, 36, 1, 663552, 0x1e5dce5d
-0, 37, 37, 1, 663552, 0xeabecf17
-0, 38, 38, 1, 663552, 0x5601d139
-0, 39, 39, 1, 663552, 0xd843d211
-0, 40, 40, 1, 663552, 0x6ee8d08f
-0, 41, 41, 1, 663552, 0x2519cdc9
-0, 42, 42, 1, 663552, 0x1381ce55
-0, 43, 43, 1, 663552, 0x5e26cbed
-0, 44, 44, 1, 663552, 0xa14ed151
-0, 45, 45, 1, 663552, 0xbaddd4af
-0, 46, 46, 1, 663552, 0xa3b9d405
-0, 47, 47, 1, 663552, 0x4a40d3c5
-0, 48, 48, 1, 663552, 0xc98bd245
-0, 49, 49, 1, 663552, 0xbec6d2f7
+0, 0, 0, 1, 663552, 0x8a55d4d9
+0, 1, 1, 1, 663552, 0xf4c4d42d
+0, 2, 2, 1, 663552, 0x291cd441
+0, 3, 3, 1, 663552, 0xce5bd56b
+0, 4, 4, 1, 663552, 0x1dc0d637
+0, 5, 5, 1, 663552, 0x4676d387
+0, 6, 6, 1, 663552, 0x8064d607
+0, 7, 7, 1, 663552, 0x1981d54f
+0, 8, 8, 1, 663552, 0x8fffd4a3
+0, 9, 9, 1, 663552, 0x5041d2f7
+0, 10, 10, 1, 663552, 0x03bbd401
+0, 11, 11, 1, 663552, 0x965bd2f3
+0, 12, 12, 1, 663552, 0x0d39d27d
+0, 13, 13, 1, 663552, 0xad39d1fb
+0, 14, 14, 1, 663552, 0x1809d195
+0, 15, 15, 1, 663552, 0xe083cf2f
+0, 16, 16, 1, 663552, 0x0d6fd3b3
+0, 17, 17, 1, 663552, 0x3a8ed3f3
+0, 18, 18, 1, 663552, 0xbbb5d00d
+0, 19, 19, 1, 663552, 0xe6ead0df
+0, 20, 20, 1, 663552, 0xf5dcd35f
+0, 21, 21, 1, 663552, 0x9cd9d32b
+0, 22, 22, 1, 663552, 0xcb91d1b9
+0, 23, 23, 1, 663552, 0x5640cfd7
+0, 24, 24, 1, 663552, 0x5370d285
+0, 25, 25, 1, 663552, 0xd894d1dd
+0, 26, 26, 1, 663552, 0xace4ce65
+0, 27, 27, 1, 663552, 0x6e15ce17
+0, 28, 28, 1, 663552, 0xd21cce21
+0, 29, 29, 1, 663552, 0xec1ecd83
+0, 30, 30, 1, 663552, 0x9852ce0f
+0, 31, 31, 1, 663552, 0xe488cba3
+0, 32, 32, 1, 663552, 0x2e15cbed
+0, 33, 33, 1, 663552, 0x5e59ca97
+0, 34, 34, 1, 663552, 0x7cefcd7d
+0, 35, 35, 1, 663552, 0xcb99ccfb
+0, 36, 36, 1, 663552, 0xce32cf29
+0, 37, 37, 1, 663552, 0x7fb8ceef
+0, 38, 38, 1, 663552, 0x4014d18f
+0, 39, 39, 1, 663552, 0x224dd381
+0, 40, 40, 1, 663552, 0x5347d125
+0, 41, 41, 1, 663552, 0xec83ce79
+0, 42, 42, 1, 663552, 0x4d24ce8b
+0, 43, 43, 1, 663552, 0xfdc5ccbd
+0, 44, 44, 1, 663552, 0x592cd18b
+0, 45, 45, 1, 663552, 0xff06d43b
+0, 46, 46, 1, 663552, 0x7f69d4ef
+0, 47, 47, 1, 663552, 0x1607d3f1
+0, 48, 48, 1, 663552, 0x33e0d211
+0, 49, 49, 1, 663552, 0xe1b1d2cd