The module I've been working on is designed with the intention to work in multiple instances simultaneously.
Let's for a moment assume that Intel Media SDK hw-based implementation gives superb performance (and is preferred to run if available), whereas sw-based implementation performance falls behind the original/native implementation (C/C++/SSE/MMX...).
For these reasons it would be beneficial to have some kind of run-time system examination mechanism which would report resource (GPU/surfaces...) availability, upon which the instantiation of different module flavors would be decided.
Is there a good example of such 'runtime monitor' (source code example preferred) ?
Intel Media SDK does not provide any way of querying the GPU or CPU for current load.
That said, for the SW execution case, developers may benefit from using the Media SDK Join feature which will help share the CPU resources appropriately.