# US 2025/0168405 A1 · Video decoding apparatus and video coding apparatus

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

- Number: US 2025/0168405 A1
- Document ID: US20250168405A1
- Status: Published application
- Kind: A1
- Application number: 18/839,075
- Filed: 2023-02-20
- Published: 2025-05-22
- Earliest claimed: 2022-02-22
- Assignees: Sharp Kabushiki Kaisha
- Applicants: Sharp Kabushiki Kaisha
- Inventors: Tomonori HASHIMOTO; Tomohiro IKAI; Yukinobu YASUGI; Tomoko AONO
- Web page: https://patentgrep.com/patent/US20250168405A1

## CPC

- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Video coding and decoding apparatuses that can enhance coding efficiency are provided. A video decoding apparatus according to an aspect of the present invention includes a parameter decoder configured to decode a transform coefficient and a coefficient sign prediction error from coded data, and a sign prediction unit configured to predict a sign of the transform coefficient. The sign prediction unit derives a cost with reference to a boundary pixel with a neighboring block for a candidate of a combination of signs of transform coefficients without sign information, selects the sign, based on the cost, and modifies the predicted transform coefficient sign, using the coefficient sign prediction error decoded by the parameter decoder. The sign prediction unit divides the transform coefficients without the sign information into multiple groups, and performs the prediction on a transform coefficient of the transform coefficients for each of the multiple groups.

## Claims

### Claim 1

A video decoding apparatus comprising:
a parameter decoder that decodes a transform coefficient and a coefficient sign prediction error from coded data; and
a sign prediction circuitry that predicts a sign of the transform coefficient, wherein
the sign prediction circuitry:
divides signs of the transform coefficients without the sign information into a plurality of groups and predicts the signs of transform coefficients of each groups based on a cost with reference to a boundary pixel with a neighboring block,
performs the prediction of the sign for each group sequentially,
derives the cost for a group to be processed N-th, by setting the value of the transform coefficient whose sign is not determined at the time of processing the sign to zero,
derives the cost for groups to be processed after the N-th, by using the sign determined for the groups processed up to the N-th group, and
modifies the predicted sign of the transform coefficient, using the coefficient sign prediction error.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The video decoding apparatus according to claim 1, wherein
the sign prediction circuitry changes a number of signs to be predicted, depending on a size of a target block.

### Claim 4 (depends on 1)

The video decoding apparatus according to claim 1, wherein
the parameter decoder decodes a flag indicating whether to use non-separable transform in a target block, and
only in a case that the flag indicates that a non-separable transform is not used, the sign prediction circuitry sets an internal variable equal to 1, the internal variable indicating whether to use sign prediction, and predicts the sign of the target block.

### Claim 5 (depends on 1)

The video decoding apparatus according to claim 1, wherein
the parameter decoder decodes a parameter indicating whether to use non-separable transform, and in a case that the non-separable transform is not used, the parameter decoder decodes a parameter indicating whether to use sign prediction.

### Claim 6 (depends on 1)

The video decoding apparatus according to claim 1, wherein
the parameter decoder decodes a parameter indicating whether to use a scaling matrix, and in a case that the scaling matrix is not used, the parameter decoder decodes a parameter indicating whether to use sign prediction.

### Claim 7

A video coding apparatus comprising:
a parameter coder that codes a transform coefficient and a coefficient sign prediction error; and
a sign prediction circuitry that predicts a sign of the transform coefficient, wherein
the sign prediction circuitry:
divides signs of the transform coefficients without the sign information into a plurality of groups and predicts the signs of transform coefficients of each groups, based on a cost with reference to a boundary pixel with a neighboring block,
performs the prediction of the sign for each group sequentially,
derives the cost for a group to be processed N-th, by setting the value of the transform coefficient whose sign is not determined at the time of processing the sign to zero,
derives the cost for groups to be processed after the N-th, by using the sign determined for the groups processed up to the N-th group, and
modifies the predicted sign of the transform coefficient, using the coefficient sign prediction error.

### Claim at position 8

8-12. (canceled)

### Claim 13 (depends on 1)

The video decoding apparatus according to claim 1, wherein
the transform coefficients of the group to be processed N-th are located on a lower frequency side in a scan order than the transform coefficients of the group to be processed (N+1)-th.

### Claim 14 (depends on 1)

The video decoding apparatus according to claim 1, wherein
absolute values of the transform coefficients of the group to be processed N-th are equal to or greater than absolute values of the transform coefficients of the group to be processed (N+1)-th.

### Claim 15 (depends on 7)

The video coding apparatus according to claim 7, wherein
the transform coefficients of the group to be processed N-th are located on a lower frequency side in a scan order than the transform coefficients of the group to be processed (N+1)-th.

### Claim 16 (depends on 7)

The video coding apparatus according to claim 7, wherein
absolute values of the transform coefficients of the group to be processed N-th are equal to or greater than absolute values of the transform coefficients of the group to be processed (N+1)-th.

### Claim 17

A video decoding method including:
decoding a transform coefficient and a coefficient sign prediction error from coded data;
dividing signs of the transform coefficients without the sign information into a plurality of groups; and
predicting the signs of transform coefficients of each groups based on a cost with reference to a boundary pixel with a neighboring block,
wherein
the prediction of the sign for each group is performed sequentially,
the cost for a group to be processed N-th is derived by setting the value of the transform coefficient whose sign is not determined at the time of processing the sign to zero,
the cost for groups to be processed after the N-th is derived by using the sign determined for the groups processed up to the N-th group, and
the predicted sign of the transform coefficient is modified by using the coefficient sign prediction error.
