Revert "Add fuzzer to validate libvpx vp9 encoder wrapper"
This reverts commit c184047fef005b86a6dd76f03b0eb5ec01de3c5c. Reason for revert: Breaks the WebRTC->Chromium roll: ERROR Unresolved dependencies. //third_party/webrtc/test/fuzzers:vp9_encoder_references_fuzzer(//build/toolchain/win:win_clang_x64) needs //third_party/webrtc/modules/video_coding:mock_libvpx_interface(//build/toolchain/win:win_clang_x64) We need to add tryjob to catch these. The fix is to make //third_party/webrtc/modules/video_coding:mock_libvpx_interface visible in built_with_chromium builds by moving the target out of this "if" https://source.chromium.org/chromium/chromium/src/+/master:third_party/webrtc/modules/video_coding/BUILD.gn;l=615;drc=3889de1c4c7ae56ec742fb9ee0ad89657f638169. Original change's description: > Add fuzzer to validate libvpx vp9 encoder wrapper > > Fix simulcast svc controller to reuse dropped frame configuration, > same as full svc and k-svc controllers do. > This fuzzer reminded the issue was still there. > > Bug: webrtc:11999 > Change-Id: I74156bd743124723562e99deb48de5b5018a81d0 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212281 > Reviewed-by: Erik Språng <sprang@webrtc.org> > Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#33568} TBR=danilchap@webrtc.org,sprang@webrtc.org Change-Id: I1676986308c6d37ff168467ff2099155e8895452 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:11999 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212973 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33573}
This commit is contained in:
committed by
Commit Bot
parent
b58f444e6b
commit
6e6411c099
@ -137,7 +137,7 @@ ScalabilityStructureSimulcast::NextFrameConfig(bool restart) {
|
||||
}
|
||||
configs.emplace_back();
|
||||
ScalableVideoController::LayerFrameConfig& config = configs.back();
|
||||
config.Id(current_pattern).S(sid).T(0);
|
||||
config.S(sid).T(0);
|
||||
|
||||
if (can_reference_t0_frame_for_spatial_id_[sid]) {
|
||||
config.ReferenceAndUpdate(BufferIndex(sid, /*tid=*/0));
|
||||
@ -155,10 +155,7 @@ ScalabilityStructureSimulcast::NextFrameConfig(bool restart) {
|
||||
}
|
||||
configs.emplace_back();
|
||||
ScalableVideoController::LayerFrameConfig& config = configs.back();
|
||||
config.Id(current_pattern)
|
||||
.S(sid)
|
||||
.T(1)
|
||||
.Reference(BufferIndex(sid, /*tid=*/0));
|
||||
config.S(sid).T(1).Reference(BufferIndex(sid, /*tid=*/0));
|
||||
// Save frame only if there is a higher temporal layer that may need it.
|
||||
if (num_temporal_layers_ > 2) {
|
||||
config.Update(BufferIndex(sid, /*tid=*/1));
|
||||
@ -174,7 +171,7 @@ ScalabilityStructureSimulcast::NextFrameConfig(bool restart) {
|
||||
}
|
||||
configs.emplace_back();
|
||||
ScalableVideoController::LayerFrameConfig& config = configs.back();
|
||||
config.Id(current_pattern).S(sid).T(2);
|
||||
config.S(sid).T(2);
|
||||
if (can_reference_t1_frame_for_spatial_id_[sid]) {
|
||||
config.Reference(BufferIndex(sid, /*tid=*/1));
|
||||
} else {
|
||||
@ -187,12 +184,12 @@ ScalabilityStructureSimulcast::NextFrameConfig(bool restart) {
|
||||
break;
|
||||
}
|
||||
|
||||
last_pattern_ = current_pattern;
|
||||
return configs;
|
||||
}
|
||||
|
||||
GenericFrameInfo ScalabilityStructureSimulcast::OnEncodeDone(
|
||||
const LayerFrameConfig& config) {
|
||||
last_pattern_ = static_cast<FramePattern>(config.Id());
|
||||
if (config.TemporalId() == 1) {
|
||||
can_reference_t1_frame_for_spatial_id_.set(config.SpatialId());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user