| OpenCV 3.4.3 Open Source Computer Vision

Functions
Element-wise reciprocial
Core functionality » Hardware Acceleration Layer » Interface

## 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)

## Detailed Description

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

## Function Documentation

## § hal_ni_recip16s()

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
| ) |  |
| inline

## § hal_ni_recip16u()

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
| ) |  |
| inline

## § hal_ni_recip32f()

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
| ) |  |
| inline

## § hal_ni_recip32s()

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
| ) |  |
| inline

## § hal_ni_recip64f()

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
| ) |  |
| inline

## § hal_ni_recip8s()

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
| ) |  |
| inline

## § hal_ni_recip8u()

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
| ) |  |
| inline