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

Unified Diff: webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h

Issue 2769263002: Base screenshare layers on TemporalReferences. (Closed)
Patch Set: feedback Created 3 years, 9 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/codecs/vp8/screenshare_layers.h
diff --git a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h
index 53818a2a971178dced9a3db7a7f48acadc659e89..27f641acad919533804abd874d8f8d0ce6ae0663 100644
--- a/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h
+++ b/webrtc/modules/video_coding/codecs/vp8/screenshare_layers.h
@@ -26,9 +26,6 @@ class ScreenshareLayers : public TemporalLayers {
public:
static const double kMaxTL0FpsReduction;
static const double kAcceptableTargetOvershoot;
- static const int kTl0Flags;
- static const int kTl1Flags;
- static const int kTl1SyncFlags;
static const int kMaxFrameIntervalMs;
ScreenshareLayers(int num_temporal_layers,
@@ -38,7 +35,7 @@ class ScreenshareLayers : public TemporalLayers {
// Returns the recommended VP8 encode flags needed. May refresh the decoder
// and/or update the reference buffers.
- int EncodeFlags(uint32_t timestamp) override;
+ TemporalReferences UpdateLayerConfig(uint32_t timestamp) override;
// Update state based on new bitrate target and incoming framerate.
// Returns the bitrate allocation for the active temporal layers.
@@ -54,7 +51,7 @@ class ScreenshareLayers : public TemporalLayers {
CodecSpecificInfoVP8* vp8_info,
uint32_t timestamp) override;
- void FrameEncoded(unsigned int size, uint32_t timestamp, int qp) override;
+ void FrameEncoded(unsigned int size, int qp) override;
int CurrentLayerId() const override;

Powered by Google App Engine
This is Rietveld 408576698