#include <video_encoder.h>
Public Member Functions | |
| bool | avi_write (char *fname, ImgList *imgl, int file_format, int max_frames, off_t max_file_size, bool time_stamp, bool isOpenDML) |
| Writes a file in the AVI format. | |
| bool | avi_read (ImgList *imgl, char *fname, int load_mode) |
| Reads a specified file. | |
| bool | verify_frame_duplication (Frame *f1, Frame *f2, int load_mode) |
| Compare 2 frames. | |
| bool | verify_image_duplication (unsigned char *i1, unsigned char *i2, int size) |
| bool | jpg_write (ImgList *imgl, char *fname, int quality) |
| bool | jpg_read (ImgList *imgl, char *dirname, int load_mode) |
| bool | mpg_write (ImgList *imgl, char *fname) |
| bool | mpg_read (ImgList *imgl, char *fname) |
| bool VideoEncoder::avi_read | ( | ImgList * | imgl, | |
| char * | fname, | |||
| int | load_mode | |||
| ) |
Reads a specified file.
| imgl | the ImageList where the file will be stored. | |
| fname | the file name. |
| bool VideoEncoder::avi_write | ( | char * | fname, | |
| ImgList * | imgl, | |||
| int | file_format, | |||
| int | max_frames, | |||
| off_t | max_file_size, | |||
| bool | time_stamp, | |||
| bool | isOpenDML | |||
| ) |
Writes a file in the AVI format.
| fname | the file name. | |
| imgl | the ImageList. | |
| file_format | the file format to be writed. | |
| max_frames | the maximum frame supported number. | |
| max_file_size | the maximum file size suported. | |
| time_stamp | the file time_stamp | |
| isOpenDML |
| bool VideoEncoder::jpg_read | ( | ImgList * | imgl, | |
| char * | dirname, | |||
| int | load_mode | |||
| ) |
| bool VideoEncoder::jpg_write | ( | ImgList * | imgl, | |
| char * | fname, | |||
| int | quality | |||
| ) |
| bool VideoEncoder::mpg_read | ( | ImgList * | imgl, | |
| char * | fname | |||
| ) |
| bool VideoEncoder::mpg_write | ( | ImgList * | imgl, | |
| char * | fname | |||
| ) |
Compare 2 frames.
| f1 | the frame to compare. | |
| f2 | the frame to compare. | |
| load_mode | how to compare: 0 if compare muan number; 1 if compare entire frame; 2 if not verifiy duplication. |
| bool VideoEncoder::verify_image_duplication | ( | unsigned char * | i1, | |
| unsigned char * | i2, | |||
| int | size | |||
| ) |
1.4.7