Function usb_cam::formats::get_ros_pixel_format_from_av_format(const AVPixelFormat&)

Function Documentation

inline std::string usb_cam::formats::get_ros_pixel_format_from_av_format(const AVPixelFormat &avPixelFormat)

Get ROS PixelFormat from AVPixelFormat.

Parameters:

avPixelFormat – AVPixelFormat

Returns:

String specifying the ROS pixel format.