mirror of
https://github.com/Motion-Project/motion.git
synced 2026-02-03 03:21:38 -05:00
21 lines
802 B
C
21 lines
802 B
C
/*
|
|
* jpegutils.h: Some Utility programs for dealing with
|
|
* JPEG encoded images
|
|
*
|
|
* Copyright (C) 1999 Rainer Johanni <Rainer@Johanni.de>
|
|
* Copyright (C) 2001 pHilipp Zabel <pzabel@gmx.de>
|
|
* Copyright (C) 2008 Angel Carpintero <motiondevelop@gmail.com>
|
|
*
|
|
*/
|
|
|
|
#ifndef __JPEGUTILS_H__
|
|
#define __JPEGUTILS_H__
|
|
|
|
int jpgutl_decode_jpeg (unsigned char *jpeg_data_in, int jpeg_data_len,
|
|
unsigned int width, unsigned int height, unsigned char *volatile img_out);
|
|
|
|
int jpgutl_put_yuv420p(unsigned char *, int image, unsigned char *, int, int, int, struct ctx_cam *cam, struct timespec *, struct coord *);
|
|
int jpgutl_put_grey(unsigned char *, int image, unsigned char *, int, int, int, struct ctx_cam *cam, struct timespec *, struct coord *);
|
|
|
|
#endif
|