# US 2015/0189295 A1 · Video encoding method using offset adjustment according to classification of pixels by maximum encoding units and apparatus thereof, and video decoding method and apparatus thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0189295 A1
- Document ID: US20150189295A1
- Status: Published application
- Kind: A1
- Application number: 14/656,383
- Filed: 2015-03-12
- Published: 2015-07-02
- Earliest claimed: 2011-12-22
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Elena ALSHINA; Alexander ALSHIN
- Web page: https://patentgrep.com/patent/US20150189295A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/65: using error resilience
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video decoding method includes extracting offset mergence information of a current largest coding unit (LCU), the offset mergence information indicating whether to adopt a second offset parameter as a first offset parameter of the current LCU; reconstructing the first offset parameter of the current LCU based on the offset mergence information, the first offset parameter including an offset type, an offset value, and an offset class of the current LCU; determining whether the current LCU is an edge type or a band type, based on the offset type; determining an edge direction according to the edge type or a band range according to the band type, based on the offset class; determining a difference value between reconstructed pixels and original pixels included in the offset class, based on the offset value; and adjusting pixel values of reconstructed pixels based on the difference value.

## Claims

### Claim 1

A video decoding apparatus comprising:
a processor which is configured for obtaining, from a bitstream, left offset merging information indicating whether an offset parameter of a current block is determined according to an offset parameter of a left block, and compensating for samples of the current block by using offset values,
wherein:
when the left offset merging information indicates that the offset parameter of the current block is determined according to the offset parameter of the left block, the processor is configured for determining an offset type of a luma component of the current block using an offset type of a luma component of the left block and determining an offset type of a chroma component of the current block using an offset type of a chroma component of the left block;
when the left offset merging information indicates that the offset parameter of the current block is not determined according to the offset parameter of the left block, the processor is configured for obtaining, from the bitstream, upper offset merging information indicating whether the offset parameter of the current block is determined according to an offset parameter of an upper block;
when the upper offset merging information indicates that the offset parameter of the current block is determined according to the offset parameter of the upper block, the processor is configured for determining the offset type of a luma component of the current block using an offset type of a luma component of the upper block and determining the offset type of a chroma component of the current block using an offset type of a chroma component of the upper block;
when the upper offset merging information indicates that the offset parameter of the current block is not determined according to the offset parameter of the upper block, the processor is configured for obtaining, from the bitstream, offset type information of the luma component of the current block and offset type information of the chroma component of the current block,
the offset parameter includes at least one of an offset type information and the offset values,
the offset type information indicates the offset type or whether to apply the offset values to the current block, and
the offset type is one of a band offset type and an edge offset type.

### Claim 2 (depends on 1)

The video decoding apparatus of claim 1, wherein, when the left offset merging information indicates that the offset parameter of the current block is determined according to the offset parameter of the left block, the offset parameter of the current block is not obtained from the bitstream.

### Claim 3 (depends on 1)

The video decoding apparatus of claim 1, wherein, when the left offset merging information indicates that the offset parameter of the current block is determined according to the offset parameter of the left block, offset values of the current block are determined according to offset values of the left block,
when the upper offset merging information indicates that the offset parameter of the current block is determined according to the offset parameter of the upper block, offset values of the current block are determined according to offset values of the upper block.
