In screenshare mode, suppress VP8 bitrate overshoot and increase quality
This change includes several improvements: * VP8 configured with new rate control * Detection of frame dropping, with qp bump for next frame * Increased target and TL0 bitrates * Reworked rate control (TL allocation) in screenshare_layers A note on performance: PSNR and SSIM is expected to get slightly worse with this cl. Frame drops and delays should however improve. BUG=4171 R=pbos@webrtc.org, stefan@webrtc.org Review URL: https://codereview.webrtc.org/1193513006. Cr-Commit-Position: refs/heads/master@{#9495}
This commit is contained in:
@ -196,12 +196,16 @@ class SkipEncodingUnusedStreamsTest {
|
||||
layers_->PopulateCodecSpecific(base_layer_sync, vp8_info, timestamp);
|
||||
}
|
||||
|
||||
void FrameEncoded(unsigned int size, uint32_t timestamp) override {
|
||||
layers_->FrameEncoded(size, timestamp);
|
||||
void FrameEncoded(unsigned int size, uint32_t timestamp, int qp) override {
|
||||
layers_->FrameEncoded(size, timestamp, qp);
|
||||
}
|
||||
|
||||
int CurrentLayerId() const override { return layers_->CurrentLayerId(); }
|
||||
|
||||
bool UpdateConfiguration(vpx_codec_enc_cfg_t* cfg) override {
|
||||
return false;
|
||||
}
|
||||
|
||||
int configured_bitrate_;
|
||||
TemporalLayers* layers_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user