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::sve2 { |
8 |
|
|
|
9 |
|
|
KLEIDICV_TARGET_FN_ATTRS |
10 |
|
138 |
kleidicv_error_t yuv_p_to_rgb_stripe_u8(const uint8_t *src, size_t src_stride, |
11 |
|
|
uint8_t *dst, size_t dst_stride, |
12 |
|
|
size_t width, size_t height, |
13 |
|
|
bool is_yv12, size_t begin, |
14 |
|
|
size_t end) { |
15 |
|
276 |
return yuv_p_to_rgb_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
16 |
|
138 |
height, is_yv12, begin, end); |
17 |
|
|
} |
18 |
|
|
|
19 |
|
|
KLEIDICV_TARGET_FN_ATTRS |
20 |
|
138 |
kleidicv_error_t yuv_p_to_rgba_stripe_u8(const uint8_t *src, size_t src_stride, |
21 |
|
|
uint8_t *dst, size_t dst_stride, |
22 |
|
|
size_t width, size_t height, |
23 |
|
|
bool is_yv12, size_t begin, |
24 |
|
|
size_t end) { |
25 |
|
276 |
return yuv_p_to_rgba_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
26 |
|
138 |
height, is_yv12, begin, end); |
27 |
|
|
} |
28 |
|
|
|
29 |
|
138 |
KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t yuv_p_to_bgr_stripe_u8( |
30 |
|
|
const uint8_t *src, size_t src_stride, uint8_t *dst, size_t dst_stride, |
31 |
|
|
size_t width, size_t height, bool is_yv12, size_t begin, size_t end) { |
32 |
|
276 |
return yuv_p_to_bgr_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
33 |
|
138 |
height, is_yv12, begin, end); |
34 |
|
|
} |
35 |
|
|
|
36 |
|
138 |
KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t yuv_p_to_bgra_stripe_u8( |
37 |
|
|
const uint8_t *src, size_t src_stride, uint8_t *dst, size_t dst_stride, |
38 |
|
|
size_t width, size_t height, bool is_yv12, size_t begin, size_t end) { |
39 |
|
276 |
return yuv_p_to_bgra_stripe_u8_sc(src, src_stride, dst, dst_stride, width, |
40 |
|
138 |
height, is_yv12, begin, end); |
41 |
|
|
} |
42 |
|
|
|
43 |
|
|
} // namespace kleidicv::sve2 |
44 |
|
|
|