跳到主要内容

av_pix_fmt_count_planes

搜索

函数 av_pix_fmt_count_planes 

源代码
pub unsafe extern "C" fn av_pix_fmt_count_planes(
    pix_fmt: AVPixelFormat,
) -> c_int
展开描述

@return number of planes in pix_fmt, a negative AVERROR if pix_fmt is not a valid pixel format.