跳到主要内容

av_get_planar_sample_fmt

搜索

函数 av_get_planar_sample_fmt 

源代码
pub unsafe extern "C" fn av_get_planar_sample_fmt(
    sample_fmt: AVSampleFormat,
) -> AVSampleFormat
展开描述

Get the planar alternative form of the given sample format.

If the passed sample_fmt is already in planar format, the format returned is the same as the input.

@return the planar alternative form of the given sample format or AV_SAMPLE_FMT_NONE on error.