From 08053edb8076b77b4c395c2a2ae6e507d9157cee Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Thu, 27 Feb 2014 11:26:39 -0800 Subject: [PATCH] Assign motion vector invalid value in intra mode In non-RD mode decision, assign motion vector INVALID_MV when intra prediction mode is selected. Change-Id: I8f6ec39b71e755758f0f698074a2c17d934622ea --- vp9/encoder/vp9_pickmode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 82d5c9231..0b92df002 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -303,6 +303,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, mbmi->mode = this_mode; mbmi->ref_frame[0] = INTRA_FRAME; mbmi->uv_mode = this_mode; + mbmi->mv[0].as_int = INVALID_MV; } } } -- 2.40.0