# US 8,787,458 B2 · Method and apparatus for encoding video, and method and apparatus for decoding video

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

- Number: US 8,787,458 B2
- Document ID: US8787458B2
- Status: Granted
- Kind: B2
- Application number: 13/964,881
- Filed: 2013-08-12
- Published: 2013-12-12
- Granted: 2014-07-22
- Earliest claimed: 2009-08-17
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jung-hye Min; Woo-jin Han; Il-koo Kim
- Web page: https://patentgrep.com/patent/US8787458B2

## CPC

- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/115: Selection of the code volume for a coding unit prior to coding
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/593: involving spatial prediction techniques
- 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

Disclosed are a method and a apparatus for encoding a video, and a method and apparatus for decoding a video, in which neighboring pixels used to perform intra prediction on a current block to be encoded are filtered and intra prediction is performed by using the filtered neighboring pixels.

## Claims

### Claim 1

An apparatus of decoding image, the apparatus comprising:
an entropy decoder which extracts information that indicates an intra prediction mode applied to a current block to be decoded from a bitstream;
a reference pixel determining unit which determines reference pixels from among neighboring pixels adjacent to the current block and filtered neighboring pixels filtered from the neighboring pixels, based on a size of the current block and an intra prediction mode of the current block;
an intra prediction performing unit which performs intra prediction in the intra prediction mode on the current block using the extracted information and the determined reference pixels,
wherein the image is hierarchically split from a plurality of maximum coding units, according to information about a maximum size of a coding unit, into coding units of coded depths according to depths,
wherein a coding unit of a current depth is one of rectangular data units split from a coding unit of an upper depth,
wherein the coding unit is split into coding units of a lower depth, independently from neighboring coding units, and
wherein the coding unit of the current depth is split into at least one prediction unit.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the reference pixel determining unit selects a predetermined number of the neighboring pixels based on the size of the current block and filters the selected predetermined number of the neighboring pixels, to generate the filtered neighboring pixels.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the filtered neighboring pixels are obtained by using weighted average values of the neighboring pixels.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein a size of a current block is N×N, and the predetermined number of neighboring pixels comprises 2N neighboring pixels adjacent to an upper side and an upper right side of the current block and 2N neighboring pixels adjacent to a left side and a below left side of the current block.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the intra prediction performing unit performs intra prediction according to a prediction mode for performing intra prediction by using the neighboring pixels selected based on a line extending through a current pixel, the line having an angle of tan−1(dy/dx), wherein dx and dy are integers, with respect to the current pixel.
