]> granicus.if.org Git - libvpx/commit
Add segmentation map array for current and last frame segmentation.
authorhkuang <hkuang@google.com>
Thu, 17 Jul 2014 21:25:41 +0000 (14:25 -0700)
committerhkuang <hkuang@google.com>
Mon, 28 Jul 2014 17:44:02 +0000 (10:44 -0700)
commit7eca086707f3e0f631a5be8952f594f4c387ca74
tree6470e272684332419ea88514dd7a16c8328ffcd4
parent4c08120ca016242701fee62f83f826d48a9bb315
Add segmentation map array for current and last frame segmentation.

The original implementation only allocates one segmentation map and this
works fine for serial decode. But for frame parallel decode,  each thread
need to have its own segmentation map and the last frame segmentation map
should be provided from last frame decoding thread.

After finishing decoding a frame, thread need to serve the old segmentation
map that associate with the previous decoded frame. The thread also need to
use another segmentation map for decoding the current frame.

Change-Id: I442ddff36b5de9cb8a7eb59e225744c78f4492d8
vp9/common/vp9_alloccommon.c
vp9/common/vp9_alloccommon.h
vp9/common/vp9_entropymode.c
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodemv.c
vp9/decoder/vp9_decoder.c