mirror of
https://github.com/Motion-Project/motion.git
synced 2026-01-18 11:48:35 -05:00
36 lines
1.4 KiB
C++
36 lines
1.4 KiB
C++
/*
|
|
* This file is part of Motion.
|
|
*
|
|
* Motion is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Motion is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with Motion. If not, see <https://www.gnu.org/licenses/>.
|
|
*
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef _INCLUDE_JPEGUTILS_HPP_
|
|
#define _INCLUDE_JPEGUTILS_HPP_
|
|
|
|
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 *dest_image, int image_size,
|
|
unsigned char *input_image, int width, int height, int quality,
|
|
cls_camera *cam, timespec *ts1, ctx_coord *box);
|
|
int jpgutl_put_grey(unsigned char *dest_image, int image_size,
|
|
unsigned char *input_image, int width, int height, int quality,
|
|
cls_camera *cam, timespec *ts1, ctx_coord *box);
|
|
uint jpgutl_exif(u_char **exif, cls_camera *cam
|
|
, timespec *ts_in1, ctx_coord *box);
|
|
|
|
#endif /* _INCLUDE_JPEGUTILS_HPP_ */
|