shithub: libvpx

Download patch

ref: 7eca086707f3e0f631a5be8952f594f4c387ca74
parent: 4c08120ca016242701fee62f83f826d48a9bb315
author: hkuang <hkuang@google.com>
date: Thu Jul 17 10:25:41 EDT 2014

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