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

Function avcodec_get_supported_config

libavcodec/avcodec.c:823–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823int avcodec_get_supported_config(const AVCodecContext *avctx, const AVCodec *codec,
824 enum AVCodecConfig config, unsigned flags,
825 const void **out, int *out_num)
826{
827 const FFCodec *codec2;
828 int dummy_num = 0;
829 if (!codec)
830 codec = avctx->codec;
831 if (!out_num)
832 out_num = &dummy_num;
833
834 codec2 = ffcodec(codec);
835 if (codec2->get_supported_config) {
836 return codec2->get_supported_config(avctx, codec, config, flags, out, out_num);
837 } else {
838 return ff_default_get_supported_config(avctx, codec, config, flags, out, out_num);
839 }
840}
841
842int av_packet_side_data_from_frame(AVPacketSideData **psd, int *pnb_sd,
843 const AVFrameSideData *src, unsigned int flags)

Callers 6

choose_pixel_fmtFunction · 0.85
pix_fmt_parseFunction · 0.85
ost_bind_filterFunction · 0.85
encode_preinit_videoFunction · 0.85
encode_preinit_audioFunction · 0.85
open_output_fileFunction · 0.85

Calls 2

ffcodecFunction · 0.85

Tested by

no test coverage detected