Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Adventures with ippiFilterWiener (2)

$
0
0

The documentation for ippiFilterWiener says the following about the noise parameter:

If this parameter is not defined (noise = 0), then the function estimates the noise level by averaging
through the image of all local variances σi,j, and stores the corresponding values in the noise for further use.

However, when I pass noise=0.0, ippiFilterWiener crashes (with what looks like a corrupted stack). This is with IPP 9.0.2 on Mac OS X and an Intel 2.5 GHz Core 2 Duo MacBook Pro. It happens with all ippiFilterWiener variants I tried. Below, gdb info for ippiFilterWiener_32f_C1R.

Regards,

Adriaan van Os

(gdb) bt
#0 0x0044a680 in s8_ownippsSum_32fc_Accur ()
#1 0x0044a75f in s8_ownippsSum_32f_Fast ()

(gdb) info registers all
eax 0x612a9c 6367900
ecx 0x1fe 510
edx 0x44a650 4499024
ebx 0x810 2064
esp 0xbfff8474 0xbfff8474
ebp 0xbfff848c 0xbfff848c
esi 0x62f000 6483968
edi 0xb 11
eip 0x44a680 0x44a680
eflags 0x210216 2163222
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
st0 -nan(0xc000000000000000) (raw 0xffffc000000000000000)
st1 1.8429914817468991589404685143008851e-37 (raw 0x3f84fadae16000000000)
st2 1.7609456388294814816641033672841063e-37 (raw 0x3f84efb0000000000000)
st3 7.3921886536716230873355441867864221e-38 (raw 0x3f83c93c094000000000)
st4 1.2518971788368537901486625344444118e-37 (raw 0x3f84aa66400000000000)
st5 1.2952924775761875792156629182813672e-38 (raw 0x3f818d0b7c0000000000)
st6 6.9833720180014973328020631173089637e-38 (raw 0x3f83be1b000000000000)
st7 3.6056194214217565132427279466616184e-38 (raw 0x3f82c44f000000000000)
fctrl 0x137f 4991
fstat 0x3863 14435
ftag 0x8000 32768
fiseg 0x17 23
fioff 0x44a6a8 4499112
foseg 0x1f 31
fooff 0x0 0
fop 0x1f7 503
xmm0 {
v4_float = {0, 0, 0, 0.187211409},
v2_double = {0, 5.1598354856965341e-315},
v16_int8 = '\0' , ">?\264Y",
v8_int16 = {0, 0, 0, 0, 0, 0, 15935, -19367},
v4_int32 = {0, 0, 0, 1044362329},
v2_int64 = {0, 1044362329},
uint128 = 6463860900704026624
} (raw 0x59b43f3e000000000000000000000000)
xmm1 {
v4_float = {0, 0, 0, 0.067506507},
v2_double = {0, 5.1010832593468362e-315},
v16_int8 = '\0' , "=\212@\332",
v8_int16 = {0, 0, 0, 0, 0, 0, 15754, 16602},
v4_int32 = {0, 0, 0, 1032470746},
v2_int64 = {0, 1032470746},
uint128 = 15726721893375410176
} (raw 0xda408a3d000000000000000000000000)
xmm2 {
v4_float = {0, 0, 0, 0.144226447},
v2_double = {0, 5.1455833123493324e-315},
v16_int8 = '\0' , ">\023\260\031",
v8_int16 = {0, 0, 0, 0, 0, 0, 15891, -20455},
v4_int32 = {0, 0, 0, 1041477657},
v2_int64 = {0, 1041477657},
uint128 = 1851000603858173952
} (raw 0x19b0133e000000000000000000000000)
xmm3 {
v4_float = {-0.0061361026, -0.0371395648, 0.222022787, 0.15741688},
v2_double = {-1.0616635290980361e-20, 3.6044674592801975e-08},
v16_int8 = "\273\311\021\\\275\030\037\250>cY\361>!1\344",
v8_int16 = {-17463, 4444, -17128, 8104, 15971, 23025, 15905, 12772},
v4_int32 = {-1144450724, -1122492504, 1046698481, 1042362852},
v2_int64 = {-4915378428291047512, 4495535745710240228},
uint128 = 0xbbc9115cbd181fa83e6359f13e2131e4
} (raw 0xe431213ef159633ea81f18bd5c11c9bb)
xmm4 {
v4_float = {0, 0, 0.248581812, 0.173564509},
v2_double = {0, 1.1379934465744102e-07},
v16_int8 = "\000\000\000\000\000\000\000\000>~\214;>1\272\345",
v8_int16 = {0, 0, 0, 0, 15998, -29637, 15921, -17691},
v4_int32 = {0, 0, 1048480827, 1043446501},
v2_int64 = {0, 4503190863491480293},
uint128 = 16553597523710475838
} (raw 0xe5ba313e3b8c7e3e0000000000000000)
xmm5 {
v4_float = {0, -0.0061361026, -0.031003464, 0.00444444502},
v2_double = {1.5565620048787301e-314, -6.6569817986579441e-15},
v16_int8 = "\000\000\000\000\273\311\021\\\274\375\372\372;\221\242\265",
v8_int16 = {0, 0, -17463, 4444, -17155, -1286, 15249, -23883},
v4_int32 = {0, -1144450724, -1124205830, 999400117},
v2_int64 = {3150516572, -4828427272823135563},
uint128 = 0x00000000bbc9115cbcfdfafa3b91a2b5
} (raw 0xb5a2913bfafafdbc5c11c9bb00000000)
xmm6 {
v4_float = {0.111111112, 0.111111112, 0.111111112, 0.111111112},
v2_double = {1.4228543251986994e-10, 1.4228543251986994e-10},
v16_int8 = "=\343\2169=\343\2169=\343\2169=\343\2169",
v8_int16 = {15843, -29127, 15843, -29127, 15843, -29127, 15843, -29127},
v4_int32 = {1038323257, 1038323257, 1038323257, 1038323257},
v2_int64 = {4459564432529526329, 4459564432529526329},
uint128 = 0x3de38e393de38e393de38e393de38e39
} (raw 0x398ee33d398ee33d398ee33d398ee33d)
xmm7 {
v4_float = {0, 0, 0, 0},
v2_double = {0, 0},
v16_int8 = '\0' ,
v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
v4_int32 = {0, 0, 0, 0},
v2_int64 = {0, 0},
uint128 = 0
} (raw 0x00000000000000000000000000000000)
mxcsr 0x1faf 8111
mm0 {
uint64 = -4301219119115534336,
v2_int32 = {0, -1001455616},
v4_int16 = {0, 0, 0, -15281},
v8_int8 = "\000\000\000\000\000\000O\304"
} (raw 0xc44f000000000000)
mm1 {
uint64 = -4611686018427387904,
v2_int32 = {0, -1073741824},
v4_int16 = {0, 0, 0, -16384},
v8_int8 = "\000\000\000\000\000\000\000\300"
} (raw 0xc000000000000000)
mm2 {
uint64 = -370736216871534592,
v2_int32 = {0, -86318752},
v4_int16 = {0, 0, -7840, -1318},
v8_int8 = "\000\000\000\000`\341\332\372"
} (raw 0xfadae16000000000)
mm3 {
uint64 = -1175439502743699456,
v2_int32 = {0, -273678336},
v4_int16 = {0, 0, 0, -4176},
v8_int8 = "\000\000\000\000\000\000\260\357"
} (raw 0xefb0000000000000)
mm4 {
uint64 = -3946269003000840192,
v2_int32 = {0, -918812352},
v4_int16 = {0, 0, 2368, -14020},
v8_int8 = "\000\000\000\000@\t<\311"
} (raw 0xc93c094000000000)
mm5 {
uint64 = -6168172270893137920,
v2_int32 = {0, -1436139520},
v4_int16 = {0, 0, 16384, -21914},
v8_int8 = "\000\000\000\000\000@f\252"
} (raw 0xaa66400000000000)
mm6 {
uint64 = -8283390750176051200,
v2_int32 = {0, -1928627200},
v4_int16 = {0, 0, 31744, -29429},
v8_int8 = "\000\000\000\000\000|\v\215"
} (raw 0x8d0b7c0000000000)
mm7 {
uint64 = -4748201382132056064,
v2_int32 = {0, -1105526784},
v4_int16 = {0, 0, 0, -16869},
v8_int8 = "\000\000\000\000\000\000\033\276"
} (raw 0xbe1b000000000000)


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>