Patent ID: 9204171
Filing Date: 2015-12-01
Classification: H04N

Abstract:
1. An apparatus for decoding a video, the apparatus comprising: a decoder to decode: a constrained offset compensation indicator indicating whether at least one of a picture, a tile, and a coding unit (CU) supports constrained offset compensation, a sample adaptive offset (SAO) compensation indicator indicating whether to perform SAO compensation, and decode an SAO parameter; and a filter unit to perform SAO compensation on a target sample within a target block of a reconstructed video based on the SAO compensation indicator and the SAO parameter, wherein the filter unit determines an offset category for the SAO compensation based on the constrained offset compensation indicator and encoding parameters of the target block of SAO compensation and at least one of neighboring blocks of the target block when an edge offset is applied to the offset compensation target sample within the target block, wherein the SAO parameter comprises at least one of an offset type, an offset category information, an offset value and an offset sign, wherein the offset type specifies whether the edge offset is applied to the offset compensation target sample or a band offset is applied to the offset compensation target sample and the offset category information specifies the offsets classified according to locations of two neighboring samples of the offset compensation target sample.