(HEVC/SAO) Using the same frame buffer for input and output, in order to skip a lot of copies