apiexample.c File Reference


Detailed Description

avcodec API use example.

Note that this library only handles codecs (mpeg, mpeg4, etc...), not file formats (avi, vob, etc...). See library 'libavformat' for the format handling

Definition in file apiexample.c.

Go to the source code of this file.

Functions

void audio_encode_example (const char *filename)
void audio_decode_example (const char *outfilename, const char *filename)
void video_encode_example (const char *filename)
void pgm_save (unsigned char *buf, int wrap, int xsize, int ysize, char *filename)
void video_decode_example (const char *outfilename, const char *filename)
int main (int argc, char **argv)


Function Documentation

void audio_encode_example ( const char *  filename  ) 

Definition at line 48 of file apiexample.c.

Referenced by main().

void audio_decode_example ( const char *  outfilename,
const char *  filename 
)

Definition at line 116 of file apiexample.c.

Referenced by main().

void video_encode_example ( const char *  filename  ) 

Definition at line 190 of file apiexample.c.

Referenced by main().

void pgm_save ( unsigned char *  buf,
int  wrap,
int  xsize,
int  ysize,
char *  filename 
)

Definition at line 301 of file apiexample.c.

Referenced by video_decode_example().

void video_decode_example ( const char *  outfilename,
const char *  filename 
)

Definition at line 313 of file apiexample.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 429 of file apiexample.c.


Generated on Sat Dec 18 05:15:50 2010 for MythTV by  doxygen 1.5.5