Function ffmpeg_image_transport::utils::get_preferred_pixel_format

Function Documentation

enum AVPixelFormat ffmpeg_image_transport::utils::get_preferred_pixel_format(const std::string &encoder, const std::vector<AVPixelFormat> &fmts)

! picks from a vector of formats the “best” pixel format for a given encoder