Revert "Reland "Refactor rate profile update.""
This reverts commit 77aedaee6913e1eaa81fdb4aa0690a084cc15111. Reason for revert: breaks VideoCodecTestVideoToolbox tests. Original change's description: > Reland "Refactor rate profile update." > > This is a reland of b6cdfdc165d76d86a67d829e0ccec50c36106e73 > > Original change's description: > > Refactor rate profile update. > > > > RateProfile::frame_num specifies frame at which this rate profile > > should be applied. > > > > Bug: none > > Change-Id: I003ee43f44299a49d83f547558284817bfaeacc0 > > Reviewed-on: https://webrtc-review.googlesource.com/c/115242 > > Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> > > Reviewed-by: Seth Hampson <shampson@webrtc.org> > > Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#26080} > > Bug: none > Change-Id: I2604878d0bbee0f2182ad74e3cc29546310b76f3 > Reviewed-on: https://webrtc-review.googlesource.com/c/115401 > Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> > Reviewed-by: Seth Hampson <shampson@webrtc.org> > Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#26145} TBR=ilnik@webrtc.org,shampson@webrtc.org,ssilkin@webrtc.org Change-Id: Ib53eae70c380eefa303ddb01441f23e32f06b3ad No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: none Reviewed-on: https://webrtc-review.googlesource.com/c/116285 Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26148}
This commit is contained in:
committed by
Commit Bot
parent
07276e4f89
commit
08223c1576
@ -22,11 +22,11 @@
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
// Rates for the encoder and the frame number when to apply profile.
|
||||
// Rates for the encoder and the frame number when to change profile.
|
||||
struct RateProfile {
|
||||
size_t target_kbps;
|
||||
size_t input_fps;
|
||||
size_t frame_num;
|
||||
size_t frame_index_rate_update;
|
||||
};
|
||||
|
||||
struct RateControlThresholds {
|
||||
|
||||
Reference in New Issue
Block a user