shithub: libvpx

Download patch

ref: 604e975f93fd5f799528f58aaa2c0b9ac23f8c33
parent: 8c4360ed89127a0946f36dfe6a2919a72922f2bd
parent: bd4501fe2815f790000bb3f5377fc251b191d6a8
author: James Zern <[email protected]>
date: Thu Jan 21 18:08:02 EST 2016

Merge "vp9_aq_cyclicrefresh: fix double->float warning"

--- a/vp9/encoder/vp9_aq_cyclicrefresh.c
+++ b/vp9/encoder/vp9_aq_cyclicrefresh.c
@@ -69,7 +69,7 @@
   // with number of seg blocks, so compare available bits to number of blocks.
   // Average bits available per frame = avg_frame_bandwidth
   // Number of (8x8) blocks in frame = mi_rows * mi_cols;
-  const float factor = 0.15;
+  const float factor = 0.15f;
   const int number_blocks = cm->mi_rows  * cm->mi_cols;
   // The condition below corresponds to turning off at target bitrates:
   // (at 30fps), ~8kbps for CIF, 20kbps for VGA, 60kps for HD/720p.