FFmpeg
|
Rate control for video encoders. More...
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "internal.h"
#include "ratecontrol.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "libavutil/eval.h"
Go to the source code of this file.
Macros | |
#define | M_E 2.718281828 |
Rate control for video encoders.
Definition in file ratecontrol.c.
#define M_E 2.718281828 |
Definition at line 37 of file ratecontrol.c.
Referenced by get_qscale().
|
static |
Definition at line 915 of file ratecontrol.c.
Referenced by ff_rate_control_init().
|
static |
Modify the bitrate curve from pass1 for one frame.
Definition at line 362 of file ratecontrol.c.
Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), and init_pass2().
void ff_write_pass1_stats | ( | MpegEncContext * | s | ) |
Definition at line 44 of file ratecontrol.c.
Referenced by encode_frame(), and ff_mpv_encode_picture().
|
static |
Definition at line 65 of file ratecontrol.c.
Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), ff_vbv_update(), init_pass2(), and modify_qscale().
|
inlinestatic |
Definition at line 70 of file ratecontrol.c.
Referenced by ff_rate_control_init(), get_qscale(), and init_pass2().
|
inlinestatic |
Definition at line 78 of file ratecontrol.c.
Referenced by ff_rate_control_init(), get_qscale(), and modify_qscale().
av_cold int ff_rate_control_init | ( | MpegEncContext * | s | ) |
Definition at line 86 of file ratecontrol.c.
Referenced by encode_init(), and ff_mpv_encode_init().
av_cold void ff_rate_control_uninit | ( | MpegEncContext * | s | ) |
Definition at line 303 of file ratecontrol.c.
Referenced by encode_end(), ff_mpv_encode_end(), and ff_rate_control_init().
int ff_vbv_update | ( | MpegEncContext * | s, |
int | frame_size | ||
) |
Definition at line 317 of file ratecontrol.c.
Referenced by ff_mpv_encode_picture(), init_pass2(), and select_input_picture().
|
static |
Definition at line 441 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale(), and init_pass2().
|
static |
Get the qmin & qmax for pict_type.
Definition at line 480 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale(), and modify_qscale().
|
static |
Definition at line 508 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale(), and init_pass2().
|
static |
Definition at line 599 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale().
Definition at line 604 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale().
|
static |
Definition at line 616 of file ratecontrol.c.
Referenced by ff_rate_estimate_qscale().
void ff_get_2pass_fcode | ( | MpegEncContext * | s | ) |
Definition at line 733 of file ratecontrol.c.
Referenced by encode_picture().
float ff_rate_estimate_qscale | ( | MpegEncContext * | s, |
int | dry_run | ||
) |
Definition at line 744 of file ratecontrol.c.
Referenced by encode_frame(), estimate_qp(), and ratecontrol_1pass().