| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // SPDX-FileCopyrightText: 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> | ||
| 2 | // | ||
| 3 | // SPDX-License-Identifier: Apache-2.0 | ||
| 4 | |||
| 5 | #include "bitwise_and_sc.h" | ||
| 6 | |||
| 7 | namespace kleidicv::sve2 { | ||
| 8 | |||
| 9 | template <typename T> | ||
| 10 | 70 | kleidicv_error_t bitwise_and(const T *src_a, size_t src_a_stride, | |
| 11 | const T *src_b, size_t src_b_stride, T *dst, | ||
| 12 | size_t dst_stride, size_t width, size_t height) { | ||
| 13 | 140 | return bitwise_and_sc(src_a, src_a_stride, src_b, src_b_stride, dst, | |
| 14 | 70 | dst_stride, width, height); | |
| 15 | } | ||
| 16 | |||
| 17 | #define KLEIDICV_INSTANTIATE_TEMPLATE(type) \ | ||
| 18 | template KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t bitwise_and<type>( \ | ||
| 19 | const type *src_a, size_t src_a_stride, const type *src_b, \ | ||
| 20 | size_t src_b_stride, type *dst, size_t dst_stride, size_t width, \ | ||
| 21 | size_t height) | ||
| 22 | |||
| 23 | KLEIDICV_INSTANTIATE_TEMPLATE(uint8_t); | ||
| 24 | |||
| 25 | } // namespace kleidicv::sve2 | ||
| 26 |