]> granicus.if.org Git - libvpx/commitdiff
Don't reset sign_bias fields in vp10_setup_past_independence().
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 3 Sep 2015 20:21:56 +0000 (16:21 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 8 Sep 2015 17:48:20 +0000 (13:48 -0400)
The fields are always coded in the frame itself, so there is never any
dependency on past frames. In practice, this fixes sign_bias being
ignored when error_resilient_mode=1.

See issue 1011.

Change-Id: I9d134ef6b445ced4d100fa735ce579855a0fa5af

vp10/common/entropymode.c

index cdb6ab9ea04ccab6d9d2178ed37839f34c6ef928..0622a7d2cdf9aa445d0b3e98ab7ce0a10b0f8d92 100644 (file)
@@ -463,7 +463,5 @@ void vp10_setup_past_independence(VP10_COMMON *cm) {
     memset(cm->prev_mip, 0,
            cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->prev_mip));
 
-  vp10_zero(cm->ref_frame_sign_bias);
-
   cm->frame_context_idx = 0;
 }