forked from Motion-Project/motion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
picture.h
25 lines (22 loc) · 950 Bytes
/
picture.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* picture.h
*
* Copyright 2002 by Jeroen Vreeken ([email protected])
* Portions of this file are Copyright by Lionnel Maugis
* This software is distributed under the GNU public license version 2
* See also the file 'COPYING'.
*
*/
#ifndef _INCLUDE_PICTURE_H_
#define _INCLUDE_PICTURE_H_
#include "motion.h"
void overlay_smartmask(struct context *, unsigned char *);
void overlay_fixed_mask(struct context *, unsigned char *);
void put_fixed_mask(struct context *, const char *);
void overlay_largest_label(struct context *, unsigned char *);
int put_picture_memory(struct context *, unsigned char*, int, unsigned char *, int, int, int);
void put_picture(struct context *, char *, unsigned char *, int);
unsigned char *get_pgm(FILE *, int, int);
void preview_save(struct context *);
void pic_scale_img(int width_src, int height_src, unsigned char *img_src, unsigned char *img_dst);
#endif /* _INCLUDE_PICTURE_H_ */