fixing < 18 mode
mode < 18 and clip

Merge branch 'master' of https://github.com/mkennedy3000/x265
angular working with better scaling