mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-18 21:17:04 -04:00
* Revise directory structure * Update translation files and mmal * Test for sys/videoio.h * Revise sysconfdir specification * Update defines to match configure * v4l2 configure, translations * Update travis * Updated tests for travis * Updated 16.04 and fewer checks * Update travis for Mac * Move CODE_STANDARD and delete test_builds.sh * Update documentation
21 lines
779 B
C
21 lines
779 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 context *, struct timeval *, struct coord *);
|
|
int jpgutl_put_grey(unsigned char *, int image, unsigned char *, int, int, int, struct context *, struct timeval *, struct coord *);
|
|
|
|
#endif
|