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

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