aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/oss.c
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-07-12 06:42:23 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2017-07-19 15:50:07 +0700
commita3d3cfa65c01123edf46d22c3fab7ef1bb428b37 (patch)
tree209ff56753daa8af1d416df3d946a3ae1035776a /libavdevice/oss.c
parent5c9dcd5c484f56fb9fb5d277256439f0becce12c (diff)
downloadffmpeg-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/oss.c')
0 files changed, 0 insertions, 0 deletions