mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
a*b+c -> fma
This commit is contained in:
parent
6de86e325f
commit
a6af9c75e9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user