14 lines
402 B
Plaintext
14 lines
402 B
Plaintext
$NetBSD: patch-ba,v 1.4 2012/11/08 19:55:56 adam Exp $
|
|
|
|
--- encoder/analyse.c.orig 2011-07-07 20:45:05.000000000 +0000
|
|
+++ encoder/analyse.c
|
|
@@ -285,7 +285,7 @@ float *x264_analyse_prepare_costs( x264_
|
|
return NULL;
|
|
logs[0] = 0.718f;
|
|
for( int i = 1; i <= 2*4*2048; i++ )
|
|
- logs[i] = log2f(i+1)*2 + 1.718f;
|
|
+ logs[i] = logf(i+1)*2.88539f + 1.718f;
|
|
return logs;
|
|
}
|
|
|