按位与:dst[i] = src1[i] & src2[i]
按位或:dst[i] = src1[i] | src2[i]
按位异或:dst[i] = src1[i] ^ src2[i]
按位取反:dst[i] = !src[i]
- 参数
-
src1_data | 第一个源图像数据 |
src1_step | 第一个源图像步长 |
src2_data | 第二个源图像数据 |
src2_step | 第二个源图像步长 |
dst_data | 目标图像数据 |
dst_step | 目标图像步长 |
width | 图像宽度 |
height | 图像高度 |
|
int | hal_ni_and8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height) |
|
int | hal_ni_not8u (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
|
int | hal_ni_or8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height) |
|
int | hal_ni_xor8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height) |
|
◆ hal_ni_and8u()
int hal_ni_and8u |
( |
const uchar * |
src1_data, |
|
|
size_t |
src1_step, |
|
|
const uchar * |
src2_data, |
|
|
size_t |
src2_step, |
|
|
uchar * |
dst_data, |
|
|
size_t |
dst_step, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ hal_ni_not8u()
int hal_ni_not8u |
( |
const uchar * |
src_data, |
|
|
size_t |
src_step, |
|
|
uchar * |
dst_data, |
|
|
size_t |
dst_step, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ hal_ni_or8u()
int hal_ni_or8u |
( |
const uchar * |
src1_data, |
|
|
size_t |
src1_step, |
|
|
const uchar * |
src2_data, |
|
|
size_t |
src2_step, |
|
|
uchar * |
dst_data, |
|
|
size_t |
dst_step, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ hal_ni_xor8u()
int hal_ni_xor8u |
( |
const uchar * |
src1_data, |
|
|
size_t |
src1_step, |
|
|
const uchar * |
src2_data, |
|
|
size_t |
src2_step, |
|
|
uchar * |
dst_data, |
|
|
size_t |
dst_step, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |