annotate Meerwald/gray.h @ 23:71dd4b96221b

fix some compiler warning
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Fri, 20 Dec 2024 12:53:41 +0100
parents be303a3f5ea8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
1 #ifndef GRAY_H
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
2 #define GRAY_H
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
3
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
4 #include "wm.h"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
5 #include "pgm.h"
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
6
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
7 gray **alloc_grays(int cols, int rows);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
8 gray **alloc_grays_8x8();
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
9 void free_grays(gray **grays);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
10 void copy_grays_to_block(gray ** block_grays, gray ** image_grays, int col, int row, int width, int height);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
11 void copy_grays_from_block(gray ** image_grays, gray ** block_grays, int col, int row, int width, int height);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
12 void print_grays(gray **grays, int col, int row, int width, int height);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
13 void print_grays_8x8(gray **grays);
Peter Meerwald <pmeerw@cosy.sbg.ac.at>
parents:
diff changeset
14 #endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.