Function usb_cam::formats::get_channels_from_av_format(const AVPixelFormat&)
Defined in File av_pixel_format_helper.hpp
Function Documentation
-
inline uint8_t usb_cam::formats::get_channels_from_av_format(const AVPixelFormat &avPixelFormat)
Get the number of channels from AVPixelFormat.
- Parameters:
avPixelFormat – AVPixelFormat
- Returns:
Number of channels as uint8