#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "avcodec.h"
#include "libavutil/mathematics.h"
Go to the source code of this file.
Defines | |
| #define | INBUF_SIZE 4096 |
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) |
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.
| #define INBUF_SIZE 4096 |
Definition at line 41 of file apiexample.c.
Referenced by audio_decode_example(), and video_decode_example().
| void audio_decode_example | ( | const char * | outfilename, | |
| const char * | filename | |||
| ) |
| void audio_encode_example | ( | const char * | filename | ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 427 of file apiexample.c.
| void pgm_save | ( | unsigned char * | buf, | |
| int | wrap, | |||
| int | xsize, | |||
| int | ysize, | |||
| char * | filename | |||
| ) |
| void video_decode_example | ( | const char * | outfilename, | |
| const char * | filename | |||
| ) |
| void video_encode_example | ( | const char * | filename | ) |
1.5.8