Index: webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h |
diff --git a/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h b/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h |
index 45096e0c0ca070eb54c3738860b429da6eb47484..e247ab64d1120bcf24acd67093edc88c871624f9 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h |
+++ b/webrtc/modules/video_coding/codecs/vp8/default_temporal_layers.h |
@@ -28,7 +28,7 @@ class DefaultTemporalLayers : public TemporalLayers { |
// Returns the recommended VP8 encode flags needed. May refresh the decoder |
// and/or update the reference buffers. |
- TemporalReferences UpdateLayerConfig(uint32_t timestamp) override; |
+ TemporalLayers::FrameConfig UpdateLayerConfig(uint32_t timestamp) override; |
// Update state based on new bitrate target and incoming framerate. |
// Returns the bitrate allocation for the active temporal layers. |
@@ -39,17 +39,18 @@ class DefaultTemporalLayers : public TemporalLayers { |
bool UpdateConfiguration(vpx_codec_enc_cfg_t* cfg) override; |
void PopulateCodecSpecific(bool frame_is_keyframe, |
+ TemporalLayers::FrameConfig tl_config, |
CodecSpecificInfoVP8* vp8_info, |
uint32_t timestamp) override; |
void FrameEncoded(unsigned int size, int qp) override {} |
- int CurrentLayerId() const override; |
+ int GetTemporalLayerId(TemporalLayers::FrameConfig references) const override; |
private: |
const size_t num_layers_; |
const std::vector<unsigned int> temporal_ids_; |
- const std::vector<TemporalReferences> temporal_pattern_; |
+ const std::vector<TemporalLayers::FrameConfig> temporal_pattern_; |
uint8_t tl0_pic_idx_; |
uint8_t pattern_idx_; |