Type Alias av_tx_fn

pub type av_tx_fn = Option<unsafe extern "C" fn(*mut AVTXContext, *mut c_void, *mut c_void, isize)>;
Expand description

Function pointer to a function to perform the transform.

@note Using a different context than the one allocated during av_tx_init() is not allowed.

@param s the transform context @param out the output array @param in the input array @param stride the input or output stride in bytes

The out and in arrays must be aligned to the maximum required by the CPU architecture unless the AV_TX_UNALIGNED flag was set in av_tx_init(). The stride must follow the constraints the transform type has specified.

Aliased Type§

enum av_tx_fn {
    None,
    Some(unsafe extern "C" fn(*mut AVTXContext, *mut c_void, *mut c_void, isize)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut AVTXContext, *mut c_void, *mut c_void, isize))

Some value of type T.