I want to use the ippsFilterMedian functions and there I found a discrepancy in the documentation. You write that the anchor is always centered at the Input element for which the median value is computed. For me this means if the masksize is 3, the anchor is in the 2. element. But in your provided example the anchor is in the last element.
pDst = median(pDlySrc, pDlySrc, pSrc);
pDst = median(pDlySrc, pSrc, pSrc);
pDst = median(pSrc, pSrc, pSrc);
After testing I determined that the example code is right. Maybe you can correct the documentation.