From e63dd5fb04ab831ca8f17fa824cfd703e317c1a1 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 23 Jan 2011 20:33:18 +0000 Subject: [PATCH] fate: add h264 test for extreme cases in planar prediction Signed-off-by: Mans Rullgard --- tests/fate/h264.mak | 2 + tests/ref/fate/h264-extreme-plane-pred | 100 +++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 tests/ref/fate/h264-extreme-plane-pred diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index 25517feee2..259e1e0ea0 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -167,6 +167,7 @@ FATE_H264 = aud_mw_e \ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \ fate-h264-interlace-crop \ fate-h264-lossless \ + fate-h264-extreme-plane-pred \ FATE_TESTS += $(FATE_H264) fate-h264: $(FATE_H264) @@ -339,3 +340,4 @@ fate-h264-conformance-sva_nl2_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/ fate-h264-interlace-crop: CMD = framecrc -vframes 3 -i $(SAMPLES)/h264/interlaced_crop.mp4 fate-h264-lossless: CMD = framecrc -i $(SAMPLES)/h264/lossless.h264 +fate-h264-extreme-plane-pred: CMD = framemd5 -strict 1 -vsync 0 -i $(SAMPLES)/h264/extreme-plane-pred.h264 diff --git a/tests/ref/fate/h264-extreme-plane-pred b/tests/ref/fate/h264-extreme-plane-pred new file mode 100644 index 0000000000..d8bee85b6b --- /dev/null +++ b/tests/ref/fate/h264-extreme-plane-pred @@ -0,0 +1,100 @@ +0, 0, 152064, 1e857d2dfeea75297e090ffe9e37a249 +0, 3600, 152064, 29d8336b4e9b77298025074dbad641d1 +0, 7200, 152064, 3f1a87d2088a7708f4ed06890c8cd018 +0, 10800, 152064, 56b8b8d9fefbd501c4f7918f21f9b015 +0, 14400, 152064, 597392c162ea79af1e5d3dd552ffeb47 +0, 18000, 152064, 064fdd170aa24463409b1cb0ddc7f5b6 +0, 21600, 152064, 9924da4026b10110fa644039e73f92c1 +0, 25200, 152064, afdb77f4a4c87faaf35988bf2d1d7c18 +0, 28800, 152064, 80714dc3bf376f38c00f8c67fc534fae +0, 32400, 152064, fb0ab4028e1e9879b0bf0e414c0ccb33 +0, 36000, 152064, 03c694f4b9e6116214078131f3edff91 +0, 39600, 152064, 22d2de0d8f9e5477230b50c50ec46269 +0, 43200, 152064, 470e9a6c5bbb15e151afbfd6b2f254a3 +0, 46800, 152064, b585555552169640b1a896094335b624 +0, 50400, 152064, e261e0f650e6d649a35773520e7f5bff +0, 54000, 152064, 2d1bf889eef057016e473a041fbceac0 +0, 57600, 152064, b1a3f8ebf1de26bc8c32d47a4a53c862 +0, 61200, 152064, d5cdb80386dbb996ca007a0e210a9905 +0, 64800, 152064, 05a200df7b8baa19d2a0309476727dd7 +0, 68400, 152064, 890d62163f4aa70a2055d50de0395a35 +0, 72000, 152064, c00bdd1c5f0d69bae66ba46a897ad0ad +0, 75600, 152064, 65f76c6d453822eb48b180ac630cbdce +0, 79200, 152064, d6b85fc02c6d8efa53a9f0f148a0520e +0, 82800, 152064, adcb1621c5100b8e201592328bcd11be +0, 86400, 152064, bad7da936734cf4304c1564d6d3e74b9 +0, 90000, 152064, a98d1232d0c22e6967415700d980c67f +0, 93600, 152064, 3fa1110c3ada7d37f0495a26774a58fb +0, 97200, 152064, 37613c65cfd3d77e8dda3b5b913e467f +0, 100800, 152064, 42a5cf583a82e722e04c04b10fd36542 +0, 104400, 152064, 41c2870e102e3584780cd0243baa1900 +0, 108000, 152064, da389397c874f5fd974c57278bd1e327 +0, 111600, 152064, 238c265971ef9144d3fe6bc95a2ea060 +0, 115200, 152064, 085c83a54aa9327e1e3ee76ffa337538 +0, 118800, 152064, f462966f59018b39c10f9a65a80a41f8 +0, 122400, 152064, 6e9697b7c8193b38551af4ef56861b7a +0, 126000, 152064, e68113abf3e81a28cafd95d91871886e +0, 129600, 152064, 35a78df5ac1ff6ee469626b750241c9b +0, 133200, 152064, b3302a87e334634a9f92ce51acf96ab3 +0, 136800, 152064, 52198528552cefe90004a2b045b33e8f +0, 140400, 152064, 12d9ad991d4bb7935342c8b6474d1726 +0, 144000, 152064, 2e6a508aba965f292c7b2e82bd0debbe +0, 147600, 152064, 8daff69112bb5fbc0158cbbf7fbe057e +0, 151200, 152064, 5495a0bb6c88a115957d98b272b0d643 +0, 154800, 152064, 955db92ab0c482381200247a207e12bc +0, 158400, 152064, c0f81c5f95fd658c153798a514fedd22 +0, 162000, 152064, 3cfc7b9c2d73621cdb04d7e7e8bc2b3b +0, 165600, 152064, e8b6d1d526d6443cba2e64ccd5393a4f +0, 169200, 152064, 7722e2420db0279c9eb7c6f7dfa89c07 +0, 172800, 152064, 41b908a50b97a2e927f2e6e285e27592 +0, 176400, 152064, e05f0ddd08debc2a0578893662c33ce0 +0, 180000, 152064, 1edcedca921dbb68c0ce53371abddd8f +0, 183600, 152064, cdbf0c89feb336e58472f0163e43b02b +0, 187200, 152064, 39c4d20ecfeee09800feae5ad783e0bd +0, 190800, 152064, f60d05d20b3f338aa5917490d2b58f77 +0, 194400, 152064, 76e5eae7a5205f6f6aaf8099197dbb1f +0, 198000, 152064, f7c4c80e79b691826915b7810ab7c2a6 +0, 201600, 152064, afbc098dcaa8c2a3f41dfc3e846e8e7b +0, 205200, 152064, 6582805bbe4ab9a9138a23deb2ca45a8 +0, 208800, 152064, 54444ce52dd1ce7bc24e9cbaba89dc59 +0, 212400, 152064, c81193469c0cd5a50c451d869e07a786 +0, 216000, 152064, 89f2295b63db3adce2961630569749a5 +0, 219600, 152064, 3f4d6dd4dd819168a358384d6b134d00 +0, 223200, 152064, 45d3b5c72609a15c1be5a45f790a24c4 +0, 226800, 152064, f2283a8bf9599754d2e251c5f0861199 +0, 230400, 152064, 06a9ccf8132c494884954bb4cc148c11 +0, 234000, 152064, e20e0143fc840db46a88a8556d887ea2 +0, 237600, 152064, bcb1ca471f70109293a15b7e1b0f3a7f +0, 241200, 152064, 0c5f59f091b3fd5ced9bb626e5b66ec8 +0, 244800, 152064, 4dd6cf80daf74390afe0423f726c2fb6 +0, 248400, 152064, fd52e6d570960cf100ac7c973dbd222e +0, 252000, 152064, 684758faa9b5517b2e5dbbabccc6125b +0, 255600, 152064, e538a3bcb2125c8ac324a5be49470960 +0, 259200, 152064, 0c91795b7f52e942a1c28b4c6510c6fa +0, 262800, 152064, b33315c61d714bd70d2adce3309633fe +0, 266400, 152064, af2554b6b1d3f215641f85494a78ad3d +0, 270000, 152064, e59b20b3b2c5ec215ea34ab4850f940e +0, 273600, 152064, fb543e874bdd9749aaa710d1551e0ebd +0, 277200, 152064, 4383abaf938da0282fecabed153bca0e +0, 280800, 152064, 4ce40ffa75b42320593e40596c34862a +0, 284400, 152064, f337d0cc81b5c1b1b92c3f367ed5f9cd +0, 288000, 152064, 0f5a8c41fb7334811a485239d9126808 +0, 291600, 152064, 0daf3d981474940bdf10a93148d69353 +0, 295200, 152064, 21a51f1686071a6af7973df92361964b +0, 298800, 152064, 1f0d471c7b1fa86f236c2dee32822464 +0, 302400, 152064, cedc6fd29d67976f899a6a8afba6b38d +0, 306000, 152064, 4af936d3d3b456953c7beb551476824a +0, 309600, 152064, bcaf539953adb1952fefc2cdec6c2f60 +0, 313200, 152064, d1dfeafa0939fddc256986c2b00f73c7 +0, 316800, 152064, 99c9a2c7b198e2c8cfe007ff4330f036 +0, 320400, 152064, 4db6a7edfc44389536983aeeb15edb66 +0, 324000, 152064, 8d840674b90e3b488a34e04645430ee7 +0, 327600, 152064, ad7b3e55a2eb62fc5102cc5af49301aa +0, 331200, 152064, f24484a975ec64acb50df3e9f9e8eddd +0, 334800, 152064, 5794617c7e40bfcb7f024bda2f2a991d +0, 338400, 152064, ae1c22fcfa7f3b3b62dd2ace4e4b4dc7 +0, 342000, 152064, ad9d13345ae5322a578e43653e9a9c16 +0, 345600, 152064, be1b86ee130ea9255d9640117559818d +0, 349200, 152064, 81ed195d2831e62fc2cd4fa886de8e20 +0, 352800, 152064, 8dde0af730b03ea8b3acd14d42daba04 +0, 356400, 152064, c8ffbd5ba1af8b881daf511e4d8c26f3