tp7/masktools

Threading support

Closed this issue · 2 comments

tp7 commented

Consider adding threading support for non-optimized not-implace/lut filters.

Most likely filters will need to implement a method internal_threading(), that'd return true if the filter uses threads internally. If it does not - just process planes in different threads.

Internal threading might be useful for cases where we don't process some planes.

tp7 commented

Threading seems to be almost useless for most filters, unless you can process multiple planes in parallel.
See if there is any point at all after AVX2 support is implemented.

tp7 commented

Will rely on internal avs+ frame-level threading.