Commit 3da65bff authored by Jingning Han's avatar Jingning Han

Properly reset the skip_mode element in mb_mode_info

The skip_mode element might re-use prior frame's coding decision
for a current coding block rate-distortion search. Properly reset
it to be zero for regular rate-distortion mode search.

This improves the coding performance for ext-skip by 0.07% for
lowres.

Change-Id: Idbda5b441e3eb844e03ca07bd174b4b7f8a7cb59
parent 30bf8713
......@@ -677,6 +677,11 @@ static void rd_pick_sb_modes(const AV1_COMP *const cpi, TileDataEnc *tile_data,
// Set to zero to make sure we do not use the previous encoded frame stats
mbmi->skip = 0;
#if CONFIG_EXT_SKIP
// Reset skip mode flag.
mbmi->skip_mode = 0;
#endif
}
x->skip_chroma_rd =
......
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