# US 12,010,300 B2 · Encoding method and decoding method, and device implementing the same

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

- Number: US 12,010,300 B2
- Document ID: US12010300B2
- Status: Granted
- Kind: B2
- Application number: 18/191,285
- Filed: 2023-03-28
- Published: 2023-07-27
- Granted: 2024-06-11
- Earliest claimed: 2012-04-16
- Assignees: Electronics and Telecommunications Research Institute; University-Industry Cooperation Group of Kyung Hee University
- Applicants: Electronics and Telecommunications Research Institute; University-Industry Cooperation Group of Kyung Hee University
- Inventors: Hui Yong Kim; Gwang Hoon Park; Kyung Yong Kim; Sung Chang Lim; Jin Ho Lee; Jin Soo Choi; Jin Woong Kim
- Web page: https://patentgrep.com/patent/US12010300B2

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/61: in combination with predictive coding
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encoding method and decoding method, and a device implementing the same are provided. The encoding method obtains an intra prediction mode related to a current block from a video signal, obtains prediction samples of the current block by performing intra prediction on the current block based on the intra prediction mode, scans transform coefficients of the current block based on a scanning type of the current block, obtains dequantized transform coefficients of the current block by dequantizing the transform coefficients, obtains residual samples of the current block by performing an inverse-transform on the dequantized transform coefficients, the inverse-transform being performed in a horizontal direction and a vertical direction, reconstructs the current block using the residual samples and the prediction samples, and applies a deblocking filter on the reconstructed current block.

## Claims

### Claim 1

A video decoding method, comprising:
obtaining an intra prediction mode related to a current block from a video signal;
obtaining prediction samples of the current block by performing intra prediction on the current block based on the intra prediction mode;
scanning transform coefficients of the current block based on a scanning type of the current block, the scanning type of the current block being determined based on a direction of the intra-prediction mode of the current block;
obtaining dequantized transform coefficients of the current block by dequantizing the transform coefficients;
obtaining residual samples of the current block by performing an inverse-transform on the dequantized transform coefficients, the inverse-transform being performed in a horizontal direction and a vertical direction,
wherein the inverse-transform is performed by using one of discrete cosine transform (DCT) and discrete sine transform (DST), and
wherein when a size of the current block is 4×4, the DST is applied both in the horizontal direction and the vertical direction for all intra prediction direction mode and a planar mode of the current block,
reconstructing the current block using the residual samples and the prediction samples; and
applying a deblocking filter on the reconstructed current block.

### Claim 2

A video encoding method, comprising:
scanning transform coefficients of a current block based on a scanning type of the current block, the scanning type of the current block being determined based on a direction of an intra-prediction mode of the current block when a prediction mode of the current block is equal to an intra prediction;
obtaining dequantized transform coefficients of the current block by dequantizing the transform coefficients;
obtaining residual samples of the current block by performing an inverse transform on the dequantized transform coefficients, the inverse-transform being performed in a horizontal direction and a vertical direction,
wherein the inverse-transform is performed by using one of discrete cosine transform (DCT) and discrete sine transform (DST), and
wherein when a size of the current block is 4×4, the DST is applied both in the horizontal direction and the vertical direction for all intra prediction direction mode and a planar mode of the current block
reconstructing the current block using the residual samples and prediction samples of the current block; and
applying a deblocking filter on the reconstructed current block.

### Claim 3

A method for transmitting a bitstream, the method comprising:
scanning transform coefficients of a current block based on a scanning type of the current block, the scanning type of the current block being determined based on a direction of an intra-prediction mode of the current block when a prediction mode of the current block is equal to an intra prediction;
obtaining dequantized transform coefficients of the current block by dequantizing the transform coefficients;
obtaining residual samples of the current block by performing an inverse transform on the dequantized transform coefficients, the inverse-transform being performed in a horizontal direction and a vertical direction,
wherein the inverse-transform is performed by using one of discrete cosine transform (DCT) and discrete sine transform (DST), and
wherein when a size of the current block is 4×4, the DST is applied both in the horizontal direction and the vertical direction for all intra prediction direction mode and a planar mode of the current block;
reconstructing the current block using the residual samples and prediction samples of the current block; and
applying a deblocking filter on the reconstructed current block.
