Function rsmpeg::ffi::av_get_pix_fmt_string[][src]

pub unsafe extern "C" fn av_get_pix_fmt_string(
    buf: *mut i8,
    buf_size: i32,
    pix_fmt: i32
) -> *mut i8
Expand description

Print in buf the string corresponding to the pixel format with number pix_fmt, or a header if pix_fmt is negative.

@param buf the buffer where to write the string @param buf_size the size of buf @param pix_fmt the number of the pixel format to print the corresponding info string, or a negative value to print the corresponding header.