aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tomi
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-12-21 01:18:01 +0100
committerJanne Grunau <janne-libav@jannau.net>2011-12-22 21:50:07 +0100
commitea4d5f48373ab856e01a3cf05426db6e823e01d1 (patch)
tree0821c1f58e1ff129e798e959f758ae3f11fff81d /libavutil/tomi
parentf77f640b3035d357a6c6ffcea243c7ea0d8ebc67 (diff)
downloadffmpeg-ea4d5f48373ab856e01a3cf05426db6e823e01d1.tar.gz
linux: use number of CPUs as automatic thread count
Use sched_getaffinity to determine the number of logical CPUs. Limits the number of threads to 16 since slice threading of H.264 seems to be buggy with more than 16 threads.
Diffstat (limited to 'libavutil/tomi')
0 files changed, 0 insertions, 0 deletions