filters: Linear: Run one thread on in-place filter
commit2212fd623e8e09bf468d3b72e4468a604511a9c9
authorCyril Hrubis <metan@ucw.cz>
Fri, 27 Sep 2013 18:04:19 +0000 (27 20:04 +0200)
committerCyril Hrubis <metan@ucw.cz>
Fri, 27 Sep 2013 18:10:35 +0000 (27 20:10 +0200)
tree22f62a0fcfd101d62e3b3f83a48ed4dde75a94b8
parent8114cdf5bd54ace1d44cbe94e8b980d924fd4d20
filters: Linear: Run one thread on in-place filter

If filter is run in-place (src == dst) the filter cannot run in more
than one thread (as threads would override values read by other
threads).

This patch changes the Linear Convolution filters to default to one
thread if in-place usage is detected instead of the ASSERTS()

Also update linear convolution docs.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
doc/filters.txt
libs/filters/GP_LinearThreads.c