Improve documentation for MT support for Loop Filter
This CL does the following modifications
1. Added bug-ID to a TODO item regarding multi-threading
support for av1_pick_filter_restoration()
2. Fixed a typo
3. Removed an extra line
BUG: aomedia:3446
Change-Id: Ibc9e412e3c3a2e99dae02f6d68cdbc35914ef990
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index 3e37288..6575379 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -2319,9 +2319,9 @@
// multi-threaded, enabling the Loop restoration stage will cause an
// increase in encode time (3% to 7% increase depends on frame
// resolution).
- // TODO(any): Implement multi-threading of av1_pick_filter_restoration()
- // and enable Wiener filter for speed 5, 6 similar to single thread
- // encoding path.
+ // TODO(aomedia:3446): Implement multi-threading of
+ // av1_pick_filter_restoration() and enable Wiener filter for speed 5, 6
+ // similar to single thread encoding path.
if (speed >= 5) {
sf->lpf_sf.disable_sgr_filter = true;
sf->lpf_sf.disable_wiener_filter = true;
diff --git a/test/ethread_test.cc b/test/ethread_test.cc
index 3351b01..6b7fcce 100644
--- a/test/ethread_test.cc
+++ b/test/ethread_test.cc
@@ -267,11 +267,10 @@
// 5, 6 when num_workers > 1. Due to this, the match between single
// thread and multi thread output can not be achieved. Hence, testing
// this case alone with LR disabled.
- // TODO(any): Remove the constarin on this test case once Loop
+ // TODO(aomedia:3446): Remove the constraint on this test case once Loop
// restoration state is same in both single and multi thread path.
if (set_cpu_used_ >= 5 && row_mt_ == 0)
encoder->Control(AV1E_SET_ENABLE_RESTORATION, 0);
-
} else if (encoding_mode_ == ::libaom_test::kRealTime) {
encoder->Control(AOME_SET_ENABLEAUTOALTREF, 0);
encoder->Control(AV1E_SET_AQ_MODE, 3);