ratecontrol.h File Reference

ratecontrol header. More...

#include <stdio.h>
#include <stdint.h>
#include "libavutil/eval.h"
Include dependency graph for ratecontrol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Predictor
 
struct  RateControlEntry
 
struct  RateControlContext
 rate control context. More...
 

Typedefs

typedef struct Predictor Predictor
 
typedef struct RateControlEntry RateControlEntry
 
typedef struct RateControlContext RateControlContext
 rate control context. More...
 

Functions

int ff_rate_control_init (struct MpegEncContext *s)
 
float ff_rate_estimate_qscale (struct MpegEncContext *s, int dry_run)
 
void ff_write_pass1_stats (struct MpegEncContext *s)
 
void ff_rate_control_uninit (struct MpegEncContext *s)
 
int ff_vbv_update (struct MpegEncContext *s, int frame_size)
 
void ff_get_2pass_fcode (struct MpegEncContext *s)
 
int ff_xvid_rate_control_init (struct MpegEncContext *s)
 
void ff_xvid_rate_control_uninit (struct MpegEncContext *s)
 
float ff_xvid_rate_estimate_qscale (struct MpegEncContext *s, int dry_run)
 

Detailed Description

ratecontrol header.

Definition in file ratecontrol.h.

Typedef Documentation

typedef struct Predictor Predictor

rate control context.

Function Documentation

void ff_get_2pass_fcode ( struct MpegEncContext s)

Definition at line 726 of file ratecontrol.c.

Referenced by encode_picture().

int ff_rate_control_init ( struct MpegEncContext s)

Definition at line 86 of file ratecontrol.c.

Referenced by encode_init(), and ff_MPV_encode_init().

void ff_rate_control_uninit ( struct MpegEncContext s)

Definition at line 299 of file ratecontrol.c.

Referenced by ff_MPV_encode_end().

float ff_rate_estimate_qscale ( struct MpegEncContext s,
int  dry_run 
)

Definition at line 737 of file ratecontrol.c.

Referenced by encode_frame(), estimate_qp(), and ratecontrol_1pass().

int ff_vbv_update ( struct MpegEncContext s,
int  frame_size 
)

Definition at line 313 of file ratecontrol.c.

Referenced by ff_MPV_encode_picture(), init_pass2(), and select_input_picture().

void ff_write_pass1_stats ( struct MpegEncContext s)

Definition at line 44 of file ratecontrol.c.

Referenced by encode_frame(), and ff_MPV_encode_picture().

int ff_xvid_rate_control_init ( struct MpegEncContext s)

Definition at line 34 of file libxvid_rc.c.

Referenced by ff_rate_control_init().

void ff_xvid_rate_control_uninit ( struct MpegEncContext s)

Definition at line 137 of file libxvid_rc.c.

Referenced by ff_rate_control_uninit().

float ff_xvid_rate_estimate_qscale ( struct MpegEncContext s,
int  dry_run 
)

Definition at line 86 of file libxvid_rc.c.

Referenced by ff_rate_estimate_qscale().