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 "yuv_to_rgb_sc.h" |
6 |
|
|
namespace kleidicv::sve2 { |
7 |
|
|
|
8 |
|
|
KLEIDICV_TARGET_FN_ATTRS |
9 |
|
117 |
kleidicv_error_t yuv_to_rgb_u8(const uint8_t *src, size_t src_stride, |
10 |
|
|
uint8_t *dst, size_t dst_stride, size_t width, |
11 |
|
|
size_t height) { |
12 |
|
117 |
return yuv_to_rgb_u8_sc(src, src_stride, dst, dst_stride, width, height); |
13 |
|
|
} |
14 |
|
|
|
15 |
|
|
KLEIDICV_TARGET_FN_ATTRS |
16 |
|
117 |
kleidicv_error_t yuv_to_bgr_u8(const uint8_t *src, size_t src_stride, |
17 |
|
|
uint8_t *dst, size_t dst_stride, size_t width, |
18 |
|
|
size_t height) { |
19 |
|
117 |
return yuv_to_bgr_u8_sc(src, src_stride, dst, dst_stride, width, height); |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
KLEIDICV_TARGET_FN_ATTRS |
23 |
|
117 |
kleidicv_error_t yuv_to_rgba_u8(const uint8_t *src, size_t src_stride, |
24 |
|
|
uint8_t *dst, size_t dst_stride, size_t width, |
25 |
|
|
size_t height) { |
26 |
|
117 |
return yuv_to_rgba_u8_sc(src, src_stride, dst, dst_stride, width, height); |
27 |
|
|
} |
28 |
|
|
|
29 |
|
|
KLEIDICV_TARGET_FN_ATTRS |
30 |
|
117 |
kleidicv_error_t yuv_to_bgra_u8(const uint8_t *src, size_t src_stride, |
31 |
|
|
uint8_t *dst, size_t dst_stride, size_t width, |
32 |
|
|
size_t height) { |
33 |
|
117 |
return yuv_to_bgra_u8_sc(src, src_stride, dst, dst_stride, width, height); |
34 |
|
|
} |
35 |
|
|
|
36 |
|
|
} // namespace kleidicv::sve2 |
37 |
|
|
|