Function ffmpeg_image_transport::utils::get_preferred_pixel_format
Defined in File utils.hpp
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