Mercurial > hg > wm
annotate Meerwald-dir/gray.h @ 25:5a57a145bccb default tip
Added tag v0.7 for changeset 9f20bce6184e
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
---|---|
date | Fri, 20 Dec 2024 13:32:15 +0100 |
parents | 9f20bce6184e |
children |
rev | line source |
---|---|
0 | 1 #ifndef GRAY_H |
2 #define GRAY_H | |
3 | |
4 #include "wm.h" | |
24
9f20bce6184e
move directories, support netpbm 11
Peter Meerwald-Stadler <pmeerw@pmeerw.net>
parents:
0
diff
changeset
|
5 #include "netpbm/pgm.h" |
0 | 6 |
7 gray **alloc_grays(int cols, int rows); | |
8 gray **alloc_grays_8x8(); | |
9 void free_grays(gray **grays); | |
10 void copy_grays_to_block(gray ** block_grays, gray ** image_grays, int col, int row, int width, int height); | |
11 void copy_grays_from_block(gray ** image_grays, gray ** block_grays, int col, int row, int width, int height); | |
12 void print_grays(gray **grays, int col, int row, int width, int height); | |
13 void print_grays_8x8(gray **grays); | |
14 #endif |