adding support for sao luma and chroma scale