in-place use of not-in-place operation

in-place use of not-in-place operation

Is it always possible to call a not-in-place operation using the same pointer as source buffer and destination buffer? are there any limitations?could function call fail? could this produce worse performance?for example:ippiCompare_8u_C1R, ( const Ipp8u* pSrc1, int src1Step,const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep,IppiSize roiSize, IppCmpOp ippCmpOp)with pDst == pSrc2 ( obviously of the correct type )

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.