KleidiCV Coverage Report


Directory: ./
File: kleidicv/src/resize/resize_linear_sve2.cpp
Date: 2025-09-25 14:13:34
Exec Total Coverage
Lines: 8 8 100.0%
Functions: 2 2 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 "kleidicv/resize/resize_linear.h"
6 #include "resize_linear_sc.h"
7
8 namespace kleidicv::sve2 {
9 190 KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t resize_linear_stripe_u8(
10 const uint8_t *src, size_t src_stride, size_t src_width, size_t src_height,
11 size_t y_begin, size_t y_end, uint8_t *dst, size_t dst_stride,
12 size_t dst_width, size_t dst_height) {
13 380 return resize_linear_stripe_u8_sc(src, src_stride, src_width, src_height,
14 190 y_begin, y_end, dst, dst_stride, dst_width,
15 190 dst_height);
16 }
17
18 258 KLEIDICV_TARGET_FN_ATTRS kleidicv_error_t resize_linear_stripe_f32(
19 const float *src, size_t src_stride, size_t src_width, size_t src_height,
20 size_t y_begin, size_t y_end, float *dst, size_t dst_stride,
21 size_t dst_width, size_t dst_height) {
22 516 return resize_linear_stripe_f32_sc(src, src_stride, src_width, src_height,
23 258 y_begin, y_end, dst, dst_stride, dst_width,
24 258 dst_height);
25 }
26
27 } // namespace kleidicv::sve2
28