# US 2015/0189320 A1 · Method and apparatus for encoding video based on scanning order of hierarchical data units, and method and apparatus for decoding video based on scanning order of hierarchical data units

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

- Number: US 2015/0189320 A1
- Document ID: US20150189320A1
- Status: Published application
- Kind: A1
- Application number: 14/643,658
- Filed: 2015-03-10
- Published: 2015-07-02
- Earliest claimed: 2010-02-02
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jung-hye MIN; Hae-kyung JUNG; Il-koo KIM; Min-su CHEON
- Web page: https://patentgrep.com/patent/US20150189320A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- 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/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/197: {including determination of the initial value of an encoding parameter (H04N19/56 takes precedence)}
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/587: involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence
- H04N 19/61: in combination with predictive coding
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video decoding method and apparatus and a video encoding method and apparatus based on a scanning order of hierarchical data units are provided. The decoding method includes: receiving and parsing a bitstream of an encoded video; extracting from the bitstream information about a size of a maximum coding unit for decoding a picture of the encoded video, and encoding information about a coded depth and an encoding mode for coding units of the picture, wherein the size of the maximum coding unit is a maximum size of a coding unit which is a data unit for decoding the picture; and determining a hierarchical structure of the maximum coding unit and the coding units into which the picture is divided according to depths, and decoding the picture based on the coding units, by using the information about the size of the maximum coding unit and the encoding information about the coded depth and the encoded mode.

## Claims

### Claim 1

A decoding apparatus comprising:
an extractor which extracts, from a bitstream, split information of a coding unit and partition type information; and
a decoder which splits a picture into a plurality of maximum coding units,
hierarchically splits at least one coding unit from a maximum coding unit among the plurality of maximum coding units by using the split information,
determines a position of a current prediction unit in a current coding unit among the at least one coding unit by using the partition type information, determines a lower-left position outside of the current prediction unit by using the partition type information and the position of the current prediction unit, and
when a scan index of a minimum unit corresponding to the lower-left position is less than a scan index of a minimum unit included in the current prediction unit, determines that a neighboring unit corresponding to the lower-left position is available to use for the current prediction unit,
wherein the scan index follows a raster scan order between the plural maximum coding units,
wherein the scan index follows an upper-left, upper-right, lower-left, and lower-right order between the coding units and between the minimum units in the coding units, and
wherein the lower-left position outside of the current prediction unit is determined by using the position of the current prediction unit and a height of the current prediction unit according to the partition type information.

### Claim 2 (depends on 1)

The decoding apparatus of claim 1,
wherein the current coding unit is a coding unit which is not split according to the split information, and
the prediction unit is determined by splitting the current coding by unit using the partition type information.

### Claim 3 (depends on 1)

The decoding apparatus of claim 1, wherein the partition type information indicates a partition type halving at least one of a height and a width of the current coding unit.
