VideoEncoder Class Reference

#include <video_encoder.h>

List of all members.

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)


Member Function Documentation

bool VideoEncoder::avi_read ( ImgList imgl,
char *  fname,
int  load_mode 
)

Reads a specified file.

Parameters:
imgl the ImageList where the file will be stored.
fname the file name.
Returns:
true if the file was successfully writed, false otherwise.

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.

Parameters:
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 
Returns:
true if the file was successfully writed, false otherwise.

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 
)

bool VideoEncoder::verify_frame_duplication ( Frame f1,
Frame f2,
int  load_mode 
)

Compare 2 frames.

Parameters:
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.
Returns:
true if they coincide, false otherwise.

bool VideoEncoder::verify_image_duplication ( unsigned char *  i1,
unsigned char *  i2,
int  size 
)


The documentation for this class was generated from the following files:
Generated on Tue Jan 22 17:07:31 2008 for MUAN by  doxygen 1.4.7