shithub: libvpx

Download patch

ref: a917afabbb94e12da1107fda7edc52b174532304
parent: b9ce9bcbc594741c37423a41f2ed52c27742b95d
author: Paul Wilkins <paulwilkins@google.com>
date: Mon Nov 28 06:48:07 EST 2011

MinQ equations.

Slight tweaks to the new minq equations to bring results more into line with
original lookup tables.

Change-Id: I969fc87d95912df549b6775e83ee2345e84d4da0

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -205,30 +205,32 @@
     {
         maxq = vp8_convert_qindex_to_q(i);
 
+
         kf_low_motion_minq[i] = calculate_minq_index( maxq,
-                                                      0.00000006,
-                                                      -0.0000276,
-                                                      0.098,
+                                                      0.0000003,
+                                                      -0.000015,
+                                                      0.074,
                                                       0.0 );
+
         kf_high_motion_minq[i] = calculate_minq_index( maxq,
-                                                       0.00000024,
-                                                       -0.000201,
-                                                       0.154,
+                                                       0.00000034,
+                                                       -0.000125,
+                                                       0.13,
                                                        0.0 );
         gf_low_motion_minq[i] = calculate_minq_index( maxq,
-                                                      0.00000179,
-                                                      -0.000975,
-                                                      0.355,
+                                                      0.0000016,
+                                                      -0.00078,
+                                                      0.315,
                                                       0.0 );
         gf_mid_motion_minq[i] = calculate_minq_index( maxq,
-                                                      0.00000409,
-                                                      -0.00176,
-                                                      0.443,
+                                                      0.00000415,
+                                                      -0.0017,
+                                                      0.425,
                                                       0.0 );
         gf_high_motion_minq[i] = calculate_minq_index( maxq,
-                                                       0.00000819,
-                                                       -0.00286,
-                                                       0.532,
+                                                       0.00000725,
+                                                       -0.00235,
+                                                       0.47,
                                                        0.0  );
         inter_minq[i] = calculate_minq_index( maxq,
                                               0.00000271,
--