| OpenCV 4.3.0 Open Source Computer Vision

Functions
Channel merge
Core functionality » Hardware Acceleration Layer » Interface

## Functions
int | hal_ni_merge16u (const ushort **src_data, ushort *dst_data, int len, int cn)
int | hal_ni_merge32s (const int **src_data, int *dst_data, int len, int cn)
int | hal_ni_merge64s (const int64 **src_data, int64 *dst_data, int len, int cn)
int | hal_ni_merge8u (const uchar **src_data, uchar *dst_data, int len, int cn)

## Detailed Description

Parameters

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

## Function Documentation

## ◆ hal_ni_merge16u()

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

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

## ◆ hal_ni_merge32s()

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

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

## ◆ hal_ni_merge64s()

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

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

## ◆ hal_ni_merge8u()

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

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