Skip to content
Snippets Groups Projects
Commit a3d3cfa6 authored by Muhammad Faiz's avatar Muhammad Faiz
Browse files

avutil: merge slice threading implementation from avcodec and avfilter


Rework it to improve performance. Now mutex is not shared by workers,
instead each worker has its own mutex and condition variable. This
reduces lock contention between workers. Also use atomic variable for
counter.

The interface also allows execute to run special function on main
thread, requested by Ronald.

Signed-off-by: default avatarMuhammad Faiz <mfcc64@gmail.com>
parent 5c9dcd5c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment