webrtc/modules/video_coding/codecs
Sergey Silkin 2a3db3131d Disable Android specific threading settings in libvpx VP8 encoder
It used up to 3 threads for QVGA on Android before. This change disables Android-specific code path in NumberOfThreads() and uses the generic settings, which configure 1 thread for resolutions <=VGA, instead. The change is guarded by a killswitch.

For reference, frame encode time for VGA 512kbps using 1 thread on Pixel 2 (7 years old device; SD835) is ~5.5ms: https://chromeperf.appspot.com/report?sid=6e80c701ef6ff0d008a299fb122a16f0d2600ddfcd9981d3d75cd722c92b2869

Bug: webrtc:15828, b/316494683
Change-Id: I0e9571ede64c6cb77d529d21ccb0310ccb8bfdaf
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/337601
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41770}
2024-02-20 13:10:49 +00:00
..
av1 Fix crash when rolling libaom. 2024-02-02 09:45:05 +00:00
h264 OpenH264: report error on unsupported pixel format 2023-12-20 08:24:24 +00:00
interface Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
multiplex Propagate webrtc::Environment through MultiplexDecoderAdapter 2024-02-15 16:03:55 +00:00
test Set scoped field trials in encode/decode test 2024-02-14 09:13:58 +00:00
vp8 Disable Android specific threading settings in libvpx VP8 encoder 2024-02-20 13:10:49 +00:00
vp9 Field trial to control SVC frame dropping mode in libvpx VP9 encoder 2024-02-16 17:34:52 +00:00