summaryrefslogtreecommitdiff
path: root/vp8/encoder/encodeintra.h
diff options
context:
space:
mode:
authorAttila Nagy <attilanagy@google.com>2011-03-25 12:53:03 +0200
committerAttila Nagy <attilanagy@google.com>2011-03-31 10:23:01 +0300
commit297b27655eaf4a0cfd097b2ae94add4b19fed9eb (patch)
tree42297d759d79f59bc95ca3d44a19b6d449a2627b /vp8/encoder/encodeintra.h
parentbeaafefcf166950aed700a63f5d40f8b87cc736a (diff)
downloadlibvpx-297b27655eaf4a0cfd097b2ae94add4b19fed9eb.tar
libvpx-297b27655eaf4a0cfd097b2ae94add4b19fed9eb.tar.gz
libvpx-297b27655eaf4a0cfd097b2ae94add4b19fed9eb.tar.bz2
libvpx-297b27655eaf4a0cfd097b2ae94add4b19fed9eb.zip
Runtime detection of available processor cores.
Detect the number of available cores and limit the thread allocation accordingly. On decoder side limit the number of threads to the max number of token partition. Core detetction works on Windows and Posix platforms, which define _SC_NPROCESSORS_ONLN or _SC_NPROC_ONLN. Change-Id: I76cbe37c18d3b8035e508b7a1795577674efc078
Diffstat (limited to 'vp8/encoder/encodeintra.h')
0 files changed, 0 insertions, 0 deletions