shithub: libvpx

Download patch

ref: 6fbbb33aaf48748ad36d9807642e3ac2c5185777
parent: 75d77e36db70b5ca667fab6d935dcb3b82456554
author: Alex Converse <[email protected]>
date: Tue May 27 14:14:14 EDT 2014

Always allow ZEROMV when SEG_LVL_SKIP is on.

Change-Id: I6db1dc82f66438ac48f571d2f1a2ac7c39a97a1a

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -3129,6 +3129,8 @@
   if (vp9_segfeature_active(seg, segment_id, SEG_LVL_SKIP)) {
     const int inter_non_zero_mode_mask = 0x1F7F7;
     mode_skip_mask |= inter_non_zero_mode_mask;
+    mode_skip_mask &= ~(1 << THR_ZEROMV);
+    disable_inter_mode_mask = ~(1 << INTER_OFFSET(ZEROMV));
   }
 
   // Disable this drop out case if the ref frame