1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

a*b+c -> fma

This commit is contained in:
Rostislav Vasilikhin
2019-01-21 18:57:08 +03:00
parent 6de86e325f
commit a6af9c75e9
+1 -1
View File
@@ -123,7 +123,7 @@ struct RGB2YCrCb_f<float>
}
v_float32 y, cr, cb;
y = b*vc0 + g*vc1 + r*vc2;
y = v_fma(b, vc0, v_fma(g, vc1, r*vc2));
if(bidx)
std::swap(r, b);