mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Stamp out pre-echo (hopefully)
This commit is contained in:
parent
8c29212821
commit
7825b006b4
@ -140,7 +140,7 @@ void blur_density_v(float4 *pixbuf, const float *scratch,
|
||||
den += dsrc[astride*min(astride-1, y+2)] * 0.00135f;
|
||||
|
||||
float *ddst = reinterpret_cast<float*>(&pixbuf[astride * y + x]) + 3;
|
||||
*ddst = den;
|
||||
*ddst = min(*ddst, den);
|
||||
}
|
||||
|
||||
#define W 15 // Filter width (regardless of standard deviation chosen)
|
||||
|
Loading…
Reference in New Issue
Block a user