added 10bit support to weighted functions
Merge branch 'hevc' of https://github.com/OpenHEVC/openHEVC.git into hevc