(Hevc/xIT): Fix functions' name and small optimization.