Abstract:
Embodiments of the present disclosure provide a video encoding method, a video decoding method, a video encoder, and a video decoder. The video encoding method includes: obtaining a to-be-encoded HDR image frame, where the HDR image frame includes multiple image blocks; determining, in multiple preset optical-electro transfer functions according to a statistical luminance value of each of the multiple image blocks, an optical-electro transfer function corresponding to the image block; performing optical-to-electrical conversion on the image block according to the optical-electro transfer function corresponding to the image block; and encoding the multiple image blocks on which the optical-to-electrical conversion has been performed. According to the embodiments of the present disclosure, one corresponding optical-electro transfer function is set for each image block, so as to improve a video encoding effect and better adapt to an existing video encoding framework.
Abstract:
The present application discloses an image coding/decoding method, device, and system, where an encoder performs singular vector decomposition on a prediction block corresponding to a to-be-coded image block, to obtain eigenvector matrices U and V of the prediction block; and performs coding processing on residual data according to the eigenvector matrices U and V of the prediction block, where the residual data is a difference between a pixel value of the to-be-coded image block and a pixel value of the corresponding prediction block. This can reduce identifier load of a coded 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:
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:
This application provides a video picture decoding and encoding method and a video picture decoding and encoding apparatus. When it is determined that a merge or skip mode is used, if it is determined through decoding that a merge mode with motion vector difference (MMVD) indicator is true, a triangle prediction unit (PU) indicator may not be coded. The triangle PU indicator is coded when it is determined through decoding that the MMVD indicator is false. This reduces a quantity of used coding resources, and can reduce bit overheads of a bitstream.
Abstract:
An inter prediction method is provided, including: obtaining a first reference frame index and a first motion vector of a to-be-processed block (101); deriving a second reference frame index from the first reference frame index, where the second reference frame index is different from the first reference frame index (102); scaling the first motion vector to obtain a second motion vector (103); obtaining a first reference block of the to-be-processed block according to the first reference frame index and the first motion vector (104); obtaining a second reference block of the to-be-processed block according to the second reference frame index and the second motion vector (105); and weighting the first reference block and the second reference block to obtain a combined prediction block (106). Each reference list for inter prediction is allowed to include two groups of motion information, which helps improve an inter prediction effect.
Abstract:
This application provides a video picture decoding and encoding method and a video picture decoding and encoding apparatus. When it is determined that a merge or skip mode is used, if it is determined through decoding that an MMVD indicator is true, a triangle PU indicator may not be coded. The triangle PU indicator is coded only when it is determined through decoding that the MMVD indicator is false. This reduces a quantity of used coding resources, and can reduce bit overheads of a bitstream.
Abstract:
This application provides a picture block splitting method and an apparatus. The picture block splitting method in this application includes: obtaining a picture block in a to-be-processed picture, where the picture block is an object on which encoding is performed; determining, based on a length of a first side and a length of a second side of the picture block, a block splitting method used for the picture block, where the first side and the second side are two neighboring sides of the picture block, the first side is a horizontal line, and the second side is a vertical line; and splitting the picture block according to the block splitting method. In this application, an unnecessary block splitting method is omitted, operation overheads are reduced, and picture encoding efficiency is improved.
Abstract:
Embodiments of this application disclose a method for obtaining a motion vector, including: determining a reference block of a to-be-processed block, wherein the reference block and the to-be-processed block have a preset temporal or spatial correlation, the reference block is obtained based on a prediction block of the reference block determined by a refined initial motion vector, the refined initial motion vector is obtained based on an initial motion vector and one or more preset motion vector offsets, and the initial motion vector is obtained based on a predicted motion vector of the reference block; and using the initial motion vector as a predicted motion vector of the to-be-processed block.
Abstract:
A video coding mechanism is disclosed. The mechanism includes at least one pre-encoder configured to pre-encode a received input video signal, and output a pre-encoded video signal. The mechanism also includes an encoder configured to obtain the pre-encoded video signal from the pre-encoder, and encode the pre-encoded video signal as a bitstream for transmitting the bitstream to decoder for decoding.