{
ac_qlookup[i] = current_val;
//current_val = (int)((double)current_val * 1.045);
- current_val = (int)((double)current_val * 1.04);
+ //current_val = (int)((double)current_val * 1.04);
+ current_val = (int)((double)current_val * 1.018);
if ( current_val == last_val )
current_val++;
last_val = current_val;
dc_qlookup[i] = (0.000000305 * ac_val * ac_val * ac_val) +
(-0.00065 * ac_val * ac_val) +
(0.9 * ac_val) + 0.5;
- if ( dc_qlookup[i] > dc_max )
- dc_qlookup[i] = dc_max;
+ //if ( dc_qlookup[i] > dc_max )
+ // dc_qlookup[i] = dc_max;
if ( dc_qlookup[i] < ACDC_MIN )
dc_qlookup[i] = ACDC_MIN;
}
//
// Table that converts 0-63 Q range values passed in outside to the Qindex
// range used internally.
-/*#if CONFIG_EXTEND_QRANGE
+#if CONFIG_EXTEND_QRANGE
static const int q_trans[] =
{
0, 4, 8, 12, 16, 20, 24, 28,
192, 196, 200, 204, 208, 212, 216, 220,
224, 228, 232, 236, 240, 244, 249, 255,
};
-#else*/
+#else
static const int q_trans[] =
{
0, 1, 2, 3, 4, 5, 7, 8,
82, 85, 88, 91, 94, 97, 100, 103,
106, 109, 112, 115, 118, 121, 124, 127,
};
-//#endif
+#endif
int vp8_reverse_trans(int x)
{