Line |
Branch |
Exec |
Source |
1 |
|
|
// SPDX-FileCopyrightText: 2023 Arm Limited and/or its affiliates <open-source-office@arm.com> |
2 |
|
|
// |
3 |
|
|
// SPDX-License-Identifier: Apache-2.0 |
4 |
|
|
|
5 |
|
|
#include "sobel_sc.h" |
6 |
|
|
|
7 |
|
|
namespace kleidicv::sve2 { |
8 |
|
|
|
9 |
|
90 |
KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t sobel_3x3_horizontal_stripe_s16_u8( |
10 |
|
|
const uint8_t *src, size_t src_stride, int16_t *dst, size_t dst_stride, |
11 |
|
|
size_t width, size_t height, size_t y_begin, size_t y_end, |
12 |
|
|
size_t channels) { |
13 |
|
180 |
return sobel_3x3_horizontal_stripe_s16_u8_sc(src, src_stride, dst, dst_stride, |
14 |
|
90 |
width, height, y_begin, y_end, |
15 |
|
90 |
channels); |
16 |
|
|
} |
17 |
|
|
|
18 |
|
90 |
KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t sobel_3x3_vertical_stripe_s16_u8( |
19 |
|
|
const uint8_t *src, size_t src_stride, int16_t *dst, size_t dst_stride, |
20 |
|
|
size_t width, size_t height, size_t y_begin, size_t y_end, |
21 |
|
|
size_t channels) { |
22 |
|
180 |
return sobel_3x3_vertical_stripe_s16_u8_sc(src, src_stride, dst, dst_stride, |
23 |
|
90 |
width, height, y_begin, y_end, |
24 |
|
90 |
channels); |
25 |
|
|
} |
26 |
|
|
|
27 |
|
|
} // namespace kleidicv::sve2 |
28 |
|
|
|