Abstract:
A methods and apparatus for coding and decoding a MATRIX. The coding method includes: dividing a MATRIX into layers according to a preset quantity of layers, and grouping MATRIX elements into different layers; performing, according to a determined to-be-coded layer number and in an order of layers one by one, coding processing on MATRIX elements at each layer to be coded; for a layer having a layer number less than or equal to the to-be-coded layer number, writing residual data between an original MATRIX element value corresponding to the layer and a corresponding MATRIX element predicted value into a bit stream; for a layer having a layer number greater than the to-be-coded layer number, writing no coded data of the layer into the bit stream; and coding the to-be-coded layer number and writing the coded layer number of the coded layer into the bit stream.
Abstract:
A method and an apparatus for processing an intra prediction mode is disclosed. The method includes: determining whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block; and obtaining multiple mapped intra prediction modes of the current block according to a result of the determining, if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block.
Abstract:
The present application discloses video data encoding and decoding methods and apparatuses, so as to conveniently perform data encoding and decoding on video data. The method includes: arithmetic encoding, where the arithmetic encoding includes: obtaining a binary symbol of image data; and if the binary symbol is a most probable symbol MPS, updating a first encoding interval corresponding to the MPS in a logarithm domain, and if the first updated encoding interval is less than a preset range of an arithmetic encoding interval, performing normalization processing on the first encoding interval in the logarithm domain; or if the binary symbol is a least probable symbol LPS, updating a second encoding interval corresponding to the LPS in an original number domain, and performing normalization processing on the second encoding interval in the original number domain.
Abstract:
The present disclosure provides a method and an apparatus for coding or decoding a matrix, includes: dividing a matrix into layers according to a preset quantity of divided layers, and grouping matrix elements into different layers; performing, according to a determined layer number of a highest layer to be coded and in an order of layers one by one, coding processing on matrix elements at each layer to be coded; for a layer having a layer number less than or equal to the layer number of the highest layer to be coded, writing residual data between an original matrix element value corresponding to the layer and a corresponding matrix element predicted value into a bit stream; for a layer having a layer number greater than the layer number of the highest layer to be coded, writing no coded data of the layer into the bit stream.
Abstract:
The present disclosure provides a method for obtaining a size of a transform block, where the method includes: obtaining a dividing manner of an image block; and obtaining size information of a post-dividing transform block according to the dividing manner of the image block and a width and a height of a pre-dividing transform block. By using the method for obtaining a size of a transform block provided in this embodiment of the present disclosure, a size of a transform block may be coded according to a dividing manner of an image block or a height and a width of a pre-dividing transform block, thereby effectively improving coding efficiency.
Abstract:
Embodiments of the present disclosure provide an image encoding method, an image decoding method, an encoding device, and a decoding device. The method includes: determining a conversion function parameter of a current image block; determining a conversion function parameter of a neighboring image block corresponding to the current image block; determining, according to a correlation between the conversion function parameter of the current image block and the conversion function parameter of the neighboring image block, whether to perform merge encoding on the conversion function parameter of the current image block and the conversion function parameter of the neighboring image block, and determining a first indicator, where the first indicator is used to indicate whether to perform merge encoding on the conversion function parameter of the current image block and the conversion function parameter of the neighboring image block; and encoding the first indicator.
Abstract:
Embodiments of the present disclosure provide an image encoding and decoding method and apparatus. A division mode used for a current image block is acquired, division information of the current image block is acquired according to the division mode, and encoding processing is performed on a division mode identifier and the division information that correspond to the division mode, so that a decoder obtains, according to the division mode identifier and the division information, a division template used by an encoder, so as to perform decoding. The encoder and the decoder do not need to store a large quantity of division templates, thereby lightening a burden on an encoding and decoding system.
Abstract:
A method and device for coding and decoding are disclosed. The method includes: dividing a picture to be encoded into several slices, each containing macroblocks continuous in a designated scanning sequence in the picture; dividing slices in the picture into one or more slice sets according to attribute information of the slices, each slice set containing one or more slices; and encoding the slices in the slice sets according to slice and slice set division information to get a coded bit stream of the picture. The decoding method includes: obtaining slice and slice set division information from a bit stream to be decoded and decoding the bit stream according to the obtained slice and slice set division information. The invention improves the performance of video transmission effectively and realizes region based coding. The implementation of coding and decoding is simple and the complexity of coding and decoding systems is reduced.
Abstract:
A picture encoding and decoding method, a picture encoding and decoding device and a network system are provided, in which, the picture encoding method includes: determining a prediction block used by a picture block according to a division manner of the picture block; determining a corresponding division level in the picture block or the prediction block of transform blocks corresponding to the picture block or the prediction block, in which, the transform blocks corresponding to the picture block or the prediction block include one or more transform blocks; determining a size of the transform blocks corresponding to the picture block or the prediction block according to the division manner of the picture block and the division level; determining identification information for identifying the division level corresponding to the transform blocks corresponding to the picture block or the prediction block; and writing the identification information into a code stream.
Abstract:
A coding method includes: partitioning an image block to be decoded irregularly according to an irregular partitioning mode and a position parameter to obtain at least two different sub-blocks; comparing the sub-blocks with a reference sub-block to obtain a residual of a pixel value of the image block to be coded; obtaining a reference position parameter according to a surrounding block of the image block to be coded, and subtracting the reference position parameter from the position parameter of the image block to be coded to obtain a position parameter difference of the image block to be coded; quantizing the residual, and performing entropy coding on a result of the quantization, the motion vector information, and the position parameter difference; and writing the entropy coding result and partitioning mode information of the image block into a code stream.