vpxdec: Use threads on multi-core systems
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 16 Nov 2015 21:23:43 +0000 (16:23 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 17 Nov 2015 17:27:31 +0000 (12:27 -0500)
commitb848c1b6ffd1e508228820a013f94fb445e4777f
treecfcf2da64083823534f1b2728e22d1d8d6971e1e
parent8bcc733ceca037b1d680ddb21c0317b6f85fab19
vpxdec: Use threads on multi-core systems

This adds an automatic mode to the threads property of vpxdec in order to
use as many threads as there is CPU on the platform. This brings back
GStreamer VPX decoding performance closer to what is achieved by other
players, including Chromium.

https://bugzilla.gnome.org/show_bug.cgi?id=758195
ext/vpx/gstvp8dec.c
ext/vpx/gstvp9dec.c