Function ffmpeg_encoder_decoder::utils::get_encoder_formats

Function Documentation

std::vector<enum AVPixelFormat> ffmpeg_encoder_decoder::utils::get_encoder_formats(const AVCodec *avctx)

! finds formats that the encoder supports. Note that for VAAPI, this will just return AV_PIX_FMT_VAAPI since it uses hardware frames.