| 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 "yuv_sp_to_rgb_sc.h" | ||
| 6 | |||
| 7 | namespace kleidicv::sme { | ||
| 8 | |||
| 9 | KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 10 | 252 | yuv_sp_to_rgb_u8(const uint8_t *src_y, size_t src_y_stride, | |
| 11 | const uint8_t *src_uv, size_t src_uv_stride, uint8_t *dst, | ||
| 12 | size_t dst_stride, size_t width, size_t height, bool is_nv21) { | ||
| 13 | 504 | return yuv_sp_to_rgb_u8_sc(src_y, src_y_stride, src_uv, src_uv_stride, dst, | |
| 14 | 252 | dst_stride, width, height, is_nv21); | |
| 15 | } | ||
| 16 | |||
| 17 | KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 18 | 252 | yuv_sp_to_rgba_u8(const uint8_t *src_y, size_t src_y_stride, | |
| 19 | const uint8_t *src_uv, size_t src_uv_stride, uint8_t *dst, | ||
| 20 | size_t dst_stride, size_t width, size_t height, | ||
| 21 | bool is_nv21) { | ||
| 22 | 504 | return yuv_sp_to_rgba_u8_sc(src_y, src_y_stride, src_uv, src_uv_stride, dst, | |
| 23 | 252 | dst_stride, width, height, is_nv21); | |
| 24 | } | ||
| 25 | |||
| 26 | KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 27 | 252 | yuv_sp_to_bgr_u8(const uint8_t *src_y, size_t src_y_stride, | |
| 28 | const uint8_t *src_uv, size_t src_uv_stride, uint8_t *dst, | ||
| 29 | size_t dst_stride, size_t width, size_t height, bool is_nv21) { | ||
| 30 | 504 | return yuv_sp_to_bgr_u8_sc(src_y, src_y_stride, src_uv, src_uv_stride, dst, | |
| 31 | 252 | dst_stride, width, height, is_nv21); | |
| 32 | } | ||
| 33 | |||
| 34 | KLEIDICV_LOCALLY_STREAMING KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t | ||
| 35 | 252 | yuv_sp_to_bgra_u8(const uint8_t *src_y, size_t src_y_stride, | |
| 36 | const uint8_t *src_uv, size_t src_uv_stride, uint8_t *dst, | ||
| 37 | size_t dst_stride, size_t width, size_t height, | ||
| 38 | bool is_nv21) { | ||
| 39 | 504 | return yuv_sp_to_bgra_u8_sc(src_y, src_y_stride, src_uv, src_uv_stride, dst, | |
| 40 | 252 | dst_stride, width, height, is_nv21); | |
| 41 | } | ||
| 42 | |||
| 43 | } // namespace kleidicv::sme | ||
| 44 |