跳到主要内容

av_get_bits_per_pixel

搜索

函数 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.