Add histogram stats for average QP per frame for VP9 (for sent video streams):
- "WebRTC.Video.Encoded.Qp.Vp9" - "WebRTC.Video.Encoded.Qp.Vp9.S0" - "WebRTC.Video.Encoded.Qp.Vp9.S1" - "WebRTC.Video.Encoded.Qp.Vp9.S2" BUG= Review URL: https://codereview.webrtc.org/1870043002 Cr-Commit-Position: refs/heads/master@{#12402}
This commit is contained in:
@ -694,6 +694,9 @@ int VP9EncoderImpl::GetEncodedLayerFrame(const vpx_codec_cx_pkt* pkt) {
|
||||
encoded_image_.capture_time_ms_ = input_image_->render_time_ms();
|
||||
encoded_image_._encodedHeight = raw_->d_h;
|
||||
encoded_image_._encodedWidth = raw_->d_w;
|
||||
int qp = -1;
|
||||
vpx_codec_control(encoder_, VP8E_GET_LAST_QUANTIZER, &qp);
|
||||
encoded_image_.qp_ = qp;
|
||||
encoded_complete_callback_->Encoded(encoded_image_, &codec_specific,
|
||||
&frag_info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user