REFACTOR: renamed box_blur to u32_box_blur to be consistent with naming
This commit is contained in:
@@ -146,6 +146,6 @@ u32_avg_gb(const unsigned int clr);
|
|||||||
* @return unsigned int Pointer to new created image buffer.
|
* @return unsigned int Pointer to new created image buffer.
|
||||||
*/
|
*/
|
||||||
unsigned int*
|
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
|
#endif
|
||||||
|
|||||||
+1
-1
@@ -255,7 +255,7 @@ blur_row(const unsigned int* src, const int x, const int y, const PPM* img,
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned int*
|
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));
|
unsigned int* first_pass = malloc(img->len * sizeof(unsigned int));
|
||||||
if (!first_pass)
|
if (!first_pass)
|
||||||
|
|||||||
Reference in New Issue
Block a user