MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / avcodec_profile_name

Function avcodec_profile_name

libavcodec/utils.c:439–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439const char *avcodec_profile_name(enum AVCodecID codec_id, int profile)
440{
441 const AVCodecDescriptor *desc = avcodec_descriptor_get(codec_id);
442 const AVProfile *p;
443
444 if (profile == AV_PROFILE_UNKNOWN || !desc || !desc->profiles)
445 return NULL;
446
447 for (p = desc->profiles; p->profile != AV_PROFILE_UNKNOWN; p++)
448 if (p->profile == profile)
449 return p->name;
450
451 return NULL;
452}
453
454int av_get_exact_bits_per_sample(enum AVCodecID codec_id)
455{

Callers 7

show_streamFunction · 0.85
init_profileFunction · 0.85
init_profileFunction · 0.85
ff_vulkan_encode_initFunction · 0.85
init_profileFunction · 0.85
avcodec_stringFunction · 0.85

Calls 1

avcodec_descriptor_getFunction · 0.85

Tested by

no test coverage detected