I have been using Ipp7 -median filter with SetBorderMirror and my filtered image was bit matching with matlab medfilt2 (symmetric padding).
Now I am switching to IPP2017 my observation is weird.
Ipp7 -median filter for 8U image -with SetBorderMirror is different from Ipp2017 -median filter (api is in legacy) for same SetBorderMirror.
But Ipp7 -median filter for 8U image -with SetBorderReplicate is bit exact with IPP2017 median filter with SetBorderMirror. Also, both of them is matching with matlab medfilt2 ( zero padding).