From: Bradley Sepos Date: Wed, 16 Jan 2019 08:34:27 +0000 (-0500) Subject: libhb: Remove some NLMeans TODO comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96e63ecf50d0bafd273ea17ff3f3bbf49ff42f7b;p=handbrake libhb: Remove some NLMeans TODO comments. NLMeans has used frame threading for years, so SIMD aside, these areas are sufficiently parallelized overall. --- diff --git a/libhb/nlmeans.c b/libhb/nlmeans.c index 38b2c61c2..4a0621ecc 100644 --- a/libhb/nlmeans.c +++ b/libhb/nlmeans.c @@ -798,7 +798,6 @@ static void nlmeans_plane(NLMeansFunctions *functions, // Apply special weight tuning to origin patch if (dx == 0 && dy == 0 && f == 0) { - // TODO: Parallelize this for (int y = n_half; y < dst_h-n + n_half; y++) { for (int x = n_half; x < dst_w-n + n_half; x++) @@ -825,7 +824,6 @@ static void nlmeans_plane(NLMeansFunctions *functions, dy); // Average displacement - // TODO: Parallelize this for (int y = 0; y <= dst_h-n; y++) { const uint32_t *integral_ptr1 = integral + (y -1)*integral_stride - 1;