Rate-distortion optimized coding mode selection for video coders
First Claim
1. In a coder for coding frames of input video information, each frame comprising an ordered plurality, i=1, 2, . . . , n, of slices, each slice comprising an ordered sequence j=1, 2, . . . , m of macroblocks, each macroblock comprising a plurality of input signal values, the coder having a plurality of modes for coding macroblocks, a method for selecting a coding mode, Mi,j for the jth macroblock in the ith slice, the method comprisingdetermining values for a cost function, Ji,j, a quantizing parameter QP and a Langrangian multipliers λ
- , where Ji,j (.)=Di,j (.)+λ
Ri,j (.), Di,j is the distortion for the jth macroblock in the with strip, and Ri,j is the rate for coding the jth macroblock in the with strip, anddetermining a set of coding modes for each macroblock that satisfy ##EQU3##
7 Assignments
0 Petitions
Accused Products
Abstract
A new method for real time implementation of rate-distortion optimized coding mode selection is disclosed that can be efficiently applied to H-263-compatible video codecs and other codecs of similar type. A normalized rate-distortion model is used to efficiently compute the rate and the distortion when encoding motion-compensated prediction error signals, instead of performing DCT, quantization and entropy-encoding. A fast algorithm is also disclosed that determines sub-optimal values of coding parameters such as the quantization parameter and the Lagrangian multiplier, λ, for the trellis search. Very good rate control and picture quality are achieved, especially when the disclosed techniques are applied in very low bitrate video coding.
124 Citations
24 Claims
-
1. In a coder for coding frames of input video information, each frame comprising an ordered plurality, i=1, 2, . . . , n, of slices, each slice comprising an ordered sequence j=1, 2, . . . , m of macroblocks, each macroblock comprising a plurality of input signal values, the coder having a plurality of modes for coding macroblocks, a method for selecting a coding mode, Mi,j for the jth macroblock in the ith slice, the method comprising
determining values for a cost function, Ji,j, a quantizing parameter QP and a Langrangian multipliers λ - , where Ji,j (.)=Di,j (.)+λ
Ri,j (.), Di,j is the distortion for the jth macroblock in the with strip, and Ri,j is the rate for coding the jth macroblock in the with strip, anddetermining a set of coding modes for each macroblock that satisfy ##EQU3## - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- , where Ji,j (.)=Di,j (.)+λ
-
13. In a coder for coding frames of input video information, each frame comprising an ordered plurality, i=1, 2, . . . , n, of slices, each slice comprising an ordered sequence j=1, 2, . . . , m of macroblocks, each macroblock comprising a plurality of input signal values, the coder having a plurality of modes for coding macroblocks, a system for selecting a coding mode, Mi,j for the jth macroblock in the ith slice, the system comprising
means for determining values for a cost function, Ji,j, a quantizing parameter QP and a Langrangian multiplierλ - , where Ji,j (.)=Di,j (.)+λ
Ri,j (.), Di,j is the distortion for the jth macroblock in the ith strip, and Ri,j is the rate for coding the jth macroblock in the ith strip, andmeans for determining a set of coding modes for each macroblock that satisfy ##EQU6## - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
- , where Ji,j (.)=Di,j (.)+λ
Specification