av_get_bits_per_pixel

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.

extern (C) @nogc nothrow
int
av_get_bits_per_pixel

Meta