Revision 52760ed7 doc/rate_distortion.txt
doc/rate_distortion.txt  

21  21  
22  22 
distortion + lambda*rate 
23  23  
24 
For a fixed lambda, rate would represent the filesize, while distortion is 

25 
the quality. Is this equivalent to finding the best quality for a given max 

24 
rate is the filesize 

25 
distortion is the quality 

26 
lambda is a fixed value choosen as a tradeoff between quality and filesize 

27 
Is this equivalent to finding the best quality for a given max 

26  28 
filesize? The answer is yes. For each filesize limit there is some lambda 
27  29 
factor for which minimizing above will get you the best quality (using your 
28  30 
chosen quality measurement) at the desired (or lower) filesize. 
Also available in: Unified diff