Function usb_cam::formats::get_bit_depth_from_av_format(const std::string&)

Function Documentation

inline uint8_t usb_cam::formats::get_bit_depth_from_av_format(const std::string &avPixelFormatStr)

Overload of function below to support passing av pixel formats as strings.

Parameters:

avPixelFormatStr – AVPixelFormat as string

Returns:

Bit depth as uint8