diff options
author | Julian T <julian@jtle.dk> | 2020-07-16 21:49:05 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-07-16 21:49:05 +0200 |
commit | 3a4b55c20ac040ace53aba5f2715b9c080bea17f (patch) | |
tree | 9acbfd74f93fc011329a40dd0a4dc5213fadec3e /sort.h |
Initial working pixelsorter
Diffstat (limited to 'sort.h')
-rw-r--r-- | sort.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#ifndef SORT_H +#define SORT_H + +#include <FreeImage.h> + +typedef struct { + uint8_t color[3]; + uint16_t val; +} pixelm; + +void quicksort(pixelm *arr, unsigned lo, unsigned hi); + +#endif |