From 9fa3a11b22fe145559df346c90864a7855c765c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Tue, 25 Jul 2023 21:58:07 +0200 Subject: [PATCH] tests: Add a visual test for equivalence of blur quality/repetition and filters/applyFilter --- .../filters/blur_pass_scaling_test/Test.as | 99 ++++++++++++++++++ .../blur_pass_scaling_test/expected.png | Bin 0 -> 37915 bytes .../filters/blur_pass_scaling_test/image.png | Bin 0 -> 4933 bytes .../filters/blur_pass_scaling_test/output.txt | 0 .../filters/blur_pass_scaling_test/test.fla | Bin 0 -> 7620 bytes .../filters/blur_pass_scaling_test/test.swf | Bin 0 -> 1585 bytes .../filters/blur_pass_scaling_test/test.toml | 7 ++ 7 files changed, 106 insertions(+) create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/Test.as create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/expected.png create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/image.png create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/output.txt create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.fla create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.swf create mode 100644 tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.toml diff --git a/tests/tests/swfs/visual/filters/blur_pass_scaling_test/Test.as b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/Test.as new file mode 100644 index 000000000000..263c57968f25 --- /dev/null +++ b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/Test.as @@ -0,0 +1,99 @@ +package { + +import flash.display.Bitmap; +import flash.geom.Point; +import flash.display.BitmapData; +import flash.geom.Rectangle; +import flash.display.MovieClip; +import flash.filters.BlurFilter; + + +public class Test extends MovieClip { + + private static const BLURSIZE = 7; + + function row_1() { + + for (var quality = 0; quality < 10; quality += 1) { + var image : BitmapData = new Image(); + + var filter = new BlurFilter(BLURSIZE, 1, quality); + image.applyFilter(image, new Rectangle(0, 0, 80, 80), new Point(0, 0), filter); // applied only once + + var bm = new Bitmap(image); + bm.smoothing = false; + bm.y = 10; + bm.x = quality * 100 + 10; + addChild(bm); + } + } + + function row_2() { + + for (var applications = 0; applications < 10; applications += 1) { + var image : BitmapData = new Image(); + + var filter = new BlurFilter(BLURSIZE, 1, 1); // quality is always 1 + for (var i = 0; i < applications; ++i) + image.applyFilter(image, new Rectangle(0, 0, 80, 80), new Point(0, 0), filter); + + var bm = new Bitmap(image); + bm.smoothing = false; + bm.y = 110; + bm.x = i * 100 + 10; + addChild(bm); + } + } + + + function row_3() { + + for (var quality = 0; quality < 10; quality += 1) { + var image : BitmapData = new Image(); + + var filter = new BlurFilter(BLURSIZE, 1, quality); + + var bm = new Bitmap(image); + bm.smoothing = false; + bm.y = 210; + bm.x = quality * 100 + 10; + bm.filters = [filter]; // applied only once + addChild(bm); + } + } + + + function row_4() { + + for (var applications = 0; applications < 10; applications += 1) { + var image : BitmapData = new Image(); + + var filter = new BlurFilter(BLURSIZE, 1, 1); // quality is always 1 + + var filters = []; + + for (var i = 0; i < applications; ++i) + filters.push(filter); + + var bm = new Bitmap(image); + bm.smoothing = false; + bm.y = 310; + bm.x = i * 100 + 10; + bm.filters = filters; + addChild(bm); + } + } + + public function Test() { + + row_1(); + row_2(); + row_3(); + row_4(); + + + + } +} + +} \ No newline at end of file diff --git a/tests/tests/swfs/visual/filters/blur_pass_scaling_test/expected.png b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/expected.png new file mode 100644 index 0000000000000000000000000000000000000000..04518e43ffaa42d9d1444cd911e2b4b56a804e08 GIT binary patch literal 37915 zcmeHQ3s{uZx*qR}sG;se1vF$sY(0dcI3noQD1;OX^Adpx7-XPw5kb*V%nO-lKpBG2 zWs{vej37aRAsGr%!f0+8P?Vd3ih?&Jyuf+Cwf-3do%Z8tyPuxU;(2Cd#+miszW4Hd z>tp?quR1&Q(;22Clgauy&aiip$+}&V$-3<5-4pNF&2sXP$zrMOO4Px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6fOFhL_d@0XL@vYQS>uC&Hn$#i}jPdt5w)VKhx); zpGovHiGHTv=)xBLOroEOb$W_^Ce|tWa6@>fPD#obYyCT*)qihd^1&m{Vp#QIGC(bb?tKa=QZYQJXy z^>vB$nZ)``;(l}Deskh}bK-t;;(l}DeskoH#QIF)eskh}b99T@wq;Lp7dmmjIdQ)^ zalbi|kAKIkjrQ3Uu|AVnpGmCGB-UpV_nQ;0I6nTKGTP@M#r@{Q z{pQ5|=EVKxUT+osOroDj^fQTmrr&ZG+I@t$-(28nalbinzqyikQa*~KJ6VeLnZ)`` iY>tgRJ;l|P!n;QuQ4F^B{3KO|AIF!R?G@7(Mf@*vQc1Z0 literal 0 HcmV?d00001 diff --git a/tests/tests/swfs/visual/filters/blur_pass_scaling_test/image.png b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/image.png new file mode 100644 index 0000000000000000000000000000000000000000..0a80077e48f036eaa9647e8e87b0be2a4ca9f462 GIT binary patch literal 4933 zcmeHKdr%bj9bbq%1A-K4NYJils2bh7y}RAJy)DPXJ6`IU3tRz%RQ7iFV3oT)?iTJ~ z4B&$nrQ!=BO_0GB%uFbuGgYV6I@O55#PL-h4ThwQO*B_jY?D+{Q2X0Eo|DXEn8yCa z&Ft-OzmL!F_x=1nzy0lRhjDFscxPspNN zu-(C1xDpl?D(o!Gx;YC3xo_@z<)d9aXz-{jCf7f3v@PyVd_hqD;|98Aea@?%x?fVT zJ7Mm~;KSggkN@DfY}$CNCFJno_rg;;sPmr19?#3Gf41`RsWU$BX`8(N2NJ@dz^xsJf7-uI7u9g&#vVXWs|Zc$^`>%G^HHMQmp zbz~85#nr#NJbPJRWbTiV%g#al?j~z7Hs@r`uP)^TF8L%r^mP5_h09*sf!z&QSn>I; zVUl_9k|(;#w!Q) zw!F4in{g&N?(Bx_4oS=}$|Fn984s@5x|7@(v(vcfT4)#9y#7A{hUfQ1&rd&nbYP&@ zeEsysw4&C?Mz4td|*W)TE?26;l7tUt%K~O{@2b7p+SVP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!$u@ziOB(prnU22GwH>(#h8_);HB7$iIh48-K#C-CDLU}* zPVG7T;$%N6QgzWwFYesjmfgqt`z+9J$MTo4ZSz^6A<&&1rp6#jdu z>Mu(7|7nhfP6qhj6|tKs{H^^}AA|nW>TfE)&-#z=#5W!AMt<@V)&Gapk3!iW?T3}d zjr^@__Qzm96YKvjoc(Ec(|O;>zshJo$NXvh@2vbUV|~oOjrsQ+{l6jposs+nk#$4H z{v$v63*f&=|1W@NH$VQrLV$n%+y4#%e%Y7Z*#AdJ@N)vcug!lD|6c%Ce**m9VZcv} z|3yB3VSKs?WPUFBUsUv``Hw05*GBziK1BU%*Q-LYevdft0C<2=bO3;u=7-+@0U{!2 ALjV8( literal 0 HcmV?d00001 diff --git a/tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.swf b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.swf new file mode 100644 index 0000000000000000000000000000000000000000..16171e5e6aeb78a4ffc6b399173e9ab85de13a17 GIT binary patch literal 1585 zcmV-12G03IS5ptG3jhFkoTXJ;Y|~a4KF8PC>Af^9fv#=|W2)5JNiWa{+BIp)Qmty$ zb_gbQi{rSBSrP}^y*&(2c>!q>8he`dFoY(dji+ha<*hwj+RTNVCC|6z%zZ7rg2OPNnu?+2 zEltk}c3V#BGuDxomNnY>Y<`0_XST~JJ*l=UdRCm5^J1`F5^Wv;g`l!>zUqu z8zl^8WHT*{8v2xKnm{jSgy?v;&?Y2jv`k9qJQO@EZjao;r4B&p4N0MnHtAqn@ZdzS zD;(+$ciPRcByEXxk#6X)YRM_tl8b^vofA@bIM^MA`j+4#>{_^<(xw((DtHqq92U1Z z`EuT-lnrb1Ge*YwUMWRXGip}NSti&UbnHzj;VIq7%2uzO&u276wh6`gHZ!d&AI!(yuFTjbud$_oEdorD?nq=%3U%6SJv|3wJw4G_tgAZ` z?C9)YXWJ6G&ZZmMvu95#^$Bq=wO=)rM5bPCDlz^jgsm=>ejK&o;rwT!Y`smM`4tf-gqWNDRtX$`i zP)1#Ue8;*`^SJuLr{}VXA3i$&)6#=eg=>F2ZR-2$+2@si-o5(eokxAA|9KMse)Um5 zydQpYf9c*Cc;7v6`u>x?rr&|rfDzxZbLsbIG*G}*1MY_|2*jgb$Z z-8<*TyYNf?Z_zceaBFGT71|aER~2eU}TUYBZzeX+xiTKj=I|&a=aLc6uUjzcV%-e>cXABu}b}wZ=E4Wh~V& z`ABBQ7Wh{T-jKYjxPLrvXqFl%?i_I6uJ))7e=jYk8coHZcn*ZgiUqsG1@3tP z$zFF%owd){aLj($*%2+~7B`cgDUArHksjfLIj!HD57f?Oss z51j-_5SXA4;xI*F%)<;6O%|l1koqJ^GoFG}SYC+}M{PzJt1U>A-b9&{AmKia8XMF0 z5J_N;=L*t$e1J{!&_Tg+y|V>LI7|NAym-5LQK158@mAFdm}rt1A`tXXmM8cCULGnZ z7jLhuOjZO?Yhbi>sDhfTgz8WwadV`Knyg+Ks>X}03UxrPNm2n`u1!+Qfz*`%e_7r& zS(l_n>hN*^UtYYm9N_CNudc%EG|TYbOSouyD6}KtREdOEM*<8gRFwduJBmqC9|H#F zulr?nbwe3#E29HBP)38oO=)zIwDXQMh5}>MQe)oQ!I*99-@k&33`kNpk73zY;=|X@ zWGuz<-ixI^Kw+F&PwwEwG34q}=&Evnz$_#6I7!3m=_I{e_xqOBGqx^f|91rFV!(!V zVN8;8bTLJ`E;_nAkZ4{XWL6v%Mi?k86b}>*!6*lL#vLd~DzfveK}zhF5`HPMM@sCK j5;WY$aie>sDS-FYR=ZmRIma^8?eiDC36*~V4FG)`7Umld literal 0 HcmV?d00001 diff --git a/tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.toml b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.toml new file mode 100644 index 000000000000..78377bb10c56 --- /dev/null +++ b/tests/tests/swfs/visual/filters/blur_pass_scaling_test/test.toml @@ -0,0 +1,7 @@ +num_frames = 1 + +[image_comparison] +tolerance = 3 + +[player_options] +with_renderer = { optional = false, sample_count = 1 }