Merge "vp9_aq_cyclicrefresh: fix double->float warning"
This commit is contained in:
commit
604e975f93
@ -69,7 +69,7 @@ static int apply_cyclic_refresh_bitrate(const VP9_COMMON *cm,
|
|||||||
// with number of seg blocks, so compare available bits to number of blocks.
|
// with number of seg blocks, so compare available bits to number of blocks.
|
||||||
// Average bits available per frame = avg_frame_bandwidth
|
// Average bits available per frame = avg_frame_bandwidth
|
||||||
// Number of (8x8) blocks in frame = mi_rows * mi_cols;
|
// 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;
|
const int number_blocks = cm->mi_rows * cm->mi_cols;
|
||||||
// The condition below corresponds to turning off at target bitrates:
|
// The condition below corresponds to turning off at target bitrates:
|
||||||
// (at 30fps), ~8kbps for CIF, 20kbps for VGA, 60kps for HD/720p.
|
// (at 30fps), ~8kbps for CIF, 20kbps for VGA, 60kps for HD/720p.
|
||||||
|
Loading…
Reference in New Issue
Block a user