IP Library › Granted Patent US 11,956,434
Granted Patent B2
US 11,956,434 · App. 18/062,335 · Granted Apr 9, 2024

Encoder, decoder, encoding method, and decoding method

Inventors: Yusuke Kato (Osaka, JP); Kiyofumi Abe (Osaka, JP); Takahiro Nishi (Nara, JP); Tadamasa Toma (Osaka, JP)
Assignee: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
H04N19/13H04N19/176H04N19/46H04N19/1887
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 11,956,434
App. No.
18/062,335
Granted
Apr 9, 2024
Kind
B2
Abstract

An encoder includes circuitry and memory coupled to the circuitry. The circuitry, in operation, for each coefficient of a plurality of coefficients included in a block, determines a base level relating to Context-Based Adaptive Binary Arithmetic Coding (CABAC) for the coefficient, and encodes an absolute value of the coefficient. In determining the base level, when one or more flags are used in encoding the absolute value of the coefficient, the base level is determined to be a first value, and when one or more flags are not used in the encoding, the base level is determined to be a second value that is smaller than the first value. In encoding the absolute value of the coefficient, when one or more flags are not used, a rice parameter is determined based on the base level which is equal to the second value, and the coefficient is binarized using the rice parameter.

Claims (34)

1. An encoder comprising:

memory; and

a processor coupled to the memory and which, in operation, performs Context-Based Adaptive Binary Arithmetic Coding (CABAC), wherein

in prediction residual coding of a current block, the processor, in operation,

encodes a plurality of flags by CABAC, each of the plurality of flags relating to a coefficient included in the current block;

determines a base level;

calculates a prediction absolute value of the coefficient based on a sum of absolute values of five neighboring coefficients of the coefficient in the current block;

derives a rice parameter based on a difference between the prediction absolute value and the base level, wherein

if the difference is below a first value, the rice parameter is set to zero, and

if the difference is equal to or larger than the first value and smaller than a second value, the rice parameter is set to one:

encodes a remainder value of the coefficient using the derived rice parameter, wherein the remainder value is obtained by using an absolute value of the coefficient and the base level; and

encodes a sign flag indicating whether the coefficient has a positive value or a negative value if the absolute value of the coefficient is more than zero.

2. A decoder comprising:

memory; and

a processor coupled to the memory and which, in operation, performs Context-Based Adaptive Binary Arithmetic Coding (CABAC) decoding, wherein

in prediction residual decoding of a current block, the processor, in operation,

decodes a plurality of flags by CABAC decoding, each of the plurality of flags relating to a coefficient included in the current block;

determines a base level;

calculates a prediction absolute value of the coefficient based on a sum of absolute values of five neighboring coefficients of the coefficient in the current block;

derives a rice parameter based on a difference between the prediction absolute value and the base level, wherein

if the difference is below a first value, the rice parameter is set to zero, and

if the difference is equal to or larger than the first value and smaller than a second value, the rice parameter is set to one:

decodes a remainder value of the coefficient using the derived rice parameter, wherein the remainder value is obtained by using an absolute value of the coefficient and the base level; and

decodes a sign flag indicating whether the coefficient has a positive value or a negative value if the absolute value of the coefficient is more than zero.

3. A non-transitory computer readable medium storing a bitstream for a decoder to perform prediction residual decoding of a current block, the bitstream comprising:

a plurality of flags that are encoded by Context-Based Adaptive Binary Arithmetic Coding (CABAC), each of the plurality of flags relating to a coefficient included in the current block; and

a remainder value of the coefficient that is encoded by using a rice parameter,

wherein the remainder value and a base level are used to obtain an absolute value of the coefficient,

wherein the rice parameter is derived based on a difference between a prediction absolute value and the base level,

wherein the prediction absolute value of the coefficient is calculated based on a sum of absolute values of five neighboring coefficients in the current block, and

wherein

if the difference is below a first value, the rice parameter is set to zero, and

if the difference is equal to or larger than the first value and smaller than a second value, the rice parameter is set to one; and

a sign flag indicating whether the coefficient has a positive value or a negative value if the absolute value of the coefficient is more than zero.

Continuity (5)
Continuation 17865119 · Jul 14, 2022
Continuation 17173024 · Feb 10, 2021
Continuation PCTJP2019037618 · Sep 25, 2019
Provisional Application 62738399 · Sep 28, 2018
Related Publication 20230095404A1 · Mar 30, 2023
Cited By (1)
US 12,294,707