]> granicus.if.org Git - libvpx/commit
Adjust gm parameter computation to avoid mismatch
authorSarah Parker <sarahparker@google.com>
Tue, 2 Aug 2016 19:28:41 +0000 (12:28 -0700)
committerSarah Parker <sarahparker@google.com>
Wed, 3 Aug 2016 19:20:12 +0000 (12:20 -0700)
commitaa810c002cbc12bb26d5b4b63510fdc39ada26dc
tree583dc91fe86c85286679ec35ea6451c2158526b9
parent134710af32add043bf30715a8bc06a048a303bb0
Adjust gm parameter computation to avoid mismatch

The gm parameters need to have WARPED_PRECISION_BITS precision
until they are written to the bitstream because functions in
reconinter use these parameters before they are written to
the bitstream. Previously, the parameters weren't being converted
to WARPED_PRECISION_BITS until they were read from the bitstream
which causes an encode/decode mismatch.

Change-Id: I31e76e9d6f7d24df21af287a72f8c01f1997304d
vp10/common/mv.h
vp10/decoder/decodeframe.c
vp10/encoder/bitstream.c
vp10/encoder/encodeframe.c