FFmpeg
Data Structures | Functions
ratecontrol.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  Predictor
 
struct  RateControlEntry
 
struct  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)
 
int ff_vbv_update (struct MpegEncContext *s, int frame_size)
 
void ff_get_2pass_fcode (struct MpegEncContext *s)
 
void ff_rate_control_uninit (RateControlContext *rcc)
 

Detailed Description

ratecontrol header.

Definition in file ratecontrol.h.

Function Documentation

◆ ff_rate_control_init()

int ff_rate_control_init ( struct MpegEncContext s)

Definition at line 497 of file ratecontrol.c.

Referenced by encode_init(), and ff_mpv_encode_init().

◆ ff_rate_estimate_qscale()

float ff_rate_estimate_qscale ( struct MpegEncContext s,
int  dry_run 
)

Definition at line 895 of file ratecontrol.c.

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

◆ ff_write_pass1_stats()

void ff_write_pass1_stats ( struct MpegEncContext s)

Definition at line 38 of file ratecontrol.c.

Referenced by encode_frame(), and ff_mpv_encode_picture().

◆ ff_vbv_update()

int ff_vbv_update ( struct MpegEncContext s,
int  frame_size 
)

Definition at line 709 of file ratecontrol.c.

Referenced by ff_mpv_encode_picture(), init_pass2(), and set_bframe_chain_length().

◆ ff_get_2pass_fcode()

void ff_get_2pass_fcode ( struct MpegEncContext s)

Definition at line 884 of file ratecontrol.c.

Referenced by encode_picture().

◆ ff_rate_control_uninit()

void ff_rate_control_uninit ( RateControlContext rcc)

Definition at line 700 of file ratecontrol.c.

Referenced by encode_end(), and ff_mpv_encode_end().