]> granicus.if.org Git - libvpx/commit
vp10: don't reset contextual skip flag if block has no coefficients.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 8 Sep 2015 18:24:30 +0000 (14:24 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 16 Sep 2015 10:41:51 +0000 (06:41 -0400)
commita5d930e46429dc5648309d2fc0ec7b1acf0f1267
treed650f8a38f3b6ffb51ec1797ba9d899215516134
parenteeb5ef0a240cb7c69d5e92cdd9879032fb4bc5a7
vp10: don't reset contextual skip flag if block has no coefficients.

The implicitly changed value would be used for contextualizing future
skip flags of neighbour blocks (bottom/right), which is certainly not
what was intended. The original code stems from vp8, and was useful
in cases where coding of the skip flag was disabled. In vp9, the skip
flag is always coded. The result of this change is that for bitstream
parsing purposes, decoding of the skip flag becomes independent of
decoding of block coefficients.

See issue 1014.

Change-Id: I8629e6abe76f7c1d649f28cd6fe22a675ce4a15d
vp10/common/blockd.h
vp10/common/loopfilter.c
vp10/decoder/decodeframe.c