KleidiCV Coverage Report


Directory: ./
File: kleidicv/src/transform/remap_api.cpp
Date: 2025-09-25 14:13:34
Exec Total Coverage
Lines: 6 6 100.0%
Functions: 6 6 100.0%
Branches: 12 12 100.0%

Line Branch Exec Source
1 // SPDX-FileCopyrightText: 2024 - 2025 Arm Limited and/or its affiliates <open-source-office@arm.com>
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 #include "kleidicv/dispatch.h"
6 #include "kleidicv/kleidicv.h"
7 #include "kleidicv/transform/remap.h"
8
9
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
8 KLEIDICV_MULTIVERSION_C_API(kleidicv_remap_s16_u8,
10 &kleidicv::neon::remap_s16<uint8_t>,
11 &kleidicv::sve2::remap_s16<uint8_t>, nullptr,
12 nullptr);
13
14
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
8 KLEIDICV_MULTIVERSION_C_API(kleidicv_remap_s16_u16,
15 &kleidicv::neon::remap_s16<uint16_t>,
16 &kleidicv::sve2::remap_s16<uint16_t>, nullptr,
17 nullptr);
18
19
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
8 KLEIDICV_MULTIVERSION_C_API(kleidicv_remap_s16point5_u8,
20 &kleidicv::neon::remap_s16point5<uint8_t>,
21 &kleidicv::sve2::remap_s16point5<uint8_t>, nullptr,
22 nullptr);
23
24
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
8 KLEIDICV_MULTIVERSION_C_API(kleidicv_remap_s16point5_u16,
25 &kleidicv::neon::remap_s16point5<uint16_t>,
26 &kleidicv::sve2::remap_s16point5<uint16_t>, nullptr,
27 nullptr);
28
29
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
8 KLEIDICV_MULTIVERSION_C_API(kleidicv_remap_f32_u8,
30 &kleidicv::neon::remap_f32<uint8_t>,
31 &kleidicv::sve2::remap_f32<uint8_t>, nullptr,
32 nullptr);
33
34
2/2
✓ Branch 0 taken 3 times.
✓ Branch 1 taken 1 times.
8 KLEIDICV_MULTIVERSION_C_API(kleidicv_remap_f32_u16,
35 &kleidicv::neon::remap_f32<uint16_t>,
36 &kleidicv::sve2::remap_f32<uint16_t>, nullptr,
37 nullptr);
38