you can use `src.ptr<float>(i)` instead of `(Ipp32f*)(src.data+i*src.step)`