Function rsmpeg::ffi::av_get_bits_per_pixel[][src]

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

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.