From e50c8d4c2f50a01ea5b2ca63c0fbb39efae85834 Mon Sep 17 00:00:00 2001 From: Andrew Haynes Date: Wed, 9 Sep 2026 16:51:34 -0400 Subject: [PATCH] REFACTOR: renamed box_blur to u32_box_blur to be consistent with naming --- include/image/filters.h | 2 +- src/filters.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/image/filters.h b/include/image/filters.h index 59fe881..0229609 100644 --- a/include/image/filters.h +++ b/include/image/filters.h @@ -146,6 +146,6 @@ u32_avg_gb(const unsigned int clr); * @return unsigned int Pointer to new created image buffer. */ unsigned int* -box_blur(const unsigned int* src_buf, const PPM* img, const int radius); +u32_box_blur(const unsigned int* src_buf, const PPM* img, const int radius); #endif diff --git a/src/filters.c b/src/filters.c index 8cb8734..48e379b 100644 --- a/src/filters.c +++ b/src/filters.c @@ -255,7 +255,7 @@ blur_row(const unsigned int* src, const int x, const int y, const PPM* img, } unsigned int* -box_blur(const unsigned int* src_buf, const PPM* img, const int radius) +u32_box_blur(const unsigned int* src_buf, const PPM* img, const int radius) { unsigned int* first_pass = malloc(img->len * sizeof(unsigned int)); if (!first_pass)