f0r_construct

Function f0r_construct 

Source
pub unsafe extern "C" fn f0r_construct(
    width: c_uint,
    height: c_uint,
) -> f0r_instance_t
Expand description

Constructor for effect instances. The plugin returns a pointer to its internal instance structure.

The resolution must be an integer multiple of 8, must be greater than 0 and be at most 2048 in both dimensions. The plugin must set default values for all parameters in this function.

\param width The x-resolution of the processed video frames \param height The y-resolution of the processed video frames \returns 0 on failure or a pointer != 0 on success

\see f0r_destruct