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/file.h"
#include "libavutil/cpu.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libxvid_internal.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...

Defines

#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)


Detailed Description

Interface to xvidcore for MPEG-4 compliant encoding.

Author:
Adam Thayer (krevnik@comcast.net)

Definition in file libxvidff.c.


Define Documentation

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

Definition at line 42 of file libxvidff.c.

#define BUFFER_REMAINING (  )     (BUFFER_SIZE - strlen(x))

Definition at line 41 of file libxvidff.c.

#define BUFFER_SIZE   1024

Buffer management macros.

Definition at line 40 of file libxvidff.c.


Function Documentation

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:46:09 2012 for FFmpeg by  doxygen 1.5.8