Sample Adaptive Offset (SAO) is a sample-based filtering operation which is operated on a CTU basis.

It is applied right after the deblocking filter, if activated. Two SAO modes are specified: edge offset and band offset. The former is driven by local directional structures in the picture to be filtered, the latter  modifies the intensity values of the samples without a dependency on the neighborhood.