start on horizontal_flip
This commit is contained in:
+5
-1
@@ -206,7 +206,11 @@ chromatic_circular_shift(unsigned int clr, int n)
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned int*
|
unsigned int*
|
||||||
horizontal_flip(unsigned int* buf, int size, int w) {
|
horizontal_flip(unsigned int* buf, int size, int w, int h) {
|
||||||
|
unsigned int* flip = malloc((w *h) * sizeof(unsigned int));
|
||||||
|
|
||||||
|
free(buf);
|
||||||
|
return flip;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user