Commit 599461d6 authored by Jingning Han's avatar Jingning Han
Browse files

Make encoder mv count sync with decoder behavior

Change-Id: Ia2e60e6ac1cb342b26ffa919b40c77284921b8e0
parent 84f05d2c
......@@ -435,8 +435,13 @@ void av1_update_mv_count(ThreadData *td) {
const MODE_INFO *mi = xd->mi[0];
const MB_MODE_INFO *const mbmi = &mi->mbmi;
const MB_MODE_INFO_EXT *mbmi_ext = td->mb.mbmi_ext;
#if CONFIG_CB4X4
const int unify_bsize = 1;
#else
const int unify_bsize = 0;
#endif
if (mbmi->sb_type < BLOCK_8X8) {
if (mbmi->sb_type < BLOCK_8X8 && !unify_bsize) {
const int num_4x4_w = num_4x4_blocks_wide_lookup[mbmi->sb_type];
const int num_4x4_h = num_4x4_blocks_high_lookup[mbmi->sb_type];
int idx, idy;
......
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