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

Claim 0:
1. An encoder comprising:
circuitry; and
memory coupled to the circuitry, wherein
in both of a first type of residual coding where an orthogonal transform is applied to a current block and a second type of residual coding where the orthogonal transform is skipped for the current block, wherein a first syntax used for the first type of residual coding is different from a second syntax used for the second type of residual coding,
when a restriction on a number of Context-based Adaptive Binary Arithmetic Coding (CABAC) processes allows CABAC coding of a set of a plurality of coefficient information flags, each coefficient information flag relating to a coefficient included in the current block, the circuitry:
encodes the plurality of coefficient information flags by CABAC; and

when the restriction on the number of CABAC processes does not allow the CABAC coding of the set of the plurality of coefficient information flags, the circuitry:
skips the CABAC encoding of the plurality of coefficient information flags; and

the circuitry encodes a remainder value of the coefficient with Golomb-Rice code when the plurality of coefficient information flags are encoded; and
the circuitry encodes a value of the coefficient with the Golomb-Rice code when the plurality of coefficient information flags are not encoded,
wherein in the second type of residual coding, the circuitry encodes a plurality of absolute value flags, each absolute value flag relating to an absolute value of the coefficient after encoding the plurality of coefficient information flags and before encoding the remainder value of the coefficient.