hevc: code cleaning and mvd from seppo