# US 2025/0379999 A1 · Encoder, decoder, encoding method, and decoding method

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

- Number: US 2025/0379999 A1
- Document ID: US20250379999A1
- Status: Published application
- Kind: A1
- Application number: 19/313,552
- Filed: 2025-08-28
- Published: 2025-12-11
- Earliest claimed: 2018-09-05
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Kiyofumi ABE; Takahiro NISHI; Tadamasa TOMA
- Web page: https://patentgrep.com/patent/US20250379999A1

## CPC

- H04N 19/52: by predictive encoding
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encoder that encodes a video includes circuitry and memory connected to the circuitry. In operation, the circuitry: generates a prediction image on a per sub-block basis; and when a sub-block size is 4×4, applies a boundary smoothing process only to sub-block boundaries having boundary positions that are integer multiples of 8.

## Claims

### Claim 1

An encoder comprising:
memory; and
a processor connected to the memory and configured to:
generate a reconstructed image based on a prediction mode selected from candidate prediction modes, the candidate prediction modes including a block prediction mode and a sub-block prediction mode; and
perform a determination process on each boundary having a pixel position of 4n, where n is an integer, wherein,
in response to the block prediction mode being selected, the determination process includes:
determining whether to apply a deblocking filter to each block boundary between a corresponding pair of adjacent blocks in the reconstructed image; and
selecting, for each block boundary, a first deblocking filter or a second deblocking filter different from the first deblocking filter; and
in response to the sub-block prediction mode being selected, the determination process includes determining whether to apply a deblocking filter to each sub-block boundary between a corresponding pair of adjacent sub-blocks among the sub-blocks in the block, wherein,
(i) each sub-block has a size of 4 by 4 pixels,
(ii) the deblocking filter is determined to be applied only to sub-block boundaries having an 8n-th pixel position,
(iii) the deblocking filter determined to be applied is the first deblocking filter,
(iv) the sub-block prediction mode is equal to affine mode, and
(v) the circuitry, in operation, generates a bitstream, the bitstream including a flag indicating the affine mode.

### Claim 2

A decoder comprising:
memory; and
a processor connected to the memory and configured to:
generate a reconstructed image based on a prediction mode selected from candidate prediction modes, the candidate prediction modes including a block prediction mode and a sub-block prediction mode; and
perform a determination process on each boundary having a pixel position of 4n, where n is an integer, wherein
in response to the block prediction mode being selected, the determination process includes:
determining whether to apply a deblocking filter to each block boundary between a corresponding pair of adjacent blocks in the reconstructed image; and
selecting, for each block boundary, a first deblocking filter or a second deblocking filter different from the first deblocking filter; and
in response to the sub-block prediction mode being selected, the determination process includes determining whether to apply a deblocking filter to each sub-block boundary between a corresponding pair of adjacent sub-blocks among the sub-blocks in the block, wherein,
(i) each sub-block has a size of 4 by 4 pixels,
(ii) the deblocking filter is determined to be applied only to sub-block boundaries having an 8n-th pixel position,
(iii) the deblocking filter determined to be applied is the first deblocking filter,
(iv) the sub-block prediction mode is equal to affine mode, and
(v) the circuitry, in operation, generates a bitstream, the bitstream including a flag indicating the affine mode.

### Claim 3

A apparatus generating a bitstream to cause a computer to perform a decoding process including:
generating a reconstructed image based on a prediction mode selected from candidate prediction modes, the candidate prediction modes including a block prediction mode and a sub-block prediction mode; and
performing a determination process on each boundary having a pixel position of 4n, where n is an integer, wherein
in response to the block prediction mode being selected, the determination process includes:
determining whether to apply a deblocking filter to each block boundary between a corresponding pair of adjacent blocks in the reconstructed image; and
selecting, for each block boundary, a first deblocking filter or a second deblocking filter different from the first deblocking filter; and
in response to the sub-block prediction mode being selected, the determination process includes determining whether to apply a deblocking filter to each sub-block boundary between a corresponding pair of adjacent sub-blocks among the sub-blocks in the block, wherein,
(i) each sub-block has a size of 4 by 4 pixels,
(ii) the deblocking filter is determined to be applied only to sub-block boundaries having an 8n-th pixel position,
(iii) the deblocking filter determined to be applied is the first deblocking filter,
(iv) the sub-block prediction mode is equal to affine mode, and
(v) the circuitry, in operation, generates a bitstream, the bitstream including a flag indicating the affine mode.
