Home | History | Annotate | Download | only in encoder

Lines Matching defs:Factor

592         // The enhanced Q is calculated so as to boost the key frame size by a factor
890 factor is
1198 // Work out how big we would have expected the frame to be at this Q given the current correction factor.
1207 double Factor = 0.99;
1214 (int)(Factor * projected_size_based_on_q);
1215 Factor += factor_adjustment;
1217 if (Factor >= 0.999)
1218 Factor = 0.999;
1222 // Work out a size correction factor.
1326 // Select the appropriate correction factor
1337 // Calculate required scaling factor based on target frame size and size of frame produced using previous Q
1370 double Factor = 0.99;
1381 double Factor = (double)target_bits_per_mb/(double)bits_per_mb_at_this_q;
1384 Factor = Factor/1.2683;
1386 Oq = pow( Factor, (1.0/-0.165) );
1406 bits_per_mb_at_this_q = (int)(Factor * bits_per_mb_at_this_q);
1407 Factor += factor_adjustment;
1409 if (Factor >= 0.999)
1410 Factor = 0.999;
1427 // This funtion returns a default value for the first few frames untill the correction factor has had time to adapt.
1436 /* // Select the appropriate correction factor based upon type of frame.