Add control for inter-layer prediction mode.
This allows to control inter-layer prediction at encoding VP9 SVC. There are three options: 1. Disabled. 2. Enabled for all pictures. 3. Enabled for key pictures, disabled for others. Inter-layer prediction is enabled for all pictures by default. Bug: none Change-Id: I49fe43d8744c92bec349d815100ba158519f0664 Reviewed-on: https://webrtc-review.googlesource.com/71500 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23049}
This commit is contained in:
committed by
Commit Bot
parent
ad7f6e5ccf
commit
6a8f30e5a3
@ -120,9 +120,10 @@ class VP9EncoderImpl : public VP9Encoder {
|
||||
const VideoFrame* input_image_;
|
||||
GofInfoVP9 gof_; // Contains each frame's temporal information for
|
||||
// non-flexible mode.
|
||||
size_t frames_since_kf_;
|
||||
size_t pics_since_key_;
|
||||
uint8_t num_temporal_layers_;
|
||||
uint8_t num_spatial_layers_;
|
||||
InterLayerPredMode inter_layer_pred_;
|
||||
|
||||
// Used for flexible mode.
|
||||
bool is_flexible_mode_;
|
||||
|
||||
Reference in New Issue
Block a user