| OpenCV 3.4.8 Open Source Computer Vision

Functions
Channel split
Core functionality » Hardware Acceleration Layer » Interface

## Functions
int | hal_ni_split16u (const ushort *src_data, ushort **dst_data, int len, int cn)
int | hal_ni_split32s (const int *src_data, int **dst_data, int len, int cn)
int | hal_ni_split64s (const int64 *src_data, int64 **dst_data, int len, int cn)
int | hal_ni_split8u (const uchar *src_data, uchar **dst_data, int len, int cn)

## Detailed Description

Parameters

  src_data | array of interleaved values (len x cn items) [ B, G, R, B, G, R, ...]
  dst_data | array of pointers to destination arrays (cn items x len items) [ [B, B, ...], [G, G, ...], [R, R, ...] ]
  len | number of elements
  cn | number of channels

## Function Documentation

## § hal_ni_split16u()

int hal_ni_split16u | ( | const ushort * | src_data,
|  | ushort ** | dst_data,
|  | int | len,
|  | int | cn
| ) |  |
| inline

`#include <core/src/hal_replacement.hpp>`

## § hal_ni_split32s()

int hal_ni_split32s | ( | const int * | src_data,
|  | int ** | dst_data,
|  | int | len,
|  | int | cn
| ) |  |
| inline

`#include <core/src/hal_replacement.hpp>`

## § hal_ni_split64s()

int hal_ni_split64s | ( | const int64 * | src_data,
|  | int64 ** | dst_data,
|  | int | len,
|  | int | cn
| ) |  |
| inline

`#include <core/src/hal_replacement.hpp>`

## § hal_ni_split8u()

int hal_ni_split8u | ( | const uchar * | src_data,
|  | uchar ** | dst_data,
|  | int | len,
|  | int | cn
| ) |  |
| inline

`#include <core/src/hal_replacement.hpp>`