compositor: blend with multiple threads
authorMatthew Waters <matthew@centricular.com>
Wed, 15 Jul 2020 05:46:56 +0000 (15:46 +1000)
committerMatthew Waters <matthew@centricular.com>
Mon, 14 Sep 2020 04:00:58 +0000 (14:00 +1000)
commitd7abf832afac6ad294f610ddeb496ba4a6558cde
treebf26216ee2654026a22da01d2e720c9133fab7be
parentd0f36c7e13d3c9189361cc2f16690ba8fe0a9973
compositor: blend with multiple threads

Increases the throughput of compositing by using more CPU cycles across
multiple threads.  Simple cases (the output contains one pixel from at
most one input) can have up to a 70% increase in throughput.  Not so
simple cases are limited by the region with the most number of
composite operations.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/755>
gst/compositor/blend.c
gst/compositor/blend.h
gst/compositor/compositor.c
gst/compositor/compositor.h