MUAN
|
This file implements methods for read and write jpeg files and was based on libjpeg example program. More...
Functions | |
void | write_JPEG_file (unsigned char *image, int image_width, int image_height, char *filename, int quality) |
Writes a jpeg file. | |
unsigned char * | read_JPEG_file (const char *filename, int image_width, int image_height) |
Reads a jpeg file. |
This file implements methods for read and write jpeg files and was based on libjpeg example program.
unsigned char* read_JPEG_file | ( | const char * | filename, |
int | image_width, | ||
int | image_height | ||
) |
Reads a jpeg file.
filename |
Referenced by insert_frame_from_jpgfile(), and VideoEncoder::jpg_read().
void write_JPEG_file | ( | unsigned char * | image, |
int | image_width, | ||
int | image_height, | ||
char * | filename, | ||
int | quality | ||
) |