Field trial to control inter-layer prediction.
This adds WebRTC-Vp9InterLayerPred field trial that allows to control inter-layer prediction mode in VP9 encoder. Bug: chromium:949536 Change-Id: Iea03db07fd21f28ab58382c5fdaac68acacc701c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131322 Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27521}
This commit is contained in:
committed by
Commit Bot
parent
2e06926c95
commit
cf267052b3
@ -47,13 +47,10 @@ struct VideoCodecVP8 {
|
||||
int keyFrameInterval;
|
||||
};
|
||||
|
||||
enum class InterLayerPredMode {
|
||||
kOn, // Allow inter-layer prediction for all frames.
|
||||
// Frame of low spatial layer can be used for
|
||||
// prediction of next spatial layer frame.
|
||||
kOff, // Encoder produces independent spatial layers.
|
||||
kOnKeyPic // Allow inter-layer prediction only for frames
|
||||
// within key picture.
|
||||
enum class InterLayerPredMode : int {
|
||||
kOff = 0, // Inter-layer prediction is disabled.
|
||||
kOn = 1, // Inter-layer prediction is enabled.
|
||||
kOnKeyPic = 2 // Inter-layer prediction is enabled but limited to key frames.
|
||||
};
|
||||
|
||||
// VP9 specific.
|
||||
|
||||
Reference in New Issue
Block a user