Method for quick estimating rate and distortion in H.264/AVC video coding
A video coding and rate technology, applied in digital video signal modification, television, electrical components, etc., can solve problems such as no distortion estimation algorithm given, no self-adaptive method proposed, inverse quantization and inverse transformation unavoidable, etc.
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2007-08-08
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2
Abstract
Description
technical field
[0001] The invention belongs to the technical field of video compression coding, and proposes a new rate and distortion fast estimation method for the H.264 / AVC video coding standard, which effectively improves the speed of macroblock coding mode selection in the sense of rate distortion, and is suitable for new A generation of video compression coding. Background technique
[0002] In the latest video coding standard H.264 / AVC, a variety of coding modes are proposed to improve coding efficiency, including 16×16, 16×8, 8×16, 8×8, 8×4, 4×8, 4 There are 7 kinds of inter-frame coding modes such as ×4 blocks, 9 kinds of 4×4 blocks, 4 kinds of intra-frame coding modes of 16×16 blocks, etc. For each macroblock (macroblock, MB), the most suitable coding mode needs to be selected. The chosen criterion is the rate-distortion performance of coding the macroblock in various coding modes. In the H.264 / AVC reference software JM, to calculate the rate R and distortion D...
Examples
Embodiment Construction
[0027] The rate-distortion estimation algorithm proposed by the present invention and its application in encoding mode and transform block size are further described as follows with reference to the accompanying drawings and embodiments.
[0028] The present invention, as shown in accompanying drawing 1, comprises the following steps:
[0029] (1) For each alternative coding mode, perform motion estimation on the current coded macroblock, which can be carried out by using the full search or fast search method specified in the H.264 / AVC standard; obtain the residual signal S res =|S orig -S ref |, S orig is the original coded block signal, S ref a reference block signal determined for motion estimation;
[0030] (2) In each encoding mode, for the luminance residual signal S obtained in step (1) res Carry out 8×8 and 4×4 integer transformations respectively. The integer transformation adopts the method specified in the H.264 / AVC standard, and the formula is X ...