Line |
Branch |
Exec |
Source |
1 |
|
|
// SPDX-FileCopyrightText: 2025 Arm Limited and/or its affiliates <open-source-office@arm.com> |
2 |
|
|
// |
3 |
|
|
// SPDX-License-Identifier: Apache-2.0 |
4 |
|
|
|
5 |
|
|
#include "yuv_p_to_rgb_sc.h" |
6 |
|
|
|
7 |
|
|
namespace kleidicv::sme { |
8 |
|
|
|
9 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
10 |
|
95 |
yuv_p_to_rgb_stripe_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
11 |
|
|
size_t dst_stride, size_t width, size_t height, |
12 |
|
|
bool is_yv12, size_t begin, size_t end) { |
13 |
|
190 |
return yuv_p_to_rgb_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
14 |
|
95 |
height, is_yv12, begin, end); |
15 |
|
|
} |
16 |
|
|
|
17 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
18 |
|
95 |
yuv_p_to_rgba_stripe_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
19 |
|
|
size_t dst_stride, size_t width, size_t height, |
20 |
|
|
bool is_yv12, size_t begin, size_t end) { |
21 |
|
190 |
return yuv_p_to_rgba_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
22 |
|
95 |
height, is_yv12, begin, end); |
23 |
|
|
} |
24 |
|
|
|
25 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
26 |
|
95 |
yuv_p_to_bgr_stripe_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
27 |
|
|
size_t dst_stride, size_t width, size_t height, |
28 |
|
|
bool is_yv12, size_t begin, size_t end) { |
29 |
|
190 |
return yuv_p_to_bgr_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
30 |
|
95 |
height, is_yv12, begin, end); |
31 |
|
|
} |
32 |
|
|
|
33 |
|
|
KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t |
34 |
|
95 |
yuv_p_to_bgra_stripe_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, |
35 |
|
|
size_t dst_stride, size_t width, size_t height, |
36 |
|
|
bool is_yv12, size_t begin, size_t end) { |
37 |
|
190 |
return yuv_p_to_bgra_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
38 |
|
95 |
height, is_yv12, begin, end); |
39 |
|
|
} |
40 |
|
|
} // namespace kleidicv::sme |
41 |
|
|
|