blob: 5921a864b5de1778b2255388ff7b1488da0ef3ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef _UTIL_H_
#define _UTIL_H_
#include <stdint.h>
int
pgm_read(char *filename, unsigned char **buf, int *xsize, int *ysize);
int
pgm_save(unsigned char *buf, int wrap, int xsize, int ysize, char *filename);
/* Store half of frame_a and half of frame_b in frame_a */
void
frame_mix(struct video_frame *frame_a, struct video_frame *frame_b);
void
print_time(int64_t msec);
#endif /* _UTIL_H_ */
|