Element-wise reciprocial

Computes reciprocial: dst[i] = scale / src[i]

Parameters:

src_data  
src_step source image data and step
dst_data  
dst_step destination image data and step
width  
height dimensions of the images
scale additional multiplier
// global functions

int
hal_ni_recip16s(
    const short* src_data,
    size_t src_step,
    short* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );

int
hal_ni_recip16u(
    const ushort* src_data,
    size_t src_step,
    ushort* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );

int
hal_ni_recip32f(
    const float* src_data,
    size_t src_step,
    float* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );

int
hal_ni_recip32s(
    const int* src_data,
    size_t src_step,
    int* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );

int
hal_ni_recip64f(
    const double* src_data,
    size_t src_step,
    double* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );

int
hal_ni_recip8s(
    const schar* src_data,
    size_t src_step,
    schar* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );

int
hal_ni_recip8u(
    const uchar* src_data,
    size_t src_step,
    uchar* dst_data,
    size_t dst_step,
    int width,
    int height,
    double scale
    );