Channel merge
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 |
// global 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 );