]> git.sesse.net Git - ffmpeg/commitdiff
The definition of rate and distortion is not conditional of lambda being
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Mar 2009 10:39:20 +0000 (10:39 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Mar 2009 10:39:20 +0000 (10:39 +0000)
fixed (at least the current text sounded odd to me).

Originally committed as revision 18244 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/rate_distortion.txt

index 5f19b0d2ea981c1664e06e319e1c3f2ba8827732..a7d2c878b27340b2d39bfe630c427b6b2d5b6341 100644 (file)
@@ -21,8 +21,10 @@ Let's consider the problem of minimizing:
 
   distortion + lambda*rate
 
-For a fixed lambda, rate would represent the filesize, while distortion is
-the quality. Is this equivalent to finding the best quality for a given max
+rate is the filesize
+distortion is the quality
+lambda is a fixed value choosen as a tradeoff between quality and filesize
+Is this equivalent to finding the best quality for a given max
 filesize? The answer is yes. For each filesize limit there is some lambda
 factor for which minimizing above will get you the best quality (using your
 chosen quality measurement) at the desired (or lower) filesize.