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

Function avcodec_find_encoder

libavcodec/utils.c:725–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725AVCodec *avcodec_find_encoder(enum CodecID id)
726{
727 AVCodec *p, *experimental=NULL;
728 p = first_avcodec;
729 while (p) {
730 if (p->encode != NULL && p->id == id) {
731 if (p->capabilities & CODEC_CAP_EXPERIMENTAL && !experimental) {
732 experimental = p;
733 } else
734 return p;
735 }
736 p = p->next;
737 }
738 return experimental;
739}
740
741AVCodec *avcodec_find_encoder_by_name(const char *name)
742{

Callers 13

read_ffserver_streamsFunction · 0.85
av_transcodeFunction · 0.85
find_codec_or_dieFunction · 0.85
new_video_streamFunction · 0.85
new_audio_streamFunction · 0.85
compute_statusFunction · 0.85
open_audioFunction · 0.85
open_videoFunction · 0.85
asf_write_header1Function · 0.85
avcodec_stringFunction · 0.85
audio_encode_exampleFunction · 0.85
video_encode_exampleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected