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

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

Issue 2853073004: Derive current layer from TL frame config. (Closed)
Patch Set: Created 3 years, 8 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/vp8_impl.h
diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
index f07b0f93998c7edeec3a0b9a854ed173cf2912e4..ce55a871b4bc25b313cc886fc3571596f56f244a 100644
--- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
+++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.h
@@ -62,7 +62,8 @@ class VP8EncoderImpl : public VP8Encoder {
const char* ImplementationName() const override;
- static vpx_enc_frame_flags_t EncodeFlags(TemporalReferences references);
+ static vpx_enc_frame_flags_t EncodeFlags(
+ TemporalLayers::FrameConfig references);
private:
void SetupTemporalLayers(int num_streams,
@@ -79,11 +80,13 @@ class VP8EncoderImpl : public VP8Encoder {
int InitAndSetControlSettings();
void PopulateCodecSpecific(CodecSpecificInfo* codec_specific,
+ TemporalLayers::FrameConfig tl_config,
const vpx_codec_cx_pkt& pkt,
int stream_idx,
uint32_t timestamp);
- int GetEncodedPartitions(const VideoFrame& input_image);
+ int GetEncodedPartitions(const TemporalLayers::FrameConfig tl_configs[],
+ const VideoFrame& input_image);
// Set the stream state for stream |stream_idx|.
void SetStreamState(bool send_stream, int stream_idx);

Powered by Google App Engine
This is Rietveld 408576698