commit | 0c85f733c906167f2a43dcfe8ea2e93f72cab57c | [log] [tgz] |
---|---|---|
author | Danil Chapovalov <danilchap@webrtc.org> | Fri May 19 15:28:31 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 22 08:14:08 2023 |
tree | 8b494588c1376be85ba47a4276aaa43652217ed8 | |
parent | 3fb338a4d5dbcbfc58ab318ac17952daf54686d5 [diff] |
For AV1, disable error resilience on upper temporal layers Error resilience is no longer required for upper temporal layers. Disabling error resilience on the upper layers leads to a ~2% PSNR BD-rate gain. Reland of https://webrtc-review.googlesource.com/c/src/+/302001 Bug: webrtc:15106 Change-Id: I72ca9d504a7848dda934cbd52669027061742256 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/305782 Reviewed-by: Jerome Jiang <jianj@google.com> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Marco Paniconi <marpan@webrtc.org> Reviewed-by: Michael Horowitz <mhoro@webrtc.org> Reviewed-by: Marco Paniconi <marpan@google.com> Cr-Commit-Position: refs/heads/main@{#40099}
diff --git a/modules/video_coding/codecs/av1/libaom_av1_encoder.cc b/modules/video_coding/codecs/av1/libaom_av1_encoder.cc index b16d4b2..fe7861c 100644 --- a/modules/video_coding/codecs/av1/libaom_av1_encoder.cc +++ b/modules/video_coding/codecs/av1/libaom_av1_encoder.cc
@@ -643,9 +643,6 @@ if (SvcEnabled()) { SetSvcLayerId(*layer_frame); SetSvcRefFrameConfig(*layer_frame); - - SET_ENCODER_PARAM_OR_RETURN_ERROR(AV1E_SET_ERROR_RESILIENT_MODE, - layer_frame->TemporalId() > 0 ? 1 : 0); } // Encode a frame. The presentation timestamp `pts` should not use real