# US 9,357,219 B2 · Video encoding apparatus and video decoding apparatus

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

- Number: US 9,357,219 B2
- Document ID: US9357219B2
- Status: Granted
- Kind: B2
- Application number: 14/455,549
- Filed: 2014-08-08
- Published: 2014-11-27
- Granted: 2016-05-31
- Earliest claimed: 2009-04-08
- Assignees: Sharp Kabushiki Kaisha
- Applicants: Sharp Kabushiki Kaisha
- Inventors: Tomoyuki Yamamoto; Tomohiro Ikai
- Web page: https://patentgrep.com/patent/US9357219B2

## CPC

- H04N 19/513: Processing of motion vectors
- 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/134: characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

While maintaining a high degree of freedom in choosing partition sizes and transformation sizes adapted for local characteristics of videos, the amount of metadata is decreased. A video encoding apparatus (10) divides an input video into blocks of a prescribed size and encodes the video block by block. The video encoding apparatus is provided with: a prediction parameter determining portion (102) that decides the block partition structure; a predictive image producing portion (103) that generates predictive images, partition by partition, as prescribed by the partition structure; a transform coefficient producing portion (107) which applies one of the frequency transformations included in a prescribed transformation preset to prediction residuals, i.e. the differences between predictive images and the input video; a transform restriction deriving portion (104) which generates the list of transform candidate, i.e. lists of frequency transformations that can be applied to each partition, on the basis of partition format information; and a variable-length-encoding portion (108) which, on the basis of the list of transform candidate and the transformation preset, performs variable-length encoding on transformation selection flags.

## Claims

### Claim 1

A video decoding apparatus that executes a decoding processing for input encoded data for each block, comprising:
a variable-length decoding portion that decodes a partition structure of a block to be processed from the input encoded data; a predictive image producing portion that produces a predictive image for each partition that is specified by the partition structure; and
a transform candidate deriving portion that determines a list of transform candidate that is a list of applicable transforms based on partition shape information, which partition shape information characterizes each partition with respect to at least one of partition size, a feature of partition size, and a layer in the partition structure, wherein
the variable-length-decoding portion decodes a transform selection flag based on the input encoded data and the list of transform candidate as well as decodes a transform coefficient of the block to be processed based on the transform selection flag,
the video decoding apparatus further comprises:
a prediction residual reconstructing potion that reconstructs a prediction residual by applying inverse transforms to the transform coefficient, the inverse transforms corresponding to transforms, the transforms being specified by the transform selection flag; and
a local decoded image producing portion that outputs decoded image data based on the predictive image and the prediction residual, the decoded image data corresponding to the block to be processed;
wherein the partition structure is expressed by a layer structure, and specifies that each partition is included in either layer corresponding to a shape of the partition.

### Claim 2

A video encoding apparatus that divides an input video into predetermined size blocks and executes an encoding processing for each block, comprising:
a prediction parameter determining portion that determines a partition structure of the block;
a predictive image producing portion that produces a predictive image for each partition specified by the partition structure;
a transform coefficient producing portion that applies any one of transforms included in a predetermined transform preset to a prediction residual that is a difference between the predictive image and the input video;
a transform candidate deriving portion that determines a list of transform candidate that is a list of applicable transforms based on partition shape information, which partition shape information characterizes each partition with respect to at least one of partition size, a feature of partition size, and a layer in the partition structure;
a frequency transform determining portion that, for each of the blocks, determines a transform selection flag indicating transforms to be applied to the prediction residual in the block from among transforms included in the list of transform candidate; and
a variable-length-encoding portion that variable-length-codes the transform selection flag based on the list of transform candidate;
wherein the partition structure is expressed by a layer structure, and specifies that each partition is included in either layer corresponding to a shape of the partition.
