# US 9,357,216 B2 · Method of generating quantized block

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

- Number: US 9,357,216 B2
- Document ID: US9357216B2
- Status: Granted
- Kind: B2
- Application number: 14/620,990
- Filed: 2015-02-12
- Published: 2015-06-04
- Granted: 2016-05-31
- Earliest claimed: 2011-11-04
- Assignees: Infobridge Pte. Ltd.
- Applicants: Infobridge Pte. Ltd.
- Inventors: Soo Mi Oh; Moonock Yang
- Web page: https://patentgrep.com/patent/US9357216B2

## CPC

- H04N 19/124: Quantisation
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/197: {including determination of the initial value of an encoding parameter (H04N19/56 takes precedence)}
- H04N 19/198: {including smoothing of a sequence of encoding parameters, e.g. by averaging, by choice of the maximum, minimum or median value}
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N 19/63: using sub-band based transform, e.g. wavelets
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Provided is a method that derives an intra prediction mode of a prediction unit, selects an inverse scan pattern of a current transform unit among a diagonal scan, a vertical scan and a horizontal scan based on the intra prediction mode and a size of the transform unit, and generates a quantized block by inversely scanning significant flags, coefficients signs and coefficient levels according to the selected inverse scan pattern. If the transform unit is larger than a predetermined size, multiple subsets are generated and inversely scanned. Therefore, the amount of coding bits of the residual block is reduced by determining the scan pattern based on the size of the transform unit and the intra prediction mode, and by applying the scan pattern to each subset. Also, the signaling bits decreases by generating MPM group adaptively according to the neighboring intra prediction modes.

## Claims

### Claim 1

A method of generating a quantized block, comprising:
deriving an intra prediction mode of a current prediction unit using an MPM group including three intra prediction modes which are determined according to left and above intra prediction modes of the current prediction unit;
selecting an inverse scan pattern based on the intra prediction mode and a size of a transform unit; and
generating the quantized block by inversely scanning significant flags, coefficient signs and coefficient levels according to the selected inverse scan pattern,
wherein the inverse scan pattern is one of a diagonal scan, a vertical scan and a horizontal scan,
wherein when the left intra prediction mode and the above intra prediction mode are the same with each other and the left intra prediction mode is one of two non-directional intra prediction modes, the MPM group includes the two non-directional intra prediction modes and a vertical mode, and
wherein when both of the left intra prediction mode and the above intra prediction mode are unavailable, the MPM group includes the two non-directional intra prediction modes and the vertical mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein if the size of the transform unit is equal or smaller than 8×8, the inverse scan pattern is determined by the intra prediction mode.

### Claim 3 (depends on 2)

The method of claim 2, wherein the horizontal scan is applied for the vertical mode and a predetermined number of neighboring intra prediction modes of the vertical mode, the vertical scan is applied for a horizontal mode and the predetermined number of neighboring intra prediction modes of the horizontal mode, and the diagonal scan is applied for all other intra prediction modes.

### Claim 4 (depends on 3)

The method of claim 3, wherein if the size of the transform unit is 8×8, the predetermined number is 8.

### Claim 5 (depends on 1)

The method of claim 1, wherein if the size of the transform unit is larger than 8×8, the diagonal scan is applied for all intra prediction modes.

### Claim 6 (depends on 1)

The method of claim 1, wherein if the size of the transform unit is 8×8, the significant flags, the coefficient signs and the coefficient levels are inversely scanned in a unit of a subset to generate a plurality of subsets and the quantized block is generated by inversely scanning the plurality of subsets according to the inverse scan pattern which is determined by the intra prediction mode.

### Claim 7 (depends on 6)

The method of claim 6, wherein a number of encoded subsets is determined using a last non-zero coefficient position and the selected inverse scan pattern.

### Claim 8 (depends on 6)

The method of claim 6, wherein the plurality of subsets to be generated are determined using a plurality of non-zero subset flags, and the plurality of subsets are generated by applying the inverse scan pattern to the significant flags, the coefficient signs and the coefficients levels.

### Claim 9 (depends on 1)

The method of claim 1, wherein when the left intra prediction mode is a DC mode and the above intra prediction mode is the DC mode, the MPM group includes the DC mode, a planar mode and the vertical mode.

### Claim 10 (depends on 1)

The method of claim 1, wherein when the left intra prediction mode is a planar mode and the above intra prediction mode is the planar mode, the MPM group includes a DC mode, the planar mode and the vertical mode.
