Video coding 4*4 integral number transformation method
An integer transformation and video coding technology, applied in the field of video coding, can solve problems such as complex calculation, irreversible transformation, and low calculation accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Such as figure 1 Shown is a video encoding 4x4 integer transformation method according to Embodiment 1 of the present invention. The method includes the following steps:
[0058] S101: Receive 4x4 image residual data X output by the prediction module in the encoder;
[0059] S102, selecting an integer transformation base and constructing a transformation matrix P;
[0060] The 4x4 general integer transformation matrix is:
[0061] C = k 0 k 0 k 0 k 0 k 1 k 2 - k 2 - k 1 k 0 - k 0 - k 0 k 0 k 2 - k 1 k 1 - k 2
[0062] In matrix C, the integer transformation base is [k0k1k1];
[0063] In the embodiment of the present invention, the integer transformation base can be selected from one of the following values: [1, 9, 4], [1, 7, 3], [1, 8, 3].
[0064] S103: Construct a scaling matrix PF according to the transformation matrix P;
[0065] PF=Z T *Z
[0066] Where...
Embodiment 2
[0077] The following is a video coding 4x4 integer transformation method according to Embodiment 2 of the present invention. In Embodiment 2 of the present invention, [1, 9, 4] is selected as the integer transformation base of the 4x4 universal integer transformation matrix. The method includes the following steps:
[0078] S201: Receive 4x4 image residual data X output by the prediction module in the encoder;
[0079] S202, selecting an integer transformation base, and constructing a transformation matrix P;
[0080] The 4x4 general integer transformation matrix is:
[0081] C = k 0 k 0 k 0 k 0 k 1 k 2 - k 2 - k 1 k 0 - k 0 - k 0 k 0 k 2 - k 1 k 1 - k 2
[0082] In matrix C, the integer transformation base is [k0k1k1];
[0083] In the embodiment of the present invention, [1, 9, 4] is selected as the integer transformation base to construct the transformation ma...
Embodiment 3
[0104] The following is a video coding 4x4 integer transformation method of Embodiment 3 of the present invention. In Embodiment 3 of the present invention, [1, 7, 3] is selected as the integer transformation base of the 4x4 universal integer transformation matrix. The method includes the following steps:
[0105] S301: Receive 4x4 image residual data X output by the prediction module in the encoder.
[0106] S302, selecting an integer transformation base, and constructing a transformation matrix P;
[0107] The 4x4 general integer transformation matrix is:
[0108] C = k 0 k 0 k 0 k 0 k 1 k 2 - k 2 - k 1 k 0 - k 0 - k 0 k 0 k 2 - k 1 k 1 - k 2
[0109] In matrix C, the transformation base is [k0k1k1],
[0110] In the embodiment of the present invention, [1, 7, 3] is selected as the integer transformation base to construct the transformation matrix P.
[0111] Wh...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 