Merge "Periodically update mode and mv costs"
This commit is contained in:
commit
4b3e44f91d
@ -295,13 +295,15 @@ void vp9_initialize_rd_consts(VP9_COMP *cpi) {
|
||||
|
||||
set_block_thresholds(cpi);
|
||||
|
||||
fill_token_costs(x->token_costs, cm->fc.coef_probs);
|
||||
|
||||
if (!cpi->sf.use_pick_mode) {
|
||||
fill_token_costs(x->token_costs, cm->fc.coef_probs);
|
||||
|
||||
for (i = 0; i < PARTITION_CONTEXTS; i++)
|
||||
vp9_cost_tokens(x->partition_cost[i], get_partition_probs(cm, i),
|
||||
vp9_partition_tree);
|
||||
}
|
||||
|
||||
if (!cpi->sf.use_pick_mode || (cm->current_video_frame & 0x07) == 1) {
|
||||
fill_mode_costs(cpi);
|
||||
|
||||
if (!frame_is_intra_only(cm)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user