SSE: Review usage of vminf, vmaxf functions, #4942
This commit is contained in:
@@ -3340,7 +3340,7 @@ void ImProcFunctions::RGB_denoise_info(Imagefloat * src, Imagefloat * provicalc,
|
||||
aNv = LVFU(acalc[i >> 1][j >> 1]);
|
||||
bNv = LVFU(bcalc[i >> 1][j >> 1]);
|
||||
_mm_storeu_ps(&noisevarhue[i1 >> 1][j1 >> 1], xatan2f(bNv, aNv));
|
||||
_mm_storeu_ps(&noisevarchrom[i1 >> 1][j1 >> 1], _mm_max_ps(c100v, _mm_sqrt_ps(SQRV(aNv) + SQRV(bNv))));
|
||||
_mm_storeu_ps(&noisevarchrom[i1 >> 1][j1 >> 1], vmaxf(vsqrtf(SQRV(aNv) + SQRV(bNv)),c100v));
|
||||
}
|
||||
|
||||
for (; j < tileright; j += 2) {
|
||||
|
Reference in New Issue
Block a user