A video entropy coding, entropy decoding method and device
An entropy encoding and encoding technology, applied in the field of video encoding, can solve the problems of variable length code table occupation, high complexity of entropy encoding and decoding, and large memory space, and achieve the goal of eliminating memory space, ensuring encoding efficiency, and reducing implementation complexity Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 Shown is a flow chart of a video entropy encoding method according to an embodiment of the present invention, and the method includes the following steps:
[0045] S101. Obtain syntax elements to be encoded in the block to be encoded;
[0046] The to-be-encoded syntax elements include: residual coefficient syntax elements or non-residual coefficient syntax elements;
[0047] The method of obtaining the residual coefficient syntax element is as follows:
[0048] A) reordering the residual coefficients of the block to be encoded after prediction and quantization according to the scanning order, and arranging the two-dimensional residual coefficients into a one-dimensional sequence;
[0049] The scanning order is a Zigzag scanning reordering method;
[0050] B) Obtaining the residual coefficient syntax element of the block to be encoded according to the one-dimensional sequence;
[0051] Acquiring the syntax element of the residual coefficient of the block to ...
Embodiment 2
[0102] The implementation process of the present invention will be described in detail below by using H.264 / AVC CAVLC entropy coding as an example to perform entropy coding on a 4×4 luma prediction residual block. Such as figure 2 Shown is a Zigzag scanning sequence diagram of a 4×4 luminance prediction residual block according to an embodiment of the present invention, wherein the values in the squares represent the luminance residual values, and the arrows represent the scanning sequence.
[0103] The residual coefficient of the 4×4 block is mapped into a one-dimensional sequence of 16 elements through Zigzag order: 0, 3, 0, 1, -1, -1, 0, 1, 0, 0, 0, 0, 0, 0 , 0, 0.
[0104] If H.264 / AVC CAVLC entropy coding is used, the residual coefficient syntax elements that need to be coded include:
[0105] (a) Number of non-zero coefficients (TotalCoeffs) = 5 and
[0106] The number of trailing coefficients (TrailingOnes) = 3;
[0107] (b) The number of zeros before the non-zer...
Embodiment 3
[0138] image 3 Shown is a schematic structural diagram of a video entropy coding device according to an embodiment of the present invention. The device includes a coding syntax element acquisition module, a first conversion module, a second conversion module, and a codeword acquisition module.
[0139] An encoding syntax element acquisition module, configured to acquire an encoding syntax element in an encoding block;
[0140] The syntax elements to be encoded include residual coefficient syntax elements or non-residual coefficient syntax elements;
[0141] The non-residual coefficient syntax elements include macroblock type, reference frame index, quantization parameter, motion vector residual, coding model or intra prediction mode;
[0142] The first conversion module is used to convert the to-be-encoded syntax element into an encoding index; including a probability and statistics distribution mapping module;
[0143] The probability and statistics distribution mapping mo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com