Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: webrtc/modules/video_coding/protection_bitrate_calculator.h

Issue 2070343002: Remove ViEncoder::Pause / Start (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove from header file. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/protection_bitrate_calculator.h
diff --git a/webrtc/modules/video_coding/protection_bitrate_calculator.h b/webrtc/modules/video_coding/protection_bitrate_calculator.h
index cdbab102d4937fa69e6826c139d1a9cb428387fe..1cd976199c605e89fdef9b2118add55feb94c3c7 100644
--- a/webrtc/modules/video_coding/protection_bitrate_calculator.h
+++ b/webrtc/modules/video_coding/protection_bitrate_calculator.h
@@ -59,7 +59,7 @@ class ProtectionBitrateCalculator {
int actual_framerate,
uint8_t fraction_lost,
int64_t round_trip_time_ms);
-
+ uint32_t GetEncoderTargetRate() const;
// Informs of encoded output.
void UpdateWithEncodedData(const EncodedImage& encoded_image);
@@ -74,6 +74,7 @@ class ProtectionBitrateCalculator {
std::unique_ptr<media_optimization::VCMLossProtectionLogic> loss_prot_logic_
GUARDED_BY(crit_sect_);
size_t max_payload_size_ GUARDED_BY(crit_sect_);
+ uint32_t last_encoder_target_rate_ GUARDED_BY(crit_sect_);
RTC_DISALLOW_COPY_AND_ASSIGN(ProtectionBitrateCalculator);
};

Powered by Google App Engine
This is Rietveld 408576698