doc/examples/encoding-example.c File Reference
avcodec API use example.
More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "libavcodec/avcodec.h"
#include "libavutil/mathematics.h"
Go to the source code of this file.
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 encoding-example.c.
Define Documentation
#define AUDIO_INBUF_SIZE 20480 |
#define AUDIO_REFILL_THRESH 4096 |
Function Documentation
static void audio_decode_example |
( |
const char * |
outfilename, |
|
|
const char * |
filename | |
|
) |
| | [static] |
static void audio_encode_example |
( |
const char * |
filename |
) |
[static] |
int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
static void pgm_save |
( |
unsigned char * |
buf, |
|
|
int |
wrap, |
|
|
int |
xsize, |
|
|
int |
ysize, |
|
|
char * |
filename | |
|
) |
| | [static] |
static void video_decode_example |
( |
const char * |
outfilename, |
|
|
const char * |
filename | |
|
) |
| | [static] |
static void video_encode_example |
( |
const char * |
filename |
) |
[static] |