multithread & veejay : openmp test

Skip to first unread message

Dec 19, 2016, 11:30:21 AM12/19/16
Hello folk of the last pixel,

I have successfully tried to introduce OpenMP [*] (parallel programming) to veejay on the effect side (libvje).
I have selected "Constant Time Median Filter" as test. Even with a 2 years old cpu this effect do not run at realtime.

So, using the "sections" omp distribution, the YCbCr channels work is distributed nicely among ones material resources... great!

do to the overhead of thread creations and join, for each apply of the filter, finally the effect run slower!

Any idea to get ride of the overhead ?
Any idea for a good use of openmp usage in veejay ?


Matthijs van Henten

Dec 19, 2016, 2:13:48 PM12/19/16
Looks like copying data between the treads is costing you? I don't know much about openMP or (c for that matter, 1 semester of cs) but looks like you could use the shared memory feature of openmp to speed things up.

You received this message because you are subscribed to the Google Groups "veejay-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

webdeveloper & consultant
Mobile: +31 (0)630841238

Retiefstraat 51-III
1092VX Amsterdam
The Netherlands

Reply all
Reply to author
0 new messages