[][src]Function ffav_sys::av_get_bits_per_pixel

pub unsafe extern "C" fn av_get_bits_per_pixel(
    pixdesc: *const AVPixFmtDescriptor
) -> c_int

Return the number of bits per pixel used by the pixel format described by pixdesc. Note that this is not the same as the number of bits per sample.

The returned number of bits refers to the number of bits actually used for storing the pixel information, that is padding bits are not counted.