Fix problem with sanity check of transform ecc with ipp resize
Merge pull request #2668 from vbystricky:perf_TransformECC