Function ffmpeg_image_transport::utils::get_encoder_formats

Function Documentation

std::vector<enum AVPixelFormat> ffmpeg_image_transport::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.