Commit 2ff108aa authored by Marco Paniconi's avatar Marco Paniconi Committed by Gerrit Code Review

Merge "vp8: Small adjustment to cyclic_refresh max_mbs_perframe."

parents 992d9a06 3140e901
...@@ -1918,7 +1918,7 @@ struct VP8_COMP* vp8_create_compressor(VP8_CONFIG *oxcf) ...@@ -1918,7 +1918,7 @@ struct VP8_COMP* vp8_create_compressor(VP8_CONFIG *oxcf)
* Currently this is tied to error resilliant mode * Currently this is tied to error resilliant mode
*/ */
cpi->cyclic_refresh_mode_enabled = cpi->oxcf.error_resilient_mode; cpi->cyclic_refresh_mode_enabled = cpi->oxcf.error_resilient_mode;
cpi->cyclic_refresh_mode_max_mbs_perframe = (cpi->common.mb_rows * cpi->common.mb_cols) / 5; cpi->cyclic_refresh_mode_max_mbs_perframe = (cpi->common.mb_rows * cpi->common.mb_cols) / 7;
if (cpi->oxcf.number_of_layers == 1) { if (cpi->oxcf.number_of_layers == 1) {
cpi->cyclic_refresh_mode_max_mbs_perframe = cpi->cyclic_refresh_mode_max_mbs_perframe =
(cpi->common.mb_rows * cpi->common.mb_cols) / 20; (cpi->common.mb_rows * cpi->common.mb_cols) / 20;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment