diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:49 +0300 |
commit | 8aed5dbcf8e05675be8128b6197026e480622254 (patch) | |
tree | 9b5dfea6aff40bfcd61bac406ca6d9450c07ee7a /source/blender/compositor/operations/COM_SMAAOperation.h | |
parent | 7c76bdca1b7195720a769c4911678d85825907fe (diff) |
Cleanup: move public doc-strings into headers for 'compositor'
Ref T92709
Diffstat (limited to 'source/blender/compositor/operations/COM_SMAAOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_SMAAOperation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_SMAAOperation.h b/source/blender/compositor/operations/COM_SMAAOperation.h index 65a88d43fdf..ec04594e0aa 100644 --- a/source/blender/compositor/operations/COM_SMAAOperation.h +++ b/source/blender/compositor/operations/COM_SMAAOperation.h @@ -111,8 +111,14 @@ class SMAABlendingWeightCalculationOperation : public MultiThreadedOperation { private: /* Diagonal Search Functions */ + /** + * These functions allows to perform diagonal pattern searches. + */ int search_diag1(int x, int y, int dir, bool *found); int search_diag2(int x, int y, int dir, bool *found); + /** + * This searches for diagonal patterns and returns the corresponding weights. + */ void calculate_diag_weights(int x, int y, const float edges[2], float weights[2]); bool is_vertical_search_unneeded(int x, int y); |