FFmpeg
|
Go to the source code of this file.
Functions | |
static int | h264_get_br_factor (int profile_idc) |
const H264LevelDescriptor * | ff_h264_guess_level (int profile_idc, int64_t bitrate, int framerate, int width, int height, int max_dec_frame_buffering) |
Guess the level of a stream from some parameters. More... | |
Variables | |
static const H264LevelDescriptor | h264_levels [] |
struct { | |
int profile_idc | |
int cpb_br_vcl_factor | |
int cpb_br_nal_factor | |
} | h264_br_factors [] |
Definition at line 67 of file h264_levels.c.
Referenced by ff_h264_guess_level().
const H264LevelDescriptor* ff_h264_guess_level | ( | int | profile_idc, |
int64_t | bitrate, | ||
int | framerate, | ||
int | width, | ||
int | height, | ||
int | max_dec_frame_buffering | ||
) |
Guess the level of a stream from some parameters.
Unknown parameters may be zero, in which case they are ignored.
Definition at line 78 of file h264_levels.c.
Referenced by h264_metadata_update_sps(), main(), and vaapi_encode_h264_init_sequence_params().
|
static |
Definition at line 23 of file h264_levels.c.
Referenced by ff_h264_guess_level().
int profile_idc |
Definition at line 52 of file h264_levels.c.
Referenced by ff_h264_decode_seq_parameter_set(), ff_h264_guess_level(), h264_get_br_factor(), main(), more_rbsp_data_in_pps(), parse_profile_level_id(), and sps().
int cpb_br_vcl_factor |
Definition at line 53 of file h264_levels.c.
int cpb_br_nal_factor |
Definition at line 54 of file h264_levels.c.
const { ... } h264_br_factors[] |
Referenced by h264_get_br_factor().