Set 2 thread as target for 1280x720 pixel count, and then scale up linearly from there - but cap at physical core count. For common resolutions this results in: 1 for 360p 2 for 720p 4 for 1080p 8 for 1440p 18 for 4K Bug: webrtc:11551 Change-Id: I666bd971eccddee096749f20d3b08eb40fe868ad Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/177012 Reviewed-by: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31513}