| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // SPDX-FileCopyrightText: 2023 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::sve2 { | ||
| 8 | |||
| 9 | KLEIDICV_TARGET_FN_ATTRS | ||
| 10 | 75 | kleidicv_error_t rgb_to_bgr_u8(const uint8_t *src, size_t src_stride, | |
| 11 | uint8_t *dst, size_t dst_stride, size_t width, | ||
| 12 | size_t height) { | ||
| 13 | 75 | return rgb_to_bgr_u8_sc(src, src_stride, dst, dst_stride, width, height); | |
| 14 | } | ||
| 15 | |||
| 16 | KLEIDICV_TARGET_FN_ATTRS | ||
| 17 | 75 | kleidicv_error_t rgba_to_bgra_u8(const uint8_t *src, size_t src_stride, | |
| 18 | uint8_t *dst, size_t dst_stride, size_t width, | ||
| 19 | size_t height) { | ||
| 20 | 75 | return rgba_to_bgra_u8_sc(src, src_stride, dst, dst_stride, width, height); | |
| 21 | } | ||
| 22 | |||
| 23 | KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 24 | 75 | rgb_to_bgra_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, | |
| 25 | size_t dst_stride, size_t width, size_t height) { | ||
| 26 | 75 | return rgb_to_bgra_u8_sc(src, src_stride, dst, dst_stride, width, height); | |
| 27 | } | ||
| 28 | |||
| 29 | KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 30 | 75 | rgb_to_rgba_u8(const uint8_t *src, size_t src_stride, uint8_t *dst, | |
| 31 | size_t dst_stride, size_t width, size_t height) { | ||
| 32 | 75 | return rgb_to_rgba_u8_sc(src, src_stride, dst, dst_stride, width, height); | |
| 33 | } | ||
| 34 | |||
| 35 | KLEIDICV_TARGET_FN_ATTRS | ||
| 36 | 75 | kleidicv_error_t rgba_to_bgr_u8(const uint8_t *src, size_t src_stride, | |
| 37 | uint8_t *dst, size_t dst_stride, size_t width, | ||
| 38 | size_t height) { | ||
| 39 | 75 | return rgba_to_bgr_u8_sc(src, src_stride, dst, dst_stride, width, height); | |
| 40 | } | ||
| 41 | |||
| 42 | KLEIDICV_TARGET_FN_ATTRS | ||
| 43 | 75 | kleidicv_error_t rgba_to_rgb_u8(const uint8_t *src, size_t src_stride, | |
| 44 | uint8_t *dst, size_t dst_stride, size_t width, | ||
| 45 | size_t height) { | ||
| 46 | 75 | return rgba_to_rgb_u8_sc(src, src_stride, dst, dst_stride, width, height); | |
| 47 | } | ||
| 48 | |||
| 49 | } // namespace kleidicv::sve2 | ||
| 50 |