webrtc/modules/video_coding
Minyue Li 7ddef1af88 Revert "Replace usage of old SetRates/SetRateAllocation methods"
This reverts commit 7ac0d5f348.

Reason for revert: <INSERT REASONING HERE>

Original change's description:
> Replace usage of old SetRates/SetRateAllocation methods
> 
> This rather large CL replaces all relevant usage of the old
> VideoEncoder::SetRates()/SetRateAllocation() methods in WebRTC.
> API is unchanged to allow downstream projects to update without
> breakage.
> 
> Bug: webrtc:10481
> Change-Id: Iab8f292ce6be6c3f5056a239d26361962b14bb38
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131949
> Commit-Queue: Erik Språng <sprang@webrtc.org>
> Reviewed-by: Per Kjellander <perkj@webrtc.org>
> Reviewed-by: Niels Moller <nisse@webrtc.org>
> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#27554}

TBR=brandtr@webrtc.org,sakal@webrtc.org,nisse@webrtc.org,sprang@webrtc.org,perkj@webrtc.org

Change-Id: I576760b584e3f258013b0279c0c173c895bbb37e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:10481
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/132561
Reviewed-by: Minyue Li <minyue@webrtc.org>
Commit-Queue: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27559}
2019-04-11 10:50:29 +00:00
..
codecs Revert "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-11 10:50:29 +00:00
include Export symbols needed by the Chromium component build (part 8). 2019-04-02 10:13:36 +00:00
test Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
utility Revert "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-11 10:50:29 +00:00
BUILD.gn Replacing SequencedTaskChecker with SequenceChecker. 2019-04-09 12:28:04 +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 Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
decoding_state.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
decoding_state_unittest.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
DEPS Prepare VideoProcessor for async simulcast support. 2018-03-08 17:41:13 +00:00
encoded_frame.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
encoded_frame.h Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
fec_controller_default.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
fec_controller_default.h Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +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 Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
frame_buffer.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
frame_buffer.h Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
frame_buffer2.cc Fix undefined behavior in FrameBuffer 2019-04-09 18:12:32 +00:00
frame_buffer2.h Preparing VideoReceiveStream for move to TaskQueue. 2019-04-04 17:01:42 +00:00
frame_buffer2_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
frame_object.cc Delete EncodedImage::GetBufferPaddingBytes 2019-03-14 09:08:19 +00:00
frame_object.h Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
generic_decoder.cc Deprecating ThreadChecker specific interface. 2019-04-08 16:58:07 +00:00
generic_decoder.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
h264_sprop_parameter_sets_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
h264_sps_pps_tracker.cc Delete redundant members from VCMPacket. 2019-02-20 14:39:10 +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 Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
histogram.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
histogram.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
histogram_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
inter_frame_delay.cc Remove unused method in VCMInterFrameDelay. 2019-04-03 07:35:28 +00:00
inter_frame_delay.h Remove unused method in VCMInterFrameDelay. 2019-04-03 07:35:28 +00:00
internal_defines.h Remove unused defines and methods in internal_defines.h 2019-01-28 10:31:40 +00:00
jitter_buffer.cc Delete VCMJitterBuffer::IncomingRateStatistics 2019-04-01 07:43:28 +00:00
jitter_buffer.h Delete VCMJitterBuffer::IncomingRateStatistics 2019-04-01 07:43:28 +00:00
jitter_buffer_common.h Delete all logic related to VCMDecodeErrorMode 2019-01-16 15:41:07 +00:00
jitter_buffer_unittest.cc Delete unused constructor arguments from VCMJitterBuffer 2019-04-01 07:42:23 +00:00
jitter_estimator.cc Remove unused members in VCMJitterEstimator. 2019-04-08 12:27:47 +00:00
jitter_estimator.h Remove unused members in VCMJitterEstimator. 2019-04-08 12:27:47 +00:00
jitter_estimator_tests.cc Remove unused members in VCMJitterEstimator. 2019-04-08 12:27:47 +00:00
loss_notification_controller.cc Translate loss notifications and pass to encoder 2019-04-10 15:31:53 +00:00
loss_notification_controller.h Replacing SequencedTaskChecker with SequenceChecker. 2019-04-09 12:28:04 +00:00
loss_notification_controller_unittest.cc Create LossNotificationController 2019-02-22 10:20:14 +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
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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +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 Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
packet.h Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
packet_buffer.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
packet_buffer.h Rename "OnReceivedFrame" to "OnAssembledFrame" 2019-02-22 10:49:07 +00:00
receiver.cc Delete VCMJitterBuffer::IncomingRateStatistics 2019-04-01 07:43:28 +00:00
receiver.h Delete VCMJitterBuffer::IncomingRateStatistics 2019-04-01 07:43:28 +00:00
receiver_unittest.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
rtp_frame_reference_finder.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
rtp_frame_reference_finder.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_frame_reference_finder_unittest.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +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 Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
session_info.h Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
session_info_unittest.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
timing_unittest.cc Remove unused functions in VCMTiming. 2018-01-17 14:47:10 +00:00
video_codec_initializer.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
video_codec_initializer_unittest.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
video_coding_defines.cc Fix chromium warnings for SdpVideoFormat. 2018-03-27 08:11:21 +00:00
video_coding_impl.cc Deprecating ThreadChecker specific interface. 2019-04-08 16:58:07 +00:00
video_coding_impl.h Replacing SequencedTaskChecker with SequenceChecker. 2019-04-09 12:28:04 +00:00
video_packet_buffer_unittest.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00
video_receiver.cc Deprecating ThreadChecker specific interface. 2019-04-08 16:58:07 +00:00
video_receiver_unittest.cc Make VideoFrameType an enum class, and move to separate file and target 2019-03-22 12:44:51 +00:00