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

Function av_codec_is_encoder

libavcodec/utils.c:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79int av_codec_is_encoder(const AVCodec *avcodec)
80{
81 const FFCodec *const codec = ffcodec(avcodec);
82 return codec && !codec->is_decoder;
83}
84
85int av_codec_is_decoder(const AVCodec *avcodec)
86{

Callers 8

print_codecFunction · 0.85
next_codec_for_idFunction · 0.85
avcodec_send_frameFunction · 0.85
avcodec_receive_packetFunction · 0.85
avcodec_flush_buffersFunction · 0.85
ff_codec_closeFunction · 0.85
init_precFunction · 0.85
mainFunction · 0.85

Calls 1

ffcodecFunction · 0.85

Tested by 1

mainFunction · 0.68