about summary refs log tree commit diff
path: root/converter/other/cameratopam/util.h
blob: bf9006d3408998fd508fea5b5d86482bda0203dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTIL_H_INCLUDED
#define UTIL_H_INCLUDED

unsigned short
get2(FILE * const ifp);

int
get4(FILE * const ifp);

void
read_shorts (FILE * const ifp, unsigned short *pixel, int count);

unsigned int
getbits (FILE * const ifp, int nbits);

#endif