Contents

BNNSFilterApply(_:_:_:)

Applies a filter to an input, writing the result to a specified output.

Declaration

func BNNSFilterApply(_ filter: BNNSFilter?, _ in: UnsafeRawPointer, _ out: UnsafeMutableRawPointer) -> Int32

Parameters

  • filter:

    The filter to apply.

  • in:

    Pointer to the input data.

  • out:

    Pointer to the output data.

Return Value

Returns 0 on success, -1 on failure.

See Also

Forward Propagation Functions