From 84ac2f93ca112769f6f0892e5deaed5a48706dcc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 6 Aug 2014 01:27:38 +0200 Subject: avutil/pixelutils: avoid on stack arrays The arrays are fairly large and could cause problems on some embedded systems also they are not endian safe as they mix 32 and 8bit Signed-off-by: Michael Niedermayer --- tests/ref/fate/pixelutils | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests') diff --git a/tests/ref/fate/pixelutils b/tests/ref/fate/pixelutils index f7f507a5c0..fba44a6a17 100644 --- a/tests/ref/fate/pixelutils +++ b/tests/ref/fate/pixelutils @@ -1,15 +1,15 @@ -[OK] [UU] SAD [random] 2x2=314 ref=314 -[OK] [UU] SAD [random] 4x4=1129 ref=1129 -[OK] [UU] SAD [random] 8x8=4936 ref=4936 -[OK] [UU] SAD [random] 16x16=20704 ref=20704 -[OK] [AU] SAD [random] 2x2=440 ref=440 -[OK] [AU] SAD [random] 4x4=1317 ref=1317 -[OK] [AU] SAD [random] 8x8=5262 ref=5262 -[OK] [AU] SAD [random] 16x16=21040 ref=21040 -[OK] [AA] SAD [random] 2x2=196 ref=196 -[OK] [AA] SAD [random] 4x4=1225 ref=1225 -[OK] [AA] SAD [random] 8x8=4712 ref=4712 -[OK] [AA] SAD [random] 16x16=21184 ref=21184 +[OK] [UU] SAD [random] 2x2=409 ref=409 +[OK] [UU] SAD [random] 4x4=1370 ref=1370 +[OK] [UU] SAD [random] 8x8=5178 ref=5178 +[OK] [UU] SAD [random] 16x16=20946 ref=20946 +[OK] [AU] SAD [random] 2x2=320 ref=320 +[OK] [AU] SAD [random] 4x4=1522 ref=1522 +[OK] [AU] SAD [random] 8x8=5821 ref=5821 +[OK] [AU] SAD [random] 16x16=21951 ref=21951 +[OK] [AA] SAD [random] 2x2=276 ref=276 +[OK] [AA] SAD [random] 4x4=1521 ref=1521 +[OK] [AA] SAD [random] 8x8=5130 ref=5130 +[OK] [AA] SAD [random] 16x16=20775 ref=20775 [OK] [UU] SAD [max] 2x2=1020 ref=1020 [OK] [UU] SAD [max] 4x4=4080 ref=4080 [OK] [UU] SAD [max] 8x8=16320 ref=16320 -- cgit v1.2.3