Line |
Branch |
Exec |
Source |
1 |
|
|
// SPDX-FileCopyrightText: 2023 - 2025 Arm Limited and/or its affiliates <open-source-office@arm.com> |
2 |
|
|
// |
3 |
|
|
// SPDX-License-Identifier: Apache-2.0 |
4 |
|
|
|
5 |
|
|
#include "rgb_to_rgb_sc.h" |
6 |
|
|
|
7 |
|
|
namespace kleidicv::sme { |
8 |
|
|
|
9 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
10 |
|
68 |
rgb_to_bgr_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
11 |
|
|
size_t dst_stride, size_t width, size_t height) { |
12 |
|
68 |
return rgb_to_bgr_u8_sc(src, src_stride, dst, dst_stride, width, height); |
13 |
|
|
} |
14 |
|
|
|
15 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
16 |
|
68 |
rgba_to_bgra_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
17 |
|
|
size_t dst_stride, size_t width, size_t height) { |
18 |
|
68 |
return rgba_to_bgra_u8_sc(src, src_stride, dst, dst_stride, width, height); |
19 |
|
|
} |
20 |
|
|
|
21 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
22 |
|
68 |
rgb_to_bgra_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
23 |
|
|
size_t dst_stride, size_t width, size_t height) { |
24 |
|
68 |
return rgb_to_bgra_u8_sc(src, src_stride, dst, dst_stride, width, height); |
25 |
|
|
} |
26 |
|
|
|
27 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
28 |
|
68 |
rgb_to_rgba_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
29 |
|
|
size_t dst_stride, size_t width, size_t height) { |
30 |
|
68 |
return rgb_to_rgba_u8_sc(src, src_stride, dst, dst_stride, width, height); |
31 |
|
|
} |
32 |
|
|
|
33 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
34 |
|
68 |
rgba_to_bgr_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
35 |
|
|
size_t dst_stride, size_t width, size_t height) { |
36 |
|
68 |
return rgba_to_bgr_u8_sc(src, src_stride, dst, dst_stride, width, height); |
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
40 |
|
68 |
rgba_to_rgb_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
41 |
|
|
size_t dst_stride, size_t width, size_t height) { |
42 |
|
68 |
return rgba_to_rgb_u8_sc(src, src_stride, dst, dst_stride, width, height); |
43 |
|
|
} |
44 |
|
|
|
45 |
|
|
} // namespace kleidicv::sme |
46 |
|
|
|