KleidiCV Coverage Report


Directory: ./
File: kleidicv/src/conversions/rgb_to_yuv_sve2.cpp
Date: 2025-09-25 14:13:34
Exec Total Coverage
Lines: 8 8 100.0%
Functions: 4 4 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // SPDX-FileCopyrightText: 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 #include "rgb_to_yuv_sc.h"
6
7 namespace kleidicv::sve2 {
8
9 KLEIDICV_TARGET_FN_ATTRS
10 117 kleidicv_error_t rgb_to_yuv_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 117 return rgb_to_yuv_u8_sc(src, src_stride, dst, dst_stride, width, height);
14 }
15
16 KLEIDICV_TARGET_FN_ATTRS
17 117 kleidicv_error_t rgba_to_yuv_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 117 return rgba_to_yuv_u8_sc(src, src_stride, dst, dst_stride, width, height);
21 }
22
23 KLEIDICV_TARGET_FN_ATTRS
24 117 kleidicv_error_t bgr_to_yuv_u8(const uint8_t *src, size_t src_stride,
25 uint8_t *dst, size_t dst_stride, size_t width,
26 size_t height) {
27 117 return bgr_to_yuv_u8_sc(src, src_stride, dst, dst_stride, width, height);
28 }
29
30 KLEIDICV_TARGET_FN_ATTRS
31 117 kleidicv_error_t bgra_to_yuv_u8(const uint8_t *src, size_t src_stride,
32 uint8_t *dst, size_t dst_stride, size_t width,
33 size_t height) {
34 117 return bgra_to_yuv_u8_sc(src, src_stride, dst, dst_stride, width, height);
35 }
36
37 } // namespace kleidicv::sve2
38