diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2017-07-12 06:42:23 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2017-07-19 15:50:07 +0700 |
commit | a3d3cfa65c01123edf46d22c3fab7ef1bb428b37 (patch) | |
tree | 209ff56753daa8af1d416df3d946a3ae1035776a /libavdevice/openal-dec.c | |
parent | 5c9dcd5c484f56fb9fb5d277256439f0becce12c (diff) | |
download | ffmpeg-a3d3cfa65c01123edf46d22c3fab7ef1bb428b37.tar.gz |
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: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavdevice/openal-dec.c')
0 files changed, 0 insertions, 0 deletions