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

Function avcodec_get_hw_config

libavcodec/utils.c:850–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850const AVCodecHWConfig *avcodec_get_hw_config(const AVCodec *avcodec, int index)
851{
852 const FFCodec *const codec = ffcodec(avcodec);
853 int i;
854 if (!codec->hw_configs || index < 0)
855 return NULL;
856 for (i = 0; i <= index; i++)
857 if (!codec->hw_configs[i])
858 return NULL;
859 return &codec->hw_configs[index]->public;
860}
861
862int ff_thread_ref_frame(ThreadFrame *dst, const ThreadFrame *src)
863{

Callers 8

get_formatFunction · 0.85
hw_device_match_by_codecFunction · 0.85
print_codecFunction · 0.85
choose_decoderFunction · 0.85
mainFunction · 0.85

Calls 1

ffcodecFunction · 0.85

Tested by

no test coverage detected