MediaCodecVideoEncoder: Add QP stats to Encoded callback for VP8.
BUG= Review URL: https://codereview.webrtc.org/1884133003 Cr-Commit-Position: refs/heads/master@{#12435}
This commit is contained in:
@ -1042,6 +1042,7 @@ bool MediaCodecVideoEncoder::DeliverPendingOutputs(JNIEnv* jni) {
|
|||||||
if (webrtc::vp8::GetQp(payload, payload_size, &qp)) {
|
if (webrtc::vp8::GetQp(payload, payload_size, &qp)) {
|
||||||
current_acc_qp_ += qp;
|
current_acc_qp_ += qp;
|
||||||
quality_scaler_.ReportQP(qp);
|
quality_scaler_.ReportQP(qp);
|
||||||
|
image->qp_ = qp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (codecType_ == kVideoCodecH264) {
|
} else if (codecType_ == kVideoCodecH264) {
|
||||||
|
|||||||
Reference in New Issue
Block a user