Interface to xvidcore for MPEG-4 compliant encoding. More...
#include <xvid.h>#include <unistd.h>#include "avcodec.h"#include "libavutil/cpu.h"#include "libavutil/intreadwrite.h"#include "libavutil/mathematics.h"#include "libxvid_internal.h"#include <fcntl.h>Go to the source code of this file.
Data Structures | |
| struct | xvid_context |
| Structure for the private Xvid context. More... | |
| struct | xvid_ff_pass1 |
| Structure for the private first-pass plugin. More... | |
Macros | |
| #define | BUFFER_SIZE 1024 |
| Buffer management macros. | |
| #define | BUFFER_REMAINING(x) (BUFFER_SIZE - strlen(x)) |
| #define | BUFFER_CAT(x) (&((x)[strlen(x)])) |
Functions | |
| int | xvid_strip_vol_header (AVCodecContext *avctx, unsigned char *frame, unsigned int header_len, unsigned int frame_len) |
| int | xvid_ff_2pass (void *ref, int opt, void *p1, void *p2) |
| void | xvid_correct_framerate (AVCodecContext *avctx) |
| int | ff_tempfile (const char *prefix, char **filename) |
Interface to xvidcore for MPEG-4 compliant encoding.
Definition in file libxvidff.c.
| #define BUFFER_CAT | ( | x | ) | (&((x)[strlen(x)])) |
Definition at line 44 of file libxvidff.c.
| #define BUFFER_REMAINING | ( | x | ) | (BUFFER_SIZE - strlen(x)) |
Definition at line 43 of file libxvidff.c.
| #define BUFFER_SIZE 1024 |
Buffer management macros.
Definition at line 42 of file libxvidff.c.
| int ff_tempfile | ( | const char * | prefix, |
| char ** | filename | ||
| ) |
Definition at line 85 of file libxvidff.c.
Referenced by ff_xvid_rate_control_init().
| void xvid_correct_framerate | ( | AVCodecContext * | avctx | ) |
| int xvid_strip_vol_header | ( | AVCodecContext * | avctx, |
| unsigned char * | frame, | ||
| unsigned int | header_len, | ||
| unsigned int | frame_len | ||
| ) |