]> granicus.if.org Git - libvpx/commit
First modification of multi-thread decoder
authorYunqing Wang <yunqingwang@google.com>
Thu, 29 Jul 2010 20:24:26 +0000 (16:24 -0400)
committerYunqing Wang <yunqingwang@google.com>
Tue, 10 Aug 2010 18:09:57 +0000 (14:09 -0400)
commitba2e107d2878ae5bf225ff038e46d309be30dfd0
tree4aa826fd2290a1f48de379f3ed6faef113baff1b
parent618c7d27a0e5521d5031d8d885b45536dda50815
First modification of multi-thread decoder

This is the first modification of VP8 multi-thread decoder, which uses
same threads to decode macroblocks and then do loopfiltering for each
frame.

Inspired by Rob Clark, synchronization was done on every 8 macroblocks
instead of every macroblock to reduce lock contention.

Comparing with the original code, this implementation gave about 15%-
20% performance gain while decoding my test clips on a Core2 Quad
platform (Linux).

The work is not done yet.

Test on other platforms are needed.

Change-Id: Ice9ddb0b511af1359b9f71e65066143c04fef3b5
vp8/decoder/decoderthreading.h
vp8/decoder/onyxd_if.c
vp8/decoder/onyxd_int.h
vp8/decoder/threading.c