Line |
Branch |
Exec |
Source |
1 |
|
|
// SPDX-FileCopyrightText: 2024 - 2025 Arm Limited and/or its affiliates <open-source-office@arm.com> |
2 |
|
|
// |
3 |
|
|
// SPDX-License-Identifier: Apache-2.0 |
4 |
|
|
|
5 |
|
|
#include "kleidicv/resize/resize_linear.h" |
6 |
|
|
#include "resize_linear_sc.h" |
7 |
|
|
|
8 |
|
|
namespace kleidicv::sme { |
9 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
10 |
|
95 |
resize_linear_stripe_u8(const uint8_t *src, size_t src_stride, size_t src_width, |
11 |
|
|
size_t src_height, size_t y_begin, size_t y_end, |
12 |
|
|
uint8_t *dst, size_t dst_stride, size_t dst_width, |
13 |
|
|
size_t dst_height) { |
14 |
|
190 |
return resize_linear_stripe_u8_sc(src, src_stride, src_width, src_height, |
15 |
|
95 |
y_begin, y_end, dst, dst_stride, dst_width, |
16 |
|
95 |
dst_height); |
17 |
|
|
} |
18 |
|
|
|
19 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
20 |
|
129 |
resize_linear_stripe_f32(const float *src, size_t src_stride, size_t src_width, |
21 |
|
|
size_t src_height, size_t y_begin, size_t y_end, |
22 |
|
|
float *dst, size_t dst_stride, size_t dst_width, |
23 |
|
|
size_t dst_height) { |
24 |
|
258 |
return resize_linear_stripe_f32_sc(src, src_stride, src_width, src_height, |
25 |
|
129 |
y_begin, y_end, dst, dst_stride, dst_width, |
26 |
|
129 |
dst_height); |
27 |
|
|
} |
28 |
|
|
|
29 |
|
|
} // namespace kleidicv::sme |
30 |
|
|
|