Function usb_cam::formats::get_bit_depth_from_av_format(const AVPixelFormat&)
Defined in File av_pixel_format_helper.hpp
Function Documentation
-
inline uint8_t usb_cam::formats::get_bit_depth_from_av_format(const AVPixelFormat &avPixelFormat)
Get the pixel bit depth from AVPixelFormat.
- Parameters:
avPixelFormat – AVPixelFormat
- Returns:
Bit depth as uint8