]> granicus.if.org Git - handbrake/commitdiff
libhb: Remove some NLMeans TODO comments.
authorBradley Sepos <bradley@bradleysepos.com>
Wed, 16 Jan 2019 08:34:27 +0000 (03:34 -0500)
committerBradley Sepos <bradley@bradleysepos.com>
Sat, 19 Jan 2019 19:18:29 +0000 (14:18 -0500)
NLMeans has used frame threading for years, so SIMD aside, these areas are sufficiently parallelized overall.

libhb/nlmeans.c

index 38b2c61c2d7f5afa03e06359e3931801d30a28e9..4a0621ecc3a2b6d765c6b2b8f392f3d965459127 100644 (file)
@@ -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;