# US 2022/0046231 A1 · Video encoding/decoding method and device

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

- Number: US 2022/0046231 A1
- Document ID: US20220046231A1
- Status: Published application
- Kind: A1
- Application number: 17/509,343
- Filed: 2021-10-25
- Published: 2022-02-10
- Earliest claimed: 2019-04-26
- Assignees: Sz Dji Technology Co., Ltd.
- Applicants: Sz Dji Technology Co., Ltd.
- Inventors: Yan ZHOU; Xiaozhen ZHENG
- Web page: https://patentgrep.com/patent/US20220046231A1

## CPC

- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video encoding method includes selecting a pulse code modulation (PCM) mode to encode a coding block in a frame to be encoded, and indicating the PCM mode in a syntax element of intra-frame prediction mode of the coding block.

## Claims

### Claim 1

A video encoding method comprising:
selecting a pulse code modulation (PCM) mode to encode a coding block in a frame to be encoded; and
indicating the PCM mode in a syntax element of intra-frame prediction mode of the coding block.

### Claim 2 (depends on 1)

The method according to claim 1, wherein a value of the syntax element is one of a plurality of values each indicating one of a plurality of candidate encoding modes, the plurality of candidate encoding modes include N types of intra-frame prediction modes and the PCM mode, and N being a positive integer.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the plurality of values are numerical values in a continuous numerical range.

### Claim 4 (depends on 3)

The method according to claim 3, wherein a largest or smallest numerical value in the continuous numerical range is used to indicate the PCM mode.

### Claim 5 (depends on 3)

The method according to claim 3, wherein:
the continuous numerical range is 0 to M, M being a positive integer larger than or equal to N; and
different numerical values from 0 to N−1 are used to indicate different intra-frame prediction modes of the N types of intra-frame prediction modes, and N is used to indicate the PCM mode; or 0 is used to indicate the PCM mode.

### Claim 6 (depends on 2)

The method according to claim 2, wherein selecting the PCM mode to encode the coding block includes:
selecting the PCM mode from the plurality of candidate encoding modes to encode the coding block.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising, before selecting the PCM mode from the plurality of candidate encoding modes:
calculating rate distortion costs of the plurality of candidate encoding modes;
wherein selecting the PCM mode from the plurality of candidate encoding modes includes, in response to the rate distortion cost of the PCM mode being smallest among the rate distortion costs, selecting the PCM mode.

### Claim 8 (depends on 1)

The method according to claim 1, wherein encoding the coding block includes:
using a fixed-length code encoding method to encode the coding block based on the PCM mode.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
selecting a specific division mode from a plurality of division modes to perform block division on a target coding block in the frame to be encoded to obtain the coding block.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising, before selecting the specific division mode from the plurality of division modes:
calculating rate distortion costs of the plurality of division modes;
wherein selecting the specific division mode includes selecting one of the plurality of division modes that has a smallest rate distortion cost among the plurality of division modes as the specific division mode.

### Claim 11

A video decoding method comprising:
obtaining a code stream of a coding block of a frame to be decoded, the code stream including an encoded syntax element of intra-frame prediction mode of the coding block and encoded pixel information of the coding block;
decoding the encoded syntax element to obtain a syntax element of intra-frame prediction mode of the coding block;
determining a pulse code modulation (PCM) mode according to the syntax element; and
decoding the encoded pixel information according to the PCM mode.

### Claim 12 (depends on 11)

The method according to claim 11, wherein a value of the syntax element is one of a plurality of values each indicating one of a plurality of candidate encoding modes, the plurality of candidate encoding modes include N types of intra-frame prediction modes and the PCM mode, and N being a positive integer.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the plurality of values are numerical values in a continuous numerical range.

### Claim 14 (depends on 13)

The method according to claim 13, wherein a largest or smallest numerical value in the continuous numerical range is used to indicate the PCM mode.

### Claim 15 (depends on 13)

The method according to claim 13, wherein:
the continuous numerical range is 0 to M, M being a positive integer larger than or equal to N; and
different numerical values from 0 to N−1 are used to indicate different intra-frame prediction modes of the N types of intra-frame prediction modes, and N is used to indicate the PCM mode; or 0 is used to indicate the PCM mode.

### Claim 16 (depends on 11)

The method according to claim 11, wherein decoding the encoded pixel information includes:
using a fixed-length code decoding method to decode the encoded pixel information based on the PCM mode.

### Claim 17 (depends on 11)

The method according to claim 11, wherein:
the encoded syntax element is a first encoded syntax element;
the code stream further includes a second encoded syntax element of a block division mode of the coding block; and
decoding the encoded pixel information according to the PCM mode includes:
determining the block division mode of the coding block according to the second encoded syntax element; and
decoding the encoded pixel information according to the block division mode and the PCM mode.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the block division mode is no division.

### Claim 19 (depends on 11)

The method according to claim 11,
wherein:
the code stream of the coding block includes a code stream of a luminance coding block;
the frame to be decoded further includes a code stream of a chrominance coding block corresponding to the luminance coding block; and
the code stream of the chrominance block includes an encoded syntax element of intra-frame prediction mode of the chrominance block and encoded pixel information of the chrominance block;
the method further comprising:
decoding the encoded syntax element of the chrominance block to determine that an encoding mode of the chrominance block is the PCM mode; and
decoding the encoded pixel information of the chrominance block according to the PCM mode.

### Claim 20 (depends on 19)

The method according to claim 19, wherein determining that the encoding mode of the chrominance block is the PCM mode includes:
determining that the encoding mode of the chrominance block is the PCM mode in response to determining that an encoding mode of the luminance coding block is the PCM mode and a value of the syntax element of the chrominance coding block is a specific value.
