]> granicus.if.org Git - libvpx/commitdiff
Allow non-zeromv if ref_frame=intra with segmentation skip/ref enabled.
authorRonald S. Bultje <rbultje@google.com>
Mon, 10 Jun 2013 17:54:29 +0000 (10:54 -0700)
committerRonald S. Bultje <rbultje@google.com>
Mon, 10 Jun 2013 17:55:10 +0000 (10:55 -0700)
Change-Id: Ib5a95bb6ab643b276df3faa9bf99595e4a69ff18

vp9/encoder/vp9_rdopt.c

index 06f571aaad6527c8ac9dc2be2b2c9c26b48c3a25..3d710dcf66e993b3ca4c5bc27af8f4a3da71cc33 100644 (file)
@@ -2680,7 +2680,7 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
     // 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