Removing 'new' probability calculation from convert_distribution().
authorDmitry Kovalev <dkovalev@google.com>
Fri, 1 Nov 2013 22:09:43 +0000 (15:09 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Fri, 1 Nov 2013 22:09:43 +0000 (15:09 -0700)
commitdf19c6b64c24573cf2c77026e23aaca57372221a
tree0b2226375234e9d0e2ed419366f2d606d5a2236c
parent340b2b076ef2bb0f4b1b195744d52562477b2b1e
Removing 'new' probability calculation from convert_distribution().

We don't have to calculate 'new' probability in convert_distribution()
because it is enough to calculate only 'new' counters which could be used
to calculate probability if necessary. That's why removing a lot of unused
temporary probability arrays and reducing number of get_binary_prob()
calls.

Change-Id: I4e14eb7203d1ace61bbddefd6b9b6326be83ba63
vp9/common/vp9_entropy.c
vp9/common/vp9_entropymode.c
vp9/common/vp9_entropymv.c
vp9/common/vp9_treecoder.c
vp9/common/vp9_treecoder.h
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encodemv.c