managne layers switch
add upsampling and scaling functions
Merge branch 'shvc' of https://github.com/OpenHEVC/openHEVC into shvc