]> granicus.if.org Git - libvpx/commit
Added context reset when 2nd order coefficients are cleared
authorYaowu Xu <yaowu@google.com>
Thu, 3 Nov 2011 23:05:29 +0000 (16:05 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 3 Nov 2011 23:05:29 +0000 (16:05 -0700)
commitd8afecef715277a59841607dde01e8af79f7c7f2
treef6ce992c60acf127a7f7eadf0ec42992d2708d23
parenta10a268e58ffd4366f6dbddd5f26600d688714c9
Added context reset when 2nd order coefficients are cleared

As discovered in path 10 of Change Ia12acd2f, reset 2nd order coeffs
without reset of above and left coding context may have introduced
problem that causes encoder/decoder mismatching. This commit added
update to coding context when the 2nd coefficients are cleared.

In addition, this commit also introduced early breakout in the checks
to speed up when coefficients are too significant to be cleared.

Change-Id: I85322a432b11e8af85001525d1e9dc218f9a0bd6
vp8/encoder/encodemb.c