]> granicus.if.org Git - libvpx/commit
Reduce the memset call in tile decoding
authorYunqing Wang <yunqingwang@google.com>
Wed, 25 Nov 2015 23:28:03 +0000 (15:28 -0800)
committerYunqing Wang <yunqingwang@google.com>
Wed, 25 Nov 2015 23:28:03 +0000 (15:28 -0800)
commit7099feaeed9d0b106c2ced45aa0ab840cb54bd84
tree15567d7502eff19eedcf27f5b97ed6e838f0fd60
parentd52cc33891d30aacd6f2e339ba97051e06054106
Reduce the memset call in tile decoding

When the error resilient mode is on, the decoder resets mode info structure
to zero once per frame. This makes decoder about 10x slower if we decode
a single tile at a time. This patch resolves the issue by only memset mode
info of those decoded tiles. Currently, to decode a frame, tile decoding is
less than 2x slower than frame decoding.

Change-Id: Ia3fd88d91a4e74e7bbbc6547d87c24d085a1533e
vp9/common/vp9_entropymode.c
vp9/common/vp9_entropymode.h
vp9/decoder/vp9_decodeframe.c