diff options
author | Muhammad Faiz <[email protected]> | 2017-07-12 06:42:23 +0700 |
---|---|---|
committer | Muhammad Faiz <[email protected]> | 2017-07-19 15:50:07 +0700 |
commit | a3d3cfa65c01123edf46d22c3fab7ef1bb428b37 (patch) | |
tree | 209ff56753daa8af1d416df3d946a3ae1035776a /doc/examples/avio_reading.c | |
parent | 5c9dcd5c484f56fb9fb5d277256439f0becce12c (diff) |
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 <[email protected]>
Diffstat (limited to 'doc/examples/avio_reading.c')
0 files changed, 0 insertions, 0 deletions