Function ffmpeg_sys::sws_init_context[][src]

pub unsafe extern "C" fn sws_init_context(
    sws_context: *mut SwsContext,
    srcFilter: *mut SwsFilter,
    dstFilter: *mut SwsFilter
) -> c_int
Expand description

Initialize the swscaler context sws_context.

@return zero or positive value on success, a negative value on error