IP Library › Granted Patent US 10,257,517
Granted Patent B2
US 10,257,517 · App. 15/457,154 · Granted Apr 9, 2019

Method and apparatus for entropy encoding using hierarchical data unit, and method and apparatus for decoding

Inventors: Tammy Lee (Seoul, KR); Jianle Chen (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04N19/13H04N19/119H04N19/12H04N19/136H04N19/157H04N19/176H04N19/18H04N19/186H04N19/30H04N19/426H04N19/46H04N19/60H04N19/61H04N19/70H04N19/91H04N19/96H04N19/184
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,257,517
App. No.
15/457,154
Granted
Apr 9, 2019
Kind
B2
Abstract

Provided are video encoding and decoding methods and apparatuses. The video encoding method includes: encoding a video based on data units having a hierarchical structure; determining a context model used for entropy encoding a syntax element of a data unit based on at least one piece of additional information of the data units; and entropy encoding the syntax element by using the determined context model.

Claims (99)

1. A video decoding apparatus comprising:

one or more processors; and

a memory storing a program which causes the one or more processors to:

obtain, from a bitstream, a split transformation flag indicating whether a transformation unit included in a coding unit is split,

obtain a current transformation unit from the coding unit based on the split transformation flag,

determine a context model using a context model index determined based on a size of the current transformation unit and a value of a color component index of a picture including the current transformation unit, without using any syntax elements from blocks neighboring the coding unit, wherein the color component index is set with respect to a luminance color component, a first chrominance color component, and a second chrominance color component, and the color component index for the luminance color component has a value of zero, the color component index for the first chrominance color component has a value of one, and the color component index for the second chrominance color component has a value of two,

obtain a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the current transformation unit by decoding the bitstream using Context Adaptive Binary Arithmetic Coding (CABAC) based on the context model, and

obtain a transformation coefficient included in the current transformation unit based on the transformation coefficient flag,

wherein the one or more processors obtain information indicating a most probable symbol (MPS) based on the context model,

wherein the picture is split into a plurality of maximum coding units according to information about a maximum size of the coding unit,

a maximum coding unit, of the plurality of maximum coding units, is hierarchically split into one or more coding units of depths including at least one of a current depth and a lower depth according to split information,

when the split information indicates a split for the current depth, a coding unit of the current depth is split into four coding units of the lower depth, independently from neighboring coding units, and

when the split information indicates a non-split for the current depth, one or more transformation units are obtained from the coding unit of the current depth.

2. A video encoding method comprising:

determining a transformation unit from a coding unit;

generating a split transformation flag indicating whether the transformation unit included in the coding unit is split;

determining a context model using a context model index determined based on a size of the transformation unit and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit;

obtaining a transformation coefficient included in the transformation unit;

generating a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit; and

performing entropy-encoding the transformation coefficient flag based on the context model;

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two, and

wherein the entropy-encoding is performed according to a context-adaptive binary arithmetic coding process.

3. A video encoding apparatus comprising:

a splitter which determines a transformation unit from a coding unit and generates a split transformation flag indicating whether the transformation unit included in the coding unit is split;

a context modeler which determines a context model using a context model index determined based on a size of the transformation unit and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit, wherein the color component index is set with respect to a luminance color component, a first chrominance color component, and a second chrominance color component, and the color component index for the luminance color component has a value of zero, the color component index for the first chrominance color component has a value of one, and the color component index for the second chrominance color component has a value of two; and

an entropy encoder which performs entropy-encoding a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit using Context Adaptive Binary Arithmetic Coding (CABAC) based on the context model,

wherein the splitter, the context modeler and the entropy encoder are implemented by at least one processor.

4. A video encoding method comprising:

determining a transformation unit from a coding unit;

generating a split transformation flag indicating whether the transformation unit included in the coding unit is split;

determining a context model using a context model index determined based on a size of the transformation unit and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit;

obtaining a transformation coefficient included in the transformation unit;

generating a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit; and

performing entropy-encoding the transformation coefficient flag based on the context model,

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two,

wherein the entropy-encoding is performed according to a context-adaptive binary arithmetic coding process, and

wherein the context model includes information indicating a most probable symbol (MPS).

5. A video encoding apparatus comprising:

a splitter which determines a transformation unit from a coding unit and generates a split transformation flag indicating whether the transformation unit included in the coding unit is split;

a context modeler which determines a context model using a context model index determined based on a size of the transformation unit and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit, wherein the color component index is set with respect to a luminance color component, a first chrominance color component, and a second chrominance color component, and the color component index for the luminance color component has a value of zero, the color component index for the first chrominance color component has a value of one, and the color component index for the second chrominance color component has a value of two; and

an entropy encoder which performs entropy-encoding a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit using Context Adaptive Binary Arithmetic Coding (CABAC) based on the context model,

wherein the context model includes information indicating a most probable symbol (MPS), and

wherein the splitter, the context modeler and the entropy encoder are implemented by at least one processor.

6. A video encoding method comprising:

determining a transformation unit from a coding unit;

generating a split transformation flag indicating whether the transformation unit included in the coding unit is split;

determining a context model using a context model index determined based on a size of the transformation unit and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit;

obtaining a transformation coefficient included in the transformation unit;

generating a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit; and

performing entropy-encoding the transformation coefficient flag based on the context model,

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two, and

wherein the entropy-encoding is performed according to a context-adaptive binary arithmetic coding process and further comprises:

determining a Most Probable Symbol (MPS) between 0 and 1 based on the context model;

determining a probability state index based on the context model; and

encoding the transformation coefficient flag based on the determined MPS and the probability state index.

7. A non-transitory computer-readable medium for storing data associated with a video, comprising a bitstream stored in the non-transitory computer readable medium, the bitstream including:

a split transformation flag indicating whether a transformation unit included in a coding unit is split; and

a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit,

wherein the transformation coefficient flag is obtained by decoding the bitstream using Context Adaptive Binary Arithmetic Coding (CABAC) based on a context model,

wherein the context model is determined using a context model index determined based on a size of the transformation unit determined based on the split transformation flag and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit, and

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two.

8. A non-transitory computer-readable medium for storing data associated with a video, comprising a bitstream stored in the non-transitory computer readable medium, the bitstream including:

a split transformation flag indicating whether a transformation unit included in a coding unit is split; and

a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit,

wherein the transformation coefficient flag is obtained by decoding the bitstream using Context Adaptive Binary Arithmetic Coding (CABAC) based on a context model,

wherein the context model is determined using a context model index determined based on a size of the transformation unit determined based on the split transformation flag and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit,

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two, and

wherein the context model includes information indicating a most probable symbol (MPS).

9. A non-transitory computer-readable medium for storing data associated with a video, comprising a bitstream stored in the non-transitory computer readable medium, the bitstream including:

a split transformation flag indicating whether a transformation unit included in a coding unit is split; and

a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit,

wherein the transformation coefficient flag is obtained by decoding the bitstream using Context Adaptive Binary Arithmetic Coding (CABAC) based on a context model,

wherein the context model is determined using a context model index determined based on a size of the transformation unit determined based on the split transformation flag and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit, and

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two,

wherein the decoding using the CABAC further comprises:

determining a Most Probable Symbol (MPS) between 0 and 1 based on the context model;

determining a probability state index based on the context model; and

encoding the transformation coefficient flag based on the determined MPS and the probability state index.

10. A non-transitory computer-readable medium for storing data associated with a video, comprising a bitstream stored in the non-transitory computer readable medium, the bitstream including:

a split transformation flag indicating whether a transformation unit included in a coding unit is split; and

a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit,

wherein the transformation coefficient flag is obtained by decoding the bitstream using Context Adaptive Binary Arithmetic Coding (CABAC) based on a context model,

wherein the context model is determined using a context model index determined based on a size of the transformation unit determined based on the split transformation flag and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit,

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two,

wherein the picture is split into a plurality of maximum coding units according to information about a maximum size of the coding unit,

a maximum coding unit, of the plurality of maximum coding units, is hierarchically split into one or more coding units of depths including at least one of a current depth and a lower depth according to split information,

when the split information indicates a split for the current depth, a coding unit of the current depth is split into four coding units of the lower depth, independently from neighboring coding units, and

when the split information indicates a non-split for the current depth, one or more transformation units are obtained from the coding unit of the current depth.

11. A non-transitory computer-readable medium for storing data associated with a video, comprising a bitstream stored in the non-transitory computer readable medium, the bitstream including:

a split transformation flag indicating whether a transformation unit included in a coding unit is split; and

a transformation coefficient flag indicating whether at least one non-zero coefficient is included in a block of the transformation unit,

wherein the transformation coefficient flag is obtained by decoding the bitstream using Context Adaptive Binary Arithmetic Coding (CABAC) based on a context model,

wherein the context model includes information indicating a most probable symbol (MPS),

wherein the context model is determined using a context model index determined based on a size of the transformation unit determined based on the split transformation flag and a value of a color component index of a picture to which the transformation unit belongs, without using any syntax elements from blocks neighboring the coding unit,

wherein the color component index is set with respect to a luminance component, a first chrominance component, and a second chrominance component and the color component index for the luminance component has a value of zero, the color component index for the first chrominance component has a value of one, and the color component index for the second chrominance component has a value of two,

wherein the picture is split into a plurality of maximum coding units according to information about a maximum size of the coding unit,

a maximum coding unit, of the plurality of maximum coding units, is hierarchically split into one or more coding units of depths including at least one of a current depth and a lower depth according to split information,

when the split information indicates a split for the current depth, a coding unit of the current depth is split into four coding units of the lower depth, independently from neighboring coding units, and

when the split information indicates a non-split for the current depth, one or more transformation units are obtained from the coding unit of the current depth.

Continuity (5)
Continuation 14603268 · Jan 22, 2015
Continuation 14130541
Provisional Application 61548423 · Oct 18, 2011
Provisional Application 61503685 · Jul 1, 2011
Related Publication 20170188031A1 · Jun 29, 2017
Cited By (2)
US 12,452,427 US 12,634,461