Decoding method, encoding method, corresponding devices, electronic equipment and storage medium

A decoding method and encoding technology, applied in the fields of computer-readable storage medium, decoding method, corresponding device, and encoding method, can solve the problems of encoding redundancy and inability to transmit useful information, etc.
CN112449201AActive Publication Date: 2021-03-05TENCENT TECH (SHENZHEN) CO LTD +1

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
TENCENT TECH (SHENZHEN) CO LTD
Publication Date
2021-03-05

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an encoding method, a decoding method, corresponding devices, electronic equipment and a storage medium, the encoding method comprises: determining identification information ofa block to be encoded according to first M quantization coefficients of the block to be encoded, M>=1, wherein the identification information is a first identifier or a second identifier, the first identifier is used for identifying that the first M quantization coefficients are all non-zero coefficients, the second identifier is used for identifying that the second M is a non-zero coefficient and the second identifier is used for identifying that a zero coefficient exists in the first M quantization coefficients, determining the context of the identification information, and encoding the identification information according to the context of the identification information, if the identification information is the first identification,encoding the value level of each quantization coefficient in the first M quantization coefficients, and encoding the run length run and the level of each non-zero coefficient in other quantization coefficients except the first M quantization coefficients, and if the identification information is the second identification, encoding the run and level of each non-zero quantization coefficient of the to-be-encoded block. Through the method provided by the embodiment of the invention, the code stream can be effectively saved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of encoding and decoding, and specifically, the present application relates to a decoding method, an encoding method, a corresponding device, electronic equipment, and a computer-readable storage medium. Background technique

[0002] In the current video standard, the run-level coefficient encoding method often used is to bind and encode each non-zero coefficient with its previous zero coefficient. Even if the previous zero coefficient is 0, it is necessary to encode the run. Find the corresponding coefficient position at the decoder. Such as figure 1 In the schematic diagram of run-level coefficient encoding shown, the coefficients in the encoding block are encoded in a certain scanning order, such as figure 1 The scanning order from left to right shown in , specifically, when encoding, the level of the non-zero coefficient is encoded together with the number of consecutive zero coefficients run...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More