Commit a6af9c75 authored by Rostislav Vasilikhin's avatar Rostislav Vasilikhin

a*b+c -> fma

parent 6de86e32
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment