diff options
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/algo/flood_fill.h | 1 | ||||
-rw-r--r-- | include/lib/color.h | 3 | ||||
-rw-r--r-- | include/lib/dir.h | 2 | ||||
-rw-r--r-- | include/lib/time.h | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/include/lib/algo/flood_fill.h b/include/lib/algo/flood_fill.h index a48f4a1..81ed6fd 100644 --- a/include/lib/algo/flood_fill.h +++ b/include/lib/algo/flood_fill.h @@ -6,7 +6,6 @@ #include <stddef.h> #include <stdint.h> -//----------------------------------------------- // Flood // Floods a mask from a given set of image to determine the contiguous regions // 1. Check that the (x,y) is within the picture diff --git a/include/lib/color.h b/include/lib/color.h index b999510..5e7128b 100644 --- a/include/lib/color.h +++ b/include/lib/color.h @@ -5,17 +5,14 @@ #include <stddef.h> #include <lib/bool.h> -//----------------------------------------------- // Color Equal to Background // Background: zeros in RGB, alpha can be whatever bool_t color_zero(uint8_t* color1, size_t channels); -//----------------------------------------------- // Color Equality // Determine if two colors are identical bool_t color_equal(uint8_t* color1, uint8_t* color2, size_t channels); -//----------------------------------------------- // Print out the `channels` length color vector void print_color(uint8_t* color, size_t channels); diff --git a/include/lib/dir.h b/include/lib/dir.h index 6177735..1d3b75f 100644 --- a/include/lib/dir.h +++ b/include/lib/dir.h @@ -4,11 +4,9 @@ #include <lib/lib.h> #include <lib/bool.h> -//----------------------------------------------- // Is directory bool_t is_directory(char* dirname); -//----------------------------------------------- // List directory char** lsdir(char* dirname); diff --git a/include/lib/time.h b/include/lib/time.h index aebc6ed..fd3c6be 100644 --- a/include/lib/time.h +++ b/include/lib/time.h @@ -3,12 +3,10 @@ #include <time.h> -//----------------------------------------------- // Difference in Time // Compute the difference between timespec structs double diff_time(struct timespec *time1, struct timespec *time0); -//----------------------------------------------- // Get Current Time void get_time(struct timespec *ts); |