CN109788284B - Decoding method and device of quantization block and electronic equipment - Google Patents
Decoding method and device of quantization block and electronic equipment Download PDFInfo
- Publication number
- CN109788284B CN109788284B CN201910144295.2A CN201910144295A CN109788284B CN 109788284 B CN109788284 B CN 109788284B CN 201910144295 A CN201910144295 A CN 201910144295A CN 109788284 B CN109788284 B CN 109788284B
- Authority
- CN
- China
- Prior art keywords
- value
- decoding
- coefficient
- scanning
- scanning position
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000013139 quantization Methods 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 5
- 230000009466 transformation Effects 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 8
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/93—Run-length coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/129—Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/13—Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/18—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a set of transform coefficients
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The embodiment of the specification provides a method and a device for decoding a quantized block and electronic equipment. The method comprises the following steps: determining the scanning sequence of the quantized coefficients in the quantized block, initializing the scanning position of the quantized coefficients, and decoding a run length; adding the subscript value of the current scanning position and the value of the run length to obtain the scanning position of the nonzero coefficient, and decoding the value of the nonzero coefficient; judging whether the subscript value of the nonzero coefficient is the maximum subscript value or not, and finishing decoding of the quantized block when the subscript value of the nonzero coefficient is the maximum subscript value; otherwise, judging whether an undecoded non-zero coefficient exists, and ending the decoding of the quantization block when the undecoded non-zero coefficient does not exist; and when the non-decoded nonzero coefficient exists, adding 1 to the subscript value of the nonzero coefficient to obtain an updated current scanning position, and continuously decoding the next run length by taking the current scanning position as an initial scanning position until the decoding of the quantized block is completed. By adopting the technical scheme, the decoding efficiency of the quantization block can be improved.
Description
Technical Field
The present disclosure relates to the field of video encoding and decoding technologies, and in particular, to a method and an apparatus for decoding a quantization block, and an electronic device.
Background
In the process of video encoding and decoding, when a frame of image is decoded, encoding information of each encoding unit, such as a dividing mode of a prediction unit and a transformation unit, a quantization block, prediction information, and the like, is usually obtained by decoding from a code stream. Performing corresponding intra-frame or inter-frame prediction according to the prediction information to obtain a prediction image block corresponding to the prediction unit, performing inverse quantization on the quantized block to obtain an inverse transform block, performing inverse transform on the inverse transform block to obtain a residual image block, and adding the residual image block and the corresponding prediction image block to obtain a reconstructed image block; and after loop filtering, a reconstructed image composed of the reconstructed image blocks is provided for a subsequent frame reference.
In the prior art, in the process of entropy decoding a code stream to obtain a quantized block, because the size of the quantized block may be relatively large, more time is often needed when decoding a quantized coefficient by using the conventional run-length decoding mode, thereby reducing the decoding efficiency of the quantized block.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus and an electronic device for decoding a quantized block, so as to solve the problem in the prior art that when a run-length decoding manner is used to decode quantized coefficients, more time is required, and the decoding efficiency of the quantized block is reduced.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides a method for decoding a quantized block, including:
step 110: determining the scanning sequence of the quantization coefficients in the quantization block according to the determined scanning method;
step 120: initializing the scanning position of the quantization coefficient in the quantization block according to the scanning sequence, and decoding a run length starting from the initialized scanning position; the scanning position is a subscript of a quantization coefficient in the scanning order;
step 130: adding the subscript value corresponding to the current scanning position with the value of the next run length from the beginning of the current scanning position to obtain the scanning position of the nonzero coefficient, and decoding the value of the nonzero coefficient corresponding to the scanning position;
step 140: determining whether the subscript value of the non-zero coefficient is the maximum subscript value, and ending decoding of the quantization block when the subscript value of the non-zero coefficient is the maximum subscript value; otherwise, decoding the quantized coefficient end flag bit, judging whether an undecoded non-zero coefficient still exists according to the decoding result of the quantized coefficient end flag bit, and ending the decoding of the quantized block when the undecoded non-zero coefficient does not exist;
step 150: when there is an undecoded nonzero coefficient, updating the current scanning position, adding 1 to the subscript value of the decoded nonzero coefficient as the updated current scanning position, decoding the next run length starting from the updated current scanning position, and returning to the step 130.
Optionally, the determining, according to the determined scanning method, a scanning order of the quantized coefficients in the quantized block includes:
and determining the scanning order of the quantized coefficients in the quantized block according to a zigzag scanning method so as to convert the two-dimensional quantized block into a one-dimensional array through the scanning order.
Optionally, the decoding a run length includes:
step 310: a variable is configured in advance, and the initial value of the variable is zero;
step 320: sequentially analyzing the code stream to obtain a binary symbol, judging whether the binary symbol is 1, if the binary symbol is 1, taking the value of the current variable as the value of the run length, and finishing the decoding of the run length; otherwise, updating the variable, adding 1 to the value of the variable to serve as the updated value of the current variable, and judging whether the value of the current variable is smaller than a threshold value or not;
step 330: when the value of the current variable is smaller than the threshold value, returning to the step 320;
step 340: when the value of the current variable is larger than or equal to the threshold value, analyzing the subsequent binary symbol string in a zero-order exponential Golomb code mode to obtain a value corresponding to the subsequent binary symbol string, adding the value corresponding to the subsequent binary symbol string and the threshold value to be used as the value of the run length, and finishing the decoding of the run length.
Optionally, the threshold is set to 2, 4, 8, 16 or 32.
Optionally, after decoding the value of the nonzero coefficient corresponding to the scanning position, the method further includes: and assigning the value of the non-zero coefficient obtained by decoding to the position of the corresponding quantization coefficient in the quantization block according to the scanning sequence.
An embodiment of the present specification provides a video decoding method, including:
decoding the code stream to obtain division information, prediction information and a quantization block;
obtaining a prediction image block through a prediction technology according to the prediction information;
carrying out inverse quantization and inverse transformation on the quantized block to obtain a residual image block;
adding the residual image blocks and the corresponding prediction image blocks to obtain reconstructed image blocks;
carrying out deblocking filtering on a reconstructed image formed by the reconstructed image block to obtain a reference image for reference of a subsequent frame;
and decoding the code stream to obtain the quantization block by adopting the decoding method of the quantization block.
An apparatus for decoding a quantized block provided in an embodiment of the present specification includes:
a determining module, configured to determine a scanning order of the quantization coefficients in the quantization block according to the determined scanning method;
an initialization module, configured to perform initialization operation on a scanning position of a quantization coefficient in the quantization block according to the scanning order, and decode a run length starting from the initialization scanning position; the scanning position is a subscript of a quantization coefficient in the scanning order;
a decoding module, configured to add a subscript value corresponding to a current scanning position to a value of a next run length from the current scanning position to obtain a scanning position of a nonzero coefficient, and decode the value of the nonzero coefficient corresponding to the scanning position;
the judging module is used for determining whether the subscript value of the nonzero coefficient is the maximum subscript value or not, and ending the decoding of the quantized block when the subscript value of the nonzero coefficient is the maximum subscript value; otherwise, decoding the quantized coefficient end flag bit, judging whether an undecoded non-zero coefficient still exists according to the decoding result of the quantized coefficient end flag bit, and ending the decoding of the quantized block when the undecoded non-zero coefficient does not exist;
and the updating module is used for updating the current scanning position when the non-decoded nonzero coefficient exists, adding 1 to the subscript value of the decoded nonzero coefficient to serve as the updated current scanning position, decoding the next run length from the updated current scanning position, and calling the decoding module.
Optionally, the determining module is specifically configured to: and determining the scanning order of the quantized coefficients in the quantized block according to a zigzag scanning method so as to convert the two-dimensional quantized block into a one-dimensional array through the scanning order.
Optionally, the initialization module is further configured to perform the following operations:
step 310: a variable is configured in advance, and the initial value of the variable is zero;
step 320: sequentially analyzing the code stream to obtain a binary symbol, judging whether the binary symbol is 1, if the binary symbol is 1, taking the value of the current variable as the value of the run length, and finishing the decoding of the run length; otherwise, updating the variable, adding 1 to the value of the variable to serve as the updated value of the current variable, and judging whether the value of the current variable is smaller than a threshold value or not;
step 330: when the value of the current variable is smaller than the threshold value, returning to the step 320;
step 340: when the value of the current variable is larger than or equal to the threshold value, analyzing the subsequent binary symbol string in a zero-order exponential Golomb code mode to obtain a value corresponding to the subsequent binary symbol string, adding the value corresponding to the subsequent binary symbol string and the threshold value to be used as the value of the run length, and finishing the decoding of the run length.
Optionally, the decoding module is further configured to:
and after the non-zero coefficient value corresponding to the scanning position is decoded, assigning the non-zero coefficient value obtained by decoding to the position corresponding to the quantization coefficient in the quantization block according to the scanning sequence.
An electronic device provided in an embodiment of the present specification includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the above-mentioned method for decoding a quantized block when executing the program.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
the invention initializes the scanning position of the quantization coefficient by determining the scanning sequence of the quantization coefficient in the quantization block, and decodes a run length; adding the subscript value of the current scanning position and the value of the run length to obtain the scanning position of the nonzero coefficient, and decoding the value of the nonzero coefficient; judging whether the subscript value of the nonzero coefficient is the maximum subscript value or not, and finishing decoding of the quantized block when the subscript value of the nonzero coefficient is the maximum subscript value; otherwise, judging whether an undecoded non-zero coefficient exists, and ending the decoding of the quantization block when the undecoded non-zero coefficient does not exist; and when the non-decoded nonzero coefficient exists, adding 1 to the subscript value of the nonzero coefficient to obtain an updated current scanning position, and continuously decoding the next run length by taking the current scanning position as an initial scanning position until the decoding of the quantized block is completed. Based on the scheme of the invention, the decoding efficiency of the quantization block can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for decoding a quantized block according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a typical 8 × 8 quantized coefficient block scanning process using a zigzag scanning scheme according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for decoding a run length according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a decoding apparatus for a quantized block according to an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
Fig. 1 is a flowchart illustrating a method for decoding a quantized block according to an embodiment of the present invention. The method may specifically comprise the steps of:
in step S110, the scanning order of the quantized coefficients in the quantized block is determined in accordance with the determined scanning method.
In the embodiment of the present specification, the quantization blocks may be represented as two-dimensional digital matrixes, and different quantization blocks may have different widths and heights, for example, 8 × quantization coefficient blocks, 16 × quantization coefficient blocks, 32 × 32 quantization coefficient blocks, etc. in a specific implementation, the scanning order of the quantization coefficients in the quantization blocks may be determined according to a zigzag scanning method, so that the two-dimensional quantization blocks are converted into one-dimensional arrays through the scanning order, the zigzag scanning is a method for scanning the matrix and is used for encoding and decoding processes of images and videos.
In step S120, performing an initialization operation on the scanning positions of the quantized coefficients in the quantized blocks according to the scanning order, and decoding a run length starting from the initialized scanning position; the scanning position is a subscript of the quantization coefficients in the scanning order.
In this embodiment of the present specification, based on the one-dimensional array obtained by scanning in step S101, according to the scanning sequence, the scanning position of the quantization coefficient in the one-dimensional array obtained by scanning is initialized, that is, the subscript of the quantization coefficient in the quantized block after scanning is initialized, and the method of the initialization operation may be to mark the subscripts of the quantization coefficients at corresponding positions as 0, 1, 2, 3, and 4 … … in sequence according to the scanning sequence, and set the initial scanning position as 0.
Further, the scanning position may be represented by POS, the Run length may be represented by Run, the Run length Run represents the number of consecutive zero coefficients existing backward from the current scanning position POS, since the Run length Run is determined by the encoding end, each nonzero coefficient has a Run, and the subscript of the next nonzero coefficient may be determined by the subscript of the quantized coefficient at the starting scanning position and the value of the Run.
Fig. 3 is a flowchart illustrating a method for decoding a run length according to an embodiment of the present invention. The method may specifically comprise the steps of:
step 310: a variable is configured in advance, and the initial value of the variable is zero;
step 320: sequentially analyzing the code stream to obtain a binary symbol, judging whether the binary symbol is 1, if the binary symbol is 1, taking the value of the current variable as the value of the run length, and finishing the decoding of the run length; otherwise, updating the variable, adding 1 to the value of the variable to serve as the updated value of the current variable, and judging whether the value of the current variable is smaller than a threshold value or not;
step 330: when the value of the current variable is smaller than the threshold value, returning to the step 320;
step 340: when the value of the current variable is larger than or equal to the threshold value, analyzing the subsequent binary symbol string in a zero-order exponential Golomb code mode to obtain a value corresponding to the subsequent binary symbol string, adding the value corresponding to the subsequent binary symbol string and the threshold value to be used as the value of the run length, and finishing the decoding of the run length.
Wherein the variable can be represented by L, the binary symbol can be represented by C, the threshold can be represented by T, and the value corresponding to the subsequent binary symbol string can be represented by Val, then the value of Run length Run is equal to L when L < T, and the value of Run length Run is equal to Val + T when L ≧ T.
Specifically, the code stream is decoded by an arithmetic decoding engine to obtain a binary symbol string containing only "0" and "1", and the value of the encoded information is converted into an 0/1 symbol string by a binarization method. The process described in the present application mainly includes a process of obtaining a numerical value by a decoding end by performing inverse binarization on a binary symbol string, and particularly a process of how to convert a syntax element, Run length, Run, from a binary symbol string to a numerical value.
In one embodiment, the threshold set as described above may be 2, 4, 8, 16, or 32.
In the embodiment of the present specification, the significance of configuring the variable and the threshold is that, since the initial value of the variable is zero, and each time a binary symbol in the binary symbol string is parsed, whether the value of the current variable is equal to the value of the Run length Run can be determined according to the parsing result of the binary symbol, and when the binary symbol is not 1, 1 is added to the value of the variable, so that when the value of the variable is less than the threshold, it can be directly determined that the value of the Run length Run is equal to the value of the current variable. In addition, the binary symbols in the binary symbol string are divided into front and rear parts by comparing the variable with the threshold value, with the threshold value as a boundary point, and the front and rear parts in the run length are decoded in different manners. Compared with a single method for decoding the run length, the method has the advantages that the efficient anti-binarization method is provided, the decoding mode of the run length is improved, the number of binary symbols needing to be analyzed in the process of decoding the run length can be reduced, and the decoding efficiency is greatly improved.
Further, the method for resolving the subsequent binary symbol string by means of the zeroth order exponential golomb code may include the following steps:
and continuously decoding subsequent binary symbols until the binary symbols are decoded to be '1', recording the number of the binary symbols '0' obtained in the continuous decoding as k, then continuously decoding the k binary symbols, forming the k binary symbols which are continuously decoded into a binary number VB, wherein the binary symbol which is decoded firstly is positioned at a high bit, and the binary symbol which is decoded later is positioned at a low bit. Then the value Val corresponding to the subsequent binary symbol string resolved by the zeroth order exponential golomb code is equal to 2k-1+VB。
In step S130, the subscript value corresponding to the current scanning position is added to the value of the next run length from the current scanning position to obtain the scanning position of the nonzero coefficient, and the value of the nonzero coefficient corresponding to the scanning position is decoded.
In the embodiments of the present specification, the scanned quantized coefficients are regarded as an array, the scanning positions are subscripts of each element in the array, and the scanning positions correspond to the positions of the quantized coefficients in the quantized block one-to-one, so that the scanning positions of the nonzero coefficients can be determined by decoding the values of the run lengths in the one-dimensional array. After the non-zero coefficient value corresponding to the scanning position is decoded, the non-zero coefficient value obtained by decoding can be assigned to the position corresponding to the quantization coefficient in the quantization block according to the scanning sequence.
In step S140, determining whether the index value of the non-zero coefficient is the maximum index value, and ending the decoding of the quantized block when the index value of the non-zero coefficient is the maximum index value; otherwise, decoding the quantized coefficient end flag bit, judging whether an undecoded non-zero coefficient still exists according to the decoding result of the quantized coefficient end flag bit, and ending the decoding of the quantized block when the undecoded non-zero coefficient does not exist.
In this embodiment of the present specification, whether a current non-zero coefficient is a last non-zero coefficient in a one-dimensional array may be determined by determining whether a subscript value of a non-zero coefficient obtained by current decoding is a maximum subscript value, and when the subscript value of the non-zero coefficient is the maximum subscript value, it indicates that all decoding of the non-zero coefficients in a quantization block is completed, decoding of the current quantization block is completed; and if the subscript value of the current non-zero coefficient is not the maximum subscript value, decoding a quantization coefficient end flag bit behind the non-zero coefficient.
In this embodiment of the present specification, the quantized coefficient end flag bit may indicate whether there is a non-zero coefficient in the following, and in a practical application, the quantized coefficient end flag bit may be decoded by adopting a variety of methods.
In step S150, when there is an undecoded nonzero coefficient, the current scan position is updated, the subscript value of the decoded nonzero coefficient is incremented by 1 to serve as the updated current scan position, the next run length from the updated current scan position is decoded, and the process returns to step S130.
In this embodiment, step S150 describes an operation when an undecoded nonzero coefficient still exists in the one-dimensional array, and adds 1 to a subscript value of the decoded nonzero coefficient to obtain an updated current scanning position, decodes a next run length with the updated current scanning position as an initial scanning position, adds the subscript value corresponding to the updated current scanning position and a value of the decoded next run length to obtain a scanning position of the next nonzero coefficient, and decodes the value of the nonzero coefficient corresponding to the scanning position. Obtaining the scanning position of the next nonzero coefficient by adding the subscript value of the starting scanning position and the value of the next Run length, and in the embodiment of the specification, obtaining the scanning position of the first nonzero coefficient by adding the initialized first scanning position POS and the value of the Run length Run at the beginning of the scanning position POS, and then decoding the first nonzero coefficient; and adding 1 to the subscript value of the first nonzero coefficient, namely POS + Run +1, so as to obtain the initial scanning position of the next Run length Run, and continuously decoding the next Run length Run to obtain the position of the next nonzero coefficient. For the remaining non-zero coefficients, steps S130-S150 are performed until the decoding of the quantized block is completed.
An embodiment of the present specification further provides a video decoding method, including:
decoding the code stream to obtain division information, prediction information and a quantization block;
obtaining a prediction image block through a prediction technology according to the prediction information;
carrying out inverse quantization and inverse transformation on the quantized block to obtain a residual image block;
adding the residual image blocks and the corresponding prediction image blocks to obtain reconstructed image blocks;
carrying out deblocking filtering on a reconstructed image formed by the reconstructed image block to obtain a reference image for reference of a subsequent frame;
and decoding the code stream to obtain the quantization block by adopting the decoding method of the quantization block.
Specifically, in a specific application scenario, in the video decoding process, the code stream is parsed to obtain information such as a prediction mode, a reference frame index, a motion vector, and a quantization block of each coding unit. And decoding according to the method described in the embodiment of the description to obtain the quantization block in the process of analyzing the code stream. The prediction image block PRED is generated based on information such as a prediction mode, a reference frame index, and a motion vector. And carrying out inverse quantization and inverse transformation on the quantized block to obtain a residual image block RESI'. Adding the residual image block RESI' to the prediction image block PRED to obtain a reconstructed image block RECO; and performing deblocking filtering on a reconstructed image formed by the reconstructed image block to obtain a reference image for reference of a subsequent frame.
Based on the same idea, an embodiment of the present specification further provides a device for decoding a quantized block, for example, fig. 4 is a device for decoding a quantized block provided in an embodiment of the present specification, where the device 400 mainly includes:
a determining module 401, configured to determine a scanning order of the quantized coefficients in the quantized block according to the determined scanning method;
an initialization module 402, configured to perform an initialization operation on a scanning position of a quantization coefficient in the quantization block according to the scanning order, and decode a run length starting from the initialization scanning position; the scanning position is a subscript of a quantization coefficient in the scanning order;
a decoding module 403, configured to add the subscript value corresponding to the current scanning position and the value of the next run length from the current scanning position to obtain a scanning position of the nonzero coefficient, and decode the value of the nonzero coefficient corresponding to the scanning position;
a determining module 404, configured to determine whether the subscript value of the non-zero coefficient is a maximum subscript value, and when the subscript value of the non-zero coefficient is the maximum subscript value, end decoding of the quantized block; otherwise, decoding the quantized coefficient end flag bit, judging whether an undecoded non-zero coefficient still exists according to the decoding result of the quantized coefficient end flag bit, and ending the decoding of the quantized block when the undecoded non-zero coefficient does not exist;
an updating module 405, configured to update the current scanning position when there is an undecoded nonzero coefficient, add 1 to a subscript value of the decoded nonzero coefficient as the updated current scanning position, decode a next run length starting from the updated current scanning position, and invoke the decoding module.
According to an embodiment of the present application, the determining module 401 is specifically configured to: and determining the scanning order of the quantized coefficients in the quantized block according to a zigzag scanning method so as to convert the two-dimensional quantized block into a one-dimensional array through the scanning order.
According to an embodiment of the application, the initialization module 402 is further configured to:
step 310: a variable is configured in advance, and the initial value of the variable is zero;
step 320: sequentially analyzing the code stream to obtain a binary symbol, judging whether the binary symbol is 1, if the binary symbol is 1, taking the value of the current variable as the value of the run length, and finishing the decoding of the run length; otherwise, updating the variable, adding 1 to the value of the variable to serve as the updated value of the current variable, and judging whether the value of the current variable is smaller than a threshold value or not;
step 330: when the value of the current variable is smaller than the threshold value, returning to the step 320;
step 340: when the value of the current variable is larger than or equal to the threshold value, analyzing the subsequent binary symbol string in a zero-order exponential Golomb code mode to obtain a value corresponding to the subsequent binary symbol string, adding the value corresponding to the subsequent binary symbol string and the threshold value to be used as the value of the run length, and finishing the decoding of the run length.
According to an embodiment of the present application, the decoding module 403 is further configured to:
and after the non-zero coefficient value corresponding to the scanning position is decoded, assigning the non-zero coefficient value obtained by decoding to the position corresponding to the quantization coefficient in the quantization block according to the scanning sequence.
Embodiments of the present specification further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above-mentioned method for decoding a quantized block when executing the program.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the embodiments of the apparatus and the electronic device, since they are substantially similar to the embodiments of the method, the description is simple, and the relevant points can be referred to only in the partial description of the embodiments of the method.
The apparatus, the electronic device and the method provided in the embodiments of the present description are corresponding, and therefore, the apparatus and the electronic device also have similar beneficial technical effects to the corresponding method, and since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus and the electronic device are not described again here.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (9)
1. A method for decoding a quantized block, comprising:
step 110: determining the scanning sequence of the quantization coefficients in the quantization block according to the determined scanning method;
step 120: initializing the scanning position of the quantization coefficient in the quantization block according to the scanning sequence, and decoding a run length starting from the initialized scanning position; the scanning position is a subscript of a quantization coefficient in the scanning order;
step 130: adding the subscript value corresponding to the current scanning position with the value of the next run length from the beginning of the current scanning position to obtain the scanning position of the nonzero coefficient, and decoding the value of the nonzero coefficient corresponding to the scanning position;
step 140: determining whether the subscript value of the non-zero coefficient is the maximum subscript value, and ending decoding of the quantization block when the subscript value of the non-zero coefficient is the maximum subscript value; otherwise, decoding the quantized coefficient end flag bit, judging whether an undecoded non-zero coefficient still exists according to the decoding result of the quantized coefficient end flag bit, and ending the decoding of the quantized block when the undecoded non-zero coefficient does not exist;
step 150: when there is an undecoded nonzero coefficient, updating the current scanning position, adding 1 to the subscript value of the decoded nonzero coefficient as the updated current scanning position, decoding the next run length starting from the updated current scanning position, and returning to the step 130;
wherein said decoding a run length comprises:
step 310: a variable is configured in advance, and the initial value of the variable is zero;
step 320: sequentially analyzing the code stream to obtain a binary symbol, judging whether the binary symbol is 1, if the binary symbol is 1, taking the value of the current variable as the value of the run length, and finishing the decoding of the run length; otherwise, updating the variable, adding 1 to the value of the variable to serve as the updated value of the current variable, and judging whether the value of the current variable is smaller than a threshold value or not;
step 330: when the value of the current variable is smaller than the threshold value, returning to the step 320;
step 340: when the value of the current variable is larger than or equal to the threshold value, analyzing the subsequent binary symbol string in a zero-order exponential Golomb code mode to obtain a value corresponding to the subsequent binary symbol string, adding the value corresponding to the subsequent binary symbol string and the threshold value to be used as the value of the run length, and finishing the decoding of the run length.
2. The method of claim 1, wherein determining the scanning order of the quantized coefficients in the quantized block according to the determined scanning method comprises:
and determining the scanning order of the quantized coefficients in the quantized block according to a zigzag scanning method so as to convert the two-dimensional quantized block into a one-dimensional array through the scanning order.
3. The method of claim 1, wherein the threshold is set to 2, 4, 8, 16, or 32.
4. The method of claim 1, further comprising, after decoding the value of the nonzero coefficient corresponding to the scanning position:
and assigning the value of the non-zero coefficient obtained by decoding to the position of the corresponding quantization coefficient in the quantization block according to the scanning sequence.
5. A video decoding method, comprising:
decoding the code stream to obtain division information, prediction information and a quantization block;
obtaining a prediction image block through a prediction technology according to the prediction information;
carrying out inverse quantization and inverse transformation on the quantized block to obtain a residual image block;
adding the residual image blocks and the corresponding prediction image blocks to obtain reconstructed image blocks;
carrying out deblocking filtering on a reconstructed image formed by the reconstructed image block to obtain a reference image for reference of a subsequent frame;
further comprising decoding the quantized block from the code stream using the method of any of claims 1 to 4.
6. An apparatus for decoding a quantized block, comprising:
a determining module, configured to determine a scanning order of the quantization coefficients in the quantization block according to the determined scanning method;
an initialization module, configured to perform initialization operation on a scanning position of a quantization coefficient in the quantization block according to the scanning order, and decode a run length starting from the initialization scanning position; the scanning position is a subscript of a quantization coefficient in the scanning order;
a decoding module, configured to add a subscript value corresponding to a current scanning position to a value of a next run length from the current scanning position to obtain a scanning position of a nonzero coefficient, and decode the value of the nonzero coefficient corresponding to the scanning position;
the judging module is used for determining whether the subscript value of the nonzero coefficient is the maximum subscript value or not, and ending the decoding of the quantized block when the subscript value of the nonzero coefficient is the maximum subscript value; otherwise, decoding the quantized coefficient end flag bit, judging whether an undecoded non-zero coefficient still exists according to the decoding result of the quantized coefficient end flag bit, and ending the decoding of the quantized block when the undecoded non-zero coefficient does not exist;
an updating module, configured to update the current scanning position when an undecoded nonzero coefficient exists, add 1 to a subscript value of the decoded nonzero coefficient as the updated current scanning position, decode a next run length starting from the updated current scanning position, and invoke the decoding module;
wherein the initialization module is further configured to:
step 310: a variable is configured in advance, and the initial value of the variable is zero;
step 320: sequentially analyzing the code stream to obtain a binary symbol, judging whether the binary symbol is 1, if the binary symbol is 1, taking the value of the current variable as the value of the run length, and finishing the decoding of the run length; otherwise, updating the variable, adding 1 to the value of the variable to serve as the updated value of the current variable, and judging whether the value of the current variable is smaller than a threshold value or not;
step 330: when the value of the current variable is smaller than the threshold value, returning to the step 320;
step 340: when the value of the current variable is larger than or equal to the threshold value, analyzing the subsequent binary symbol string in a zero-order exponential Golomb code mode to obtain a value corresponding to the subsequent binary symbol string, adding the value corresponding to the subsequent binary symbol string and the threshold value to be used as the value of the run length, and finishing the decoding of the run length.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
and determining the scanning order of the quantized coefficients in the quantized block according to a zigzag scanning method so as to convert the two-dimensional quantized block into a one-dimensional array through the scanning order.
8. The apparatus of claim 6, wherein the decoding module is further configured to:
and after the non-zero coefficient value corresponding to the scanning position is decoded, assigning the non-zero coefficient value obtained by decoding to the position corresponding to the quantization coefficient in the quantization block according to the scanning sequence.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 4 when executing the program.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910144295.2A CN109788284B (en) | 2019-02-27 | 2019-02-27 | Decoding method and device of quantization block and electronic equipment |
PCT/CN2019/077292 WO2020172908A1 (en) | 2019-02-27 | 2019-03-07 | Decoding method and device for quantization block, and electronic device |
US17/428,806 US11902524B2 (en) | 2019-02-27 | 2019-03-07 | Decoding method and device for quantization block, video decoding method, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910144295.2A CN109788284B (en) | 2019-02-27 | 2019-02-27 | Decoding method and device of quantization block and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109788284A CN109788284A (en) | 2019-05-21 |
CN109788284B true CN109788284B (en) | 2020-07-28 |
Family
ID=66485824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910144295.2A Active CN109788284B (en) | 2019-02-27 | 2019-02-27 | Decoding method and device of quantization block and electronic equipment |
Country Status (3)
Country | Link |
---|---|
US (1) | US11902524B2 (en) |
CN (1) | CN109788284B (en) |
WO (1) | WO2020172908A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110545437B (en) * | 2019-08-30 | 2021-07-20 | 北京大学 | Coefficient encoding method, coefficient decoding method, electronic device, and medium |
CN114079780A (en) * | 2020-08-20 | 2022-02-22 | 腾讯科技(深圳)有限公司 | Video decoding method, video encoding method, video decoding apparatus, video encoding apparatus, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132530A (en) * | 2006-08-22 | 2008-02-27 | 中兴通讯股份有限公司 | Method for implementing built-in image compression based on run-length coding |
WO2008122913A3 (en) * | 2007-04-04 | 2009-08-06 | Nxp Bv | Decoder for selectively decoding predetermined data units from a coded bit stream |
CN102752592A (en) * | 2012-06-20 | 2012-10-24 | 深圳广晟信源技术有限公司 | Entropy coding method of video transformation coefficient |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH099074A (en) * | 1995-06-20 | 1997-01-10 | Minolta Co Ltd | Image processor |
JP4109404B2 (en) * | 2000-04-26 | 2008-07-02 | 松下電器産業株式会社 | Encoding apparatus and encoding method |
JP2005516495A (en) * | 2002-01-22 | 2005-06-02 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Reducing the bit rate of precompressed multimedia |
US7519229B2 (en) * | 2004-03-30 | 2009-04-14 | Apple, Inc. | Video coding system providing separate coding chains for dynamically selected small-size or full-size playback |
US8144784B2 (en) * | 2007-07-09 | 2012-03-27 | Cisco Technology, Inc. | Position coding for context-based adaptive variable length coding |
CN102238381B (en) * | 2010-04-29 | 2013-06-19 | 晨星软件研发(深圳)有限公司 | Image coding method and device for accelerating runlength coding |
CN102377994B (en) | 2010-08-05 | 2014-05-07 | 富士通株式会社 | Context-adaptive variable-length coding method and system thereof |
US20120163448A1 (en) * | 2010-12-22 | 2012-06-28 | Qualcomm Incorporated | Coding the position of a last significant coefficient of a video block in video coding |
KR101739580B1 (en) | 2010-12-30 | 2017-05-25 | 에스케이 텔레콤주식회사 | Adaptive Scan Apparatus and Method therefor |
EP2764692B1 (en) * | 2011-10-06 | 2020-08-26 | Fraunhofer Gesellschaft zur Förderung der angewandten Forschung e.V. | Entropy coding buffer arrangement |
JP5966345B2 (en) * | 2011-12-21 | 2016-08-10 | ソニー株式会社 | Image processing apparatus and method |
-
2019
- 2019-02-27 CN CN201910144295.2A patent/CN109788284B/en active Active
- 2019-03-07 WO PCT/CN2019/077292 patent/WO2020172908A1/en active Application Filing
- 2019-03-07 US US17/428,806 patent/US11902524B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132530A (en) * | 2006-08-22 | 2008-02-27 | 中兴通讯股份有限公司 | Method for implementing built-in image compression based on run-length coding |
WO2008122913A3 (en) * | 2007-04-04 | 2009-08-06 | Nxp Bv | Decoder for selectively decoding predetermined data units from a coded bit stream |
CN102752592A (en) * | 2012-06-20 | 2012-10-24 | 深圳广晟信源技术有限公司 | Entropy coding method of video transformation coefficient |
Also Published As
Publication number | Publication date |
---|---|
CN109788284A (en) | 2019-05-21 |
WO2020172908A1 (en) | 2020-09-03 |
US20220345706A1 (en) | 2022-10-27 |
US11902524B2 (en) | 2024-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109788285B (en) | Context model selection method and device for quantization coefficient ending zone bit | |
KR101625548B1 (en) | Context modeling techniques for transform coefficient level coding | |
JP2023040013A (en) | Methods and apparatus for video encoding and video decoding of binary sets using adaptive tree selection | |
JP4700491B2 (en) | Adaptive coefficient scan ordering | |
JP5937206B2 (en) | Context adaptive coding of video data | |
US8446301B2 (en) | Methods and devices for coding and decoding the position of the last significant coefficient | |
US20160100192A1 (en) | Method and apparatus for diagonal scan and simplified context selection for parallel entropy coding of significance map of transform coefficients | |
US11109051B2 (en) | Motion compensation using temporal picture interpolation | |
KR101571618B1 (en) | Methods and devices for coding and decoding the position of the last significant coefficient | |
CN111901596B (en) | Video hybrid coding and decoding method, device and medium based on deep learning | |
KR20100027385A (en) | Method and apparatus for encoding/decoding image using adaptive binarization | |
US10554988B2 (en) | Binary arithmetic coding with parameterized probability estimation finite state machines | |
JP6509164B2 (en) | Method and apparatus for encoding and decoding binary sets by reusing tree structures | |
US10652541B2 (en) | Method and device for encoding video data | |
CN109788284B (en) | Decoding method and device of quantization block and electronic equipment | |
JP5851987B2 (en) | Arithmetic encoding and decoding method | |
CN109417622B (en) | Method and apparatus for improved significance flag decoding using simple local predictors | |
US10735733B2 (en) | Method and device for encoding video data | |
CN114449277B (en) | Method and apparatus for context derivation for coefficient coding | |
CN118175320A (en) | Video frame processing method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230407 Address after: 266555, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong Patentee after: Hisense Visual Technology Co., Ltd. Address before: 518055 Nanshan District, Xili, Shenzhen University, Shenzhen, Guangdong Patentee before: PEKING University SHENZHEN GRADUATE SCHOOL |
|
TR01 | Transfer of patent right |