X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fdcraw.C;h=b9ec466076909b8a68384e6bc37ab317792bfeb6;hp=12e36160e3f0bccd55ae405ee0dfbfa35d225e6f;hb=7ead9f7382846e81c2f8efb25780014e5f8834c3;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/dcraw.C b/cinelerra-5.1/cinelerra/dcraw.C index 12e36160..b9ec4660 100644 --- a/cinelerra-5.1/cinelerra/dcraw.C +++ b/cinelerra-5.1/cinelerra/dcraw.C @@ -1225,7 +1225,7 @@ void CLASS nikon_yuv_load_raw() { int row, col, yuv[4], rgb[3], b, c; UINT64 bitbuf=0; - + memset(yuv,0,sizeof(yuv)); for (row=0; row < raw_height; row++) for (col=0; col < raw_width; col++) { if (!(b = col & 1)) { @@ -4106,7 +4106,7 @@ void CLASS hat_transform (float *temp, float *base, int st, int size, int sc) void CLASS wavelet_denoise() { float *fimg=0, *temp, thold, mul[2], avg, diff; - int scale=1, size, lev, hpass, lpass, row, col, nc, c, i, wlast, blk[2]; + int scale=1, size, lev, hpass, lpass=0, row, col, nc, c, i, wlast, blk[2]; ushort *window[4]; static const float noise[] = { 0.8002,0.2735,0.1202,0.0585,0.0291,0.0152,0.0080,0.0044 };