Function ff_insert_pad

Source
pub unsafe extern "C" fn ff_insert_pad(
    idx: c_uint,
    count: *mut c_uint,
    padidx_off: usize,
    pads: *mut *mut AVFilterPad,
    links: *mut *mut *mut AVFilterLink,
    newpad: *mut AVFilterPad,
) -> c_int
Expand description

Insert a new pad.

@param idx Insertion point. Pad is inserted at the end if this point is beyond the end of the list of pads. @param count Pointer to the number of pads in the list @param padidx_off Offset within an AVFilterLink structure to the element to increment when inserting a new pad causes link numbering to change @param pads Pointer to the pointer to the beginning of the list of pads @param links Pointer to the pointer to the beginning of the list of links @param newpad The new pad to add. A copy is made when adding. @return >= 0 in case of success, a negative AVERROR code on error