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

Go to the source code of this file.

Data Structures

struct  H264LevelDescriptor
 

Functions

const H264LevelDescriptorff_h264_get_level (int level_idc, int constraint_set3_flag)
 
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

const H264LevelDescriptor* ff_h264_get_level ( int  level_idc,
int  constraint_set3_flag 
)

Definition at line 78 of file h264_levels.c.

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

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