shithub: libvpx

Download patch

ref: b12a8dac98aa90d08d094d0a3709ef3eddf32092
parent: eedd98ac0a7aded03218acbc2391b8bc6c3e2b67
author: Ronald S. Bultje <rbultje@google.com>
date: Mon Jun 10 06:54:29 EDT 2013

Allow non-zeromv if ref_frame=intra with segmentation skip/ref enabled.

Change-Id: Ib5a95bb6ab643b276df3faa9bf99595e4a69ff18

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2680,7 +2680,7 @@
     // If the segment skip feature is enabled....
     // then do nothing if the current mode is not allowed..
     } else if (vp9_segfeature_active(xd, segment_id, SEG_LVL_SKIP) &&
-               (this_mode != ZEROMV)) {
+               (this_mode != ZEROMV && ref_frame != INTRA_FRAME)) {
       continue;
     // Disable this drop out case if the ref frame
     // segment level feature is enabled for this segment. This is to
--