libavcodec/libxvidff.c File Reference

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...


#define BUFFER_SIZE   1024
 Buffer management macros.
#define BUFFER_REMAINING(x)   (BUFFER_SIZE - strlen(x))
#define BUFFER_CAT(x)   (&((x)[strlen(x)]))


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)

Detailed Description

Interface to xvidcore for MPEG-4 compliant encoding.

Adam Thayer (

Definition in file libxvidff.c.

Define Documentation

#define BUFFER_CAT (  )     (&((x)[strlen(x)]))

Definition at line 44 of file libxvidff.c.

#define BUFFER_REMAINING (  )     (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.

Function Documentation

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_ff_2pass ( void *  ref,
int  opt,
void *  p1,
void *  p2 

int xvid_strip_vol_header ( AVCodecContext avctx,
unsigned char *  frame,
unsigned int  header_len,
unsigned int  frame_len 

Generated on Fri Oct 26 02:38:17 2012 for FFmpeg by  doxygen 1.5.8