shithub: libvpx

Download patch

ref: 08053edb8076b77b4c395c2a2ae6e507d9157cee
parent: bac4113c42f26f0d19096009118bb0dcf55e1a91
author: Jingning Han <jingning@google.com>
date: Thu Feb 27 06:26:39 EST 2014

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

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -303,6 +303,7 @@
         mbmi->mode = this_mode;
         mbmi->ref_frame[0] = INTRA_FRAME;
         mbmi->uv_mode = this_mode;
+        mbmi->mv[0].as_int = INVALID_MV;
       }
     }
   }
--