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

Function av_codec_iterate

libavcodec/allcodecs.c:997–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995}
996
997const AVCodec *av_codec_iterate(void **opaque)
998{
999 uintptr_t i = (uintptr_t)*opaque;
1000 const FFCodec *c = codec_list[i];
1001
1002 ff_thread_once(&av_codec_static_init, av_codec_init_static);
1003
1004 if (c) {
1005 *opaque = (void*)(i + 1);
1006 return &c->p;
1007 }
1008 return NULL;
1009}
1010
1011static enum AVCodecID remap_deprecated_codec_id(enum AVCodecID id)
1012{

Callers 8

show_codec_optsFunction · 0.85
find_probe_decoderFunction · 0.85
next_codec_for_idFunction · 0.85
choose_decoderFunction · 0.85
find_codecFunction · 0.85
find_codec_by_nameFunction · 0.85
mainFunction · 0.85

Calls 1

ff_thread_onceFunction · 0.85

Tested by 1

mainFunction · 0.68