Function ffmpeg_sys_the_third::av_get_bits_per_pixel

source ·
pub unsafe extern "C" fn av_get_bits_per_pixel(
    pixdesc: *const AVPixFmtDescriptor
) -> c_int
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.