]> git.videolan.org Git - x264.git/commit
Improve lookahead-threads auto selection
authorJason Garrett-Glaser <jason@x264.com>
Thu, 10 Jan 2013 21:15:52 +0000 (13:15 -0800)
committerJason Garrett-Glaser <jason@x264.com>
Mon, 25 Feb 2013 20:14:34 +0000 (12:14 -0800)
commit4d220bc18cb177b6812c381e7fb808f9ae3189e1
tree7b1f87e92de630d1b121a74c62b73d11f4df1bbe
parentc63a518d43bb3822342513eb4af109551e86fbd2
Improve lookahead-threads auto selection
Smarter decision to improve fast-first-pass performance in 2-pass encodes.
Dramatically improves CPU utilization on multi-core systems.

Tested on a quad-core Ivy Bridge (12 threads, 1080p):
Fast first pass:
veryfast:     ~7% faster
faster:      ~11% faster
fast/medium: ~15% faster
slow/slower: ~42% faster
veryslow:    ~55% faster
CRF/1-pass:
veryfast:     ~9% faster
(all others remained the same)
encoder/encoder.c