Refactor bilateral filter code (lossless)
Remove duplicated functions for no clipping, bilateral chroma, and signaling. Use scaleY instead of scaleX for vertical CTU check. Fixed mixed use of short and Pel.
Edited by Vadim Seregin
Remove duplicated functions for no clipping, bilateral chroma, and signaling. Use scaleY instead of scaleX for vertical CTU check. Fixed mixed use of short and Pel.