[DVQA] Sum the encoded_image_size for simulcast scenario.
This aligns actual_encode_bitrate with target_encode_bitrate Change-Id: I8c460a5883e5eacbee8e67b5b6625f65792efb77 Bug: b/340790240 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/350620 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#42310}
This commit is contained in:
parent
ff2dd50fd8
commit
f9da667dca
@ -93,7 +93,7 @@ void FrameInFlight::OnFrameEncoded(
|
|||||||
*time_between_encoded_frames;
|
*time_between_encoded_frames;
|
||||||
}
|
}
|
||||||
frame_type_ = frame_type;
|
frame_type_ = frame_type;
|
||||||
encoded_image_size_ = encoded_image_size;
|
encoded_image_size_ += encoded_image_size;
|
||||||
target_encode_bitrate_ += target_encode_bitrate;
|
target_encode_bitrate_ += target_encode_bitrate;
|
||||||
stream_layers_qp_[stream_index].AddSample(SamplesStatsCounter::StatsSample{
|
stream_layers_qp_[stream_index].AddSample(SamplesStatsCounter::StatsSample{
|
||||||
.value = static_cast<double>(qp), .time = time});
|
.value = static_cast<double>(qp), .time = time});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user