Function usb_cam::formats::get_channels_from_av_format(const std::string&)
Defined in File av_pixel_format_helper.hpp
Function Documentation
-
inline uint8_t usb_cam::formats::get_channels_from_av_format(const std::string &avPixelFormatStr)
Overload of function below to support av pixel formats as strings.
- Parameters:
avPixelFormatStr – AvPixelFormat as string
- Returns:
Number of channels as uint8_t