Patent ID: 9743083
Date: 2017-08-22
CPC Classifications: H04N

Claim:
1. A method for decoding a video by a video decoder, the method comprising: receiving prediction information and offset information through a bitstream; generating a prediction sample based on the prediction information; generating a reconstructed picture based on the prediction sample; and performing sample adaptive offset (SAO) process on at least one of a luma sample or a chroma sample in the reconstructed picture, wherein the offset information includes first flag information indicating whether the SAO process is enabled to the luma sample or not, and second flag information indicating whether the SAO process is enabled to the chroma sample or not, and wherein the offset information includes band information indicating one of 32 bands as a starting band of a band group consisting of n (n is an integer) bands among the 32 bands, the band group is determined based on the starting band, and an offset corresponding to a band among the n bands is applied to the luma sample or the chroma sample.