FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/emms.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "ratecontrol.h"
#include "mpegvideoenc.h"
#include "libavutil/eval.h"
Go to the source code of this file.
Rate control for video encoders.
Definition in file ratecontrol.c.
void ff_write_pass1_stats | ( | MpegEncContext * | s | ) |
Definition at line 38 of file ratecontrol.c.
Referenced by encode_frame(), and ff_mpv_encode_picture().
|
static |
Definition at line 59 of file ratecontrol.c.
Referenced by get_fps(), and init_pass2().
|
static |
Definition at line 73 of file ratecontrol.c.
Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().
|
inlinestatic |
Definition at line 78 of file ratecontrol.c.
Referenced by get_qscale(), init_pass2(), and qp2bits_cb().
Definition at line 86 of file ratecontrol.c.
Referenced by ff_rate_control_init().
|
inlinestatic |
Definition at line 91 of file ratecontrol.c.
Referenced by bits2qp_cb(), get_qscale(), and modify_qscale().
Definition at line 99 of file ratecontrol.c.
Referenced by ff_rate_control_init().
|
static |
Definition at line 104 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale(), and init_pass2().
|
static |
Get the qmin & qmax for pict_type.
Definition at line 143 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale(), and modify_qscale().
|
static |
Definition at line 171 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale(), and init_pass2().
|
static |
Modify the bitrate curve from pass1 for one frame.
Definition at line 262 of file ratecontrol.c.
Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), and init_pass2().
|
static |
Definition at line 335 of file ratecontrol.c.
Referenced by ff_rate_control_init().
av_cold int ff_rate_control_init | ( | MpegEncContext * | s | ) |
Definition at line 497 of file ratecontrol.c.
Referenced by encode_init(), and ff_mpv_encode_init().
av_cold void ff_rate_control_uninit | ( | RateControlContext * | rcc | ) |
Definition at line 700 of file ratecontrol.c.
Referenced by encode_end(), and ff_mpv_encode_end().
int ff_vbv_update | ( | 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().
Definition at line 751 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale().
Definition at line 756 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale().
|
static |
Definition at line 768 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale().
void ff_get_2pass_fcode | ( | MpegEncContext * | s | ) |
Definition at line 884 of file ratecontrol.c.
Referenced by encode_picture().
float ff_rate_estimate_qscale | ( | MpegEncContext * | s, |
int | dry_run | ||
) |
Definition at line 895 of file ratecontrol.c.
Referenced by encode_frame(), estimate_qp(), and ratecontrol_1pass().