mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 07:10:38 +01:00
![]() Without the added preprocessor check, iOS device will be using the desktop logic to determine the number of thread. This put iPhone 8 and iPhone X to use 3 threads and all other iPhones after iPhone 5 to use a single thread. This CL added a preprocessor for WEBRTC_IOS to have it own thread number calculation logic. In which, the maximum number of thread is fetched from a field_trial and capped by the number of CPU available on the device. Bug: webrtc:10005 Change-Id: I8c6257fcbf85b07bc986b5f733dbabb3feee37f7 Reviewed-on: https://webrtc-review.googlesource.com/c/110941 Commit-Queue: Jiawei Ou <ouj@fb.com> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25997} |
||
---|---|---|
.. | ||
batch | ||
android_codec_factory_helper.cc | ||
android_codec_factory_helper.h | ||
objc_codec_factory_helper.h | ||
objc_codec_factory_helper.mm | ||
plot_webrtc_test_logs.py | ||
video_codec_unittest.cc | ||
video_codec_unittest.h | ||
video_encoder_decoder_instantiation_tests.cc | ||
videocodec_test_fixture_config_unittest.cc | ||
videocodec_test_fixture_impl.cc | ||
videocodec_test_fixture_impl.h | ||
videocodec_test_libvpx.cc | ||
videocodec_test_mediacodec.cc | ||
videocodec_test_openh264.cc | ||
videocodec_test_parameterized.cc | ||
videocodec_test_stats_impl.cc | ||
videocodec_test_stats_impl.h | ||
videocodec_test_stats_impl_unittest.cc | ||
videocodec_test_videotoolbox.cc | ||
videoprocessor.cc | ||
videoprocessor.h | ||
videoprocessor_unittest.cc |