Function av_get_planar_sample_fmt

Source
pub unsafe extern "C" fn av_get_planar_sample_fmt(
    sample_fmt: i32,
) -> i32
Expand description

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.