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

Go to the source code of this file.

Data Structures

struct  H264LevelDescriptor


const H264LevelDescriptorff_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...

Function Documentation

◆ 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 79 of file h264_levels.c.

Referenced by h264_metadata_update_sps(), main(), and vaapi_encode_h264_init_sequence_params().