A video encoding method and device
A video coding and coding technology, applied in the field of video coding, can solve the problem of low prediction accuracy
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-10-22
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the technical field of video encoding, in particular to a video encoding method and device. Background technique
[0002] Starting from Advanced Video Coding H.264, intra-frame directional predictive coding has become the mainstream technology of video intra-block coding. In this technique, the prediction of the current coding block is obtained from the linear prediction of its left adjacent column and upper adjacent row according to one direction, such as figure 1 As shown in the schematic diagram of intra prediction, the current coding block is an 8×8 block, and the pixel shown by the triangle is its upper left adjacent reference pixel. Intra-frame prediction first selects a direction, and then each row or column in the current block is obtained from its upper-left adjacent row and column according to this direction. The sixth row shown in the figure maps to the pixel position of the upper adjacent row according to ...
Examples
Embodiment 1
[0054] refer to figure 2 , which shows a flow chart of the steps of an embodiment of a video encoding method according to Embodiment 1 of the present invention, which may specifically include the following steps:
[0055] In step 101, intra-frame prediction is performed on each odd-numbered row of the current block according to a selected prediction direction to obtain odd-numbered row prediction data.
[0056] Digital video is composed of a series of video frames, and intra-frame directional predictive coding is often used for video intra-block coding. The current block refers to the macroblock currently being coded. Macroblock is a basic concept in video coding technology. In video coding, a coded image is usually divided into several macroblocks. A macroblock consists of a brightness pixel block and two additional composed of chrominance pixel blocks. When intra-frame prediction is adopted, the prediction data of the current block can be obtained by linear prediction fro...
Embodiment 3
[0099] refer to Figure 6 , which shows a structural block diagram of a video encoding device embodiment according to Embodiment 3 of the present invention, which may specifically include the following modules:
[0100] An odd-numbered intra-frame prediction module 301, configured to perform intra-frame prediction on each odd-numbered row of the current block according to a selected prediction direction, to obtain odd-numbered row prediction data;
[0101] An odd-numbered row reconstruction module 302, configured to obtain a reconstructed odd-numbered row according to the residual between the odd-numbered row prediction data and the corresponding source odd-numbered row;
[0102] The precise prediction direction determination module 303 is configured to use the previous reconstructed odd-numbered line to predict the reconstructed odd-numbered line for each reconstructed odd-numbered line of the current block, and respectively determine the The exact prediction direction with ...