Video coding/decoding method and device
A coding method and coding device technology, applied in the field of video image processing, to achieve the effect of eliminating coding delay and coding overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] see figure 1 , is a flowchart of a video encoding method provided in this embodiment. The method includes:
[0063] 101: Search for an optimal hypothesis from a reference frame used for prediction;
[0064] 102: Search for a suboptimal hypothesis according to the optimal hypothesis;
[0065] 103: Search for the weight of the optimal hypothesis and the weight of the suboptimal hypothesis in a preset measurement method;
[0066] 104: Obtain a weighted and merged prediction image block according to the weight of the optimal hypothesis and the weight of the suboptimal hypothesis obtained through searching;
[0067] 105: Calculate the residual image block according to the weighted combined prediction image block;
[0068] 106: Transform, quantize, and encode the residual image block.
[0069] This embodiment performs motion compensation by searching two hypotheses in the unidirectional reference frame, searches for the suboptimal hypothesis with the optimal hypothesis, an...
Embodiment 2
[0071] In order to solve the problem that the existing bidirectional predictive motion compensation method generates extra coding delay when predicting the current coded image block, and codes two hypothetical motion vectors separately to generate extra coding overhead, this embodiment provides a video encoding method, such as figure 2 As shown, the method specifically includes:
[0072] 201: Search for the optimal hypothesis H from the reference frame used for prediction 1 ;
[0073] Among them, according to the current coded image block I, the optimal hypothesis H is searched in the reference frame for prediction with a preset measurement method 1 ;
[0074] In this example, if image 3 As shown, two reference frames for prediction are used as an example, but this does not limit the number of reference frames for prediction; the preset measurement method can include MSE (Mean Square Error, mean square error or residual error Energy) criterion or SAD (Sum of Absolute Di...
Embodiment 3
[0109] see Figure 4 , is a flowchart of a video decoding method provided in this embodiment. The method includes:
[0110] 301: Decode the motion information of the optimal hypothesis;
[0111] 302: Obtain an optimal hypothesis in the reference frame used for prediction according to the motion information of the optimal hypothesis;
[0112] 303: Decode the weight of the suboptimal hypothesis;
[0113] 304: When the weight of the suboptimal hypothesis is zero, calculate the weighted and merged predicted image block according to the weight of the optimal hypothesis, and perform 306;
[0114] 305: When the weight of the suboptimal hypothesis is not zero, search for the suboptimal hypothesis according to the optimal hypothesis, calculate the weight of the optimal hypothesis according to the weight of the suboptimal hypothesis, and calculate the weighted combination based on the weight of the optimal hypothesis and the weight of the suboptimal hypothesis Predict image blocks; ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 