webrtc/modules/video_coding
Jiawei Ou aa7bc7e0bb Create field trial for vp8 number of thread on iOS.
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}
2018-12-13 07:35:59 +00:00
..
codecs Create field trial for vp8 number of thread on iOS. 2018-12-13 07:35:59 +00:00
include Include event_wrapper.h only where used. 2018-12-04 14:50:18 +00:00
test [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
utility Convert all webrtc code to not access EncodedImage::_size directly. 2018-12-07 16:19:34 +00:00
BUILD.gn Create field trial for vp8 number of thread on iOS. 2018-12-13 07:35:59 +00:00
codec_timer.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
codec_timer.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
decoder_database.cc Remove kVideoCodecUnknown from WebRTC. 2018-08-16 15:15:39 +00:00
decoder_database.h Refactoring PayloadRouter. 2018-07-17 14:46:15 +00:00
decoding_state.cc Add accessor methods for RTP timestamp of EncodedImage. 2018-08-21 09:15:51 +00:00
decoding_state.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
decoding_state_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
DEPS Prepare VideoProcessor for async simulcast support. 2018-03-08 17:41:13 +00:00
encoded_frame.cc Convert all webrtc code to not access EncodedImage::_size directly. 2018-12-07 16:19:34 +00:00
encoded_frame.h Vp9 flexible mode fixes 2018-12-04 15:36:28 +00:00
encoder_database.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
encoder_database.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fec_controller_default.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fec_controller_default.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fec_controller_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fec_rate_table.h
frame_buffer.cc Convert all webrtc code to not access EncodedImage::_size directly. 2018-12-07 16:19:34 +00:00
frame_buffer.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
frame_buffer2.cc Vp9 flexible mode fixes 2018-12-04 15:36:28 +00:00
frame_buffer2.h Vp9 flexible mode fixes 2018-12-04 15:36:28 +00:00
frame_buffer2_unittest.cc Vp9 flexible mode fixes 2018-12-04 15:36:28 +00:00
frame_object.cc Calculate min and max receive timestamps for packets in a video frame 2018-12-07 16:22:34 +00:00
frame_object.h Calculate min and max receive timestamps for packets in a video frame 2018-12-07 16:22:34 +00:00
generic_decoder.cc Always record receive timestamps even on when the invalid flag is set. 2018-12-07 12:29:45 +00:00
generic_decoder.h Remove unimplemented function declarations VCMGenericDecoder::External and VCMTimestampMap::Reset. 2018-09-06 09:05:30 +00:00
generic_encoder.cc Remove redundant return-statement in VCMGenericEncoder::RequestFrame 2018-12-10 13:54:39 +00:00
generic_encoder.h Add ability to specify if rate controller of video encoder is trusted. 2018-11-08 16:41:12 +00:00
generic_encoder_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
h264_sprop_parameter_sets.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
h264_sprop_parameter_sets.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
h264_sprop_parameter_sets_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
h264_sps_pps_tracker.cc Remove clang:find_bad_constructs suppression from call:call. 2018-08-29 11:57:00 +00:00
h264_sps_pps_tracker.h Remove clang:find_bad_constructs suppression from call:call. 2018-08-29 11:57:00 +00:00
h264_sps_pps_tracker_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
histogram.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
histogram.h
histogram_unittest.cc
inter_frame_delay.cc
inter_frame_delay.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
internal_defines.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
jitter_buffer.cc Include event_wrapper.h only where used. 2018-12-04 14:50:18 +00:00
jitter_buffer.h Include event_wrapper.h only where used. 2018-12-04 14:50:18 +00:00
jitter_buffer_common.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
jitter_buffer_unittest.cc Move size() method to EncodedImage base class 2018-11-29 13:44:47 +00:00
jitter_estimator.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
jitter_estimator.h JitterEstimator: Remove old LowRate exp and add trial for upper bound. 2018-11-01 14:51:38 +00:00
jitter_estimator_tests.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
media_opt_util.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
media_opt_util.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
media_optimization.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
media_optimization.h Remove MediaOptimization::Reset. 2018-09-03 15:56:55 +00:00
nack_fec_tables.h
nack_module.cc Adds a field trial parameter to configure waiting time before sending Nack packets. 2018-11-02 14:56:52 +00:00
nack_module.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
nack_module_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
OWNERS Make ilnik@ owner in video/ and modules/video_coding/ 2018-09-11 12:39:39 +00:00
packet.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
packet.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
packet_buffer.cc Calculate min and max receive timestamps for packets in a video frame 2018-12-07 16:22:34 +00:00
packet_buffer.h Replace rtc::Optional with absl::optional 2018-06-18 10:24:48 +00:00
receiver.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
receiver.h Include event_wrapper.h only where used. 2018-12-04 14:50:18 +00:00
receiver_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
rtp_frame_reference_finder.cc Vp9 flexible mode fixes 2018-12-04 15:36:28 +00:00
rtp_frame_reference_finder.h Make RtpGenericFrameDescriptor available for E2EE. 2018-10-02 13:35:29 +00:00
rtp_frame_reference_finder_unittest.cc Calculate min and max receive timestamps for packets in a video frame 2018-12-07 16:22:34 +00:00
rtt_filter.cc Fix typo in VCMRttFilter 2018-01-26 10:59:56 +00:00
rtt_filter.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
session_info.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
session_info.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
session_info_unittest.cc VCMPacket: Set VCMNaluCompleteness for generic codecs 2018-07-11 13:22:59 +00:00
timestamp_map.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
timestamp_map.h Remove unimplemented function declarations VCMGenericDecoder::External and VCMTimestampMap::Reset. 2018-09-06 09:05:30 +00:00
timing.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
timing.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
timing_unittest.cc Remove unused functions in VCMTiming. 2018-01-17 14:47:10 +00:00
video_codec_initializer.cc Activate/deactivate VP9 spatial layers. 2018-12-10 12:55:51 +00:00
video_codec_initializer_unittest.cc Activate/deactivate VP9 spatial layers. 2018-12-10 12:55:51 +00:00
video_coding_defines.cc Fix chromium warnings for SdpVideoFormat. 2018-03-27 08:11:21 +00:00
video_coding_impl.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
video_coding_impl.h Don't poll EncoderInfo from encoder twice per frame 2018-11-16 14:11:38 +00:00
video_packet_buffer_unittest.cc Convert all webrtc code to not access EncodedImage::_size directly. 2018-12-07 16:19:34 +00:00
video_receiver.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
video_receiver_unittest.cc Deprecate EventFactory and delete all usage. 2018-11-08 11:00:37 +00:00
video_sender.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
video_sender_unittest.cc Don't poll EncoderInfo from encoder twice per frame 2018-11-16 14:11:38 +00:00