Merge branch 'dev' into newlocallab
This commit is contained in:
commit
ad6a7abc55
@ -2546,15 +2546,14 @@ void ImProcFunctions::rgbProc(Imagefloat* working, LabImage* lab, PipetteBuffer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
float tmpr[4] ALIGNED16;
|
|
||||||
float tmpg[4] ALIGNED16;
|
|
||||||
float tmpb[4] ALIGNED16;
|
|
||||||
|
|
||||||
for (int i = istart, ti = 0; i < tH; i++, ti++) {
|
for (int i = istart, ti = 0; i < tH; i++, ti++) {
|
||||||
int j = jstart, tj = 0;
|
int j = jstart, tj = 0;
|
||||||
#ifdef __SSE2__
|
#ifdef __SSE2__
|
||||||
|
float tmpr[4] ALIGNED16;
|
||||||
|
float tmpg[4] ALIGNED16;
|
||||||
|
float tmpb[4] ALIGNED16;
|
||||||
|
|
||||||
for (; j < tW - 3; j += 4, tj += 4) {
|
for (; j < tW - 3; j+=4, tj+=4) {
|
||||||
//brightness/contrast
|
//brightness/contrast
|
||||||
STVF(tmpr[0], tonecurve(LVF(rtemp[ti * TS + tj])));
|
STVF(tmpr[0], tonecurve(LVF(rtemp[ti * TS + tj])));
|
||||||
STVF(tmpg[0], tonecurve(LVF(gtemp[ti * TS + tj])));
|
STVF(tmpg[0], tonecurve(LVF(gtemp[ti * TS + tj])));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user