Patent ID: 11956434
Assignee: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 2:
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.