(Hevc/GenerateBs) : Fix bug with overflow.
(Hevc/Sao) : Removing useless divisions.
(Hevc/Sao) : Removing useless divisions.
(Hevc/Sao) : Removing useless divisions.