GCC Code Coverage Report


Directory: ./
File: tasks/moskaev_v_lin_filt_block_gauss_3/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 1 2 50.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <cstdint>
4 #include <string>
5 #include <tuple>
6 #include <vector>
7
8 #include "task/include/task.hpp"
9
10 namespace moskaev_v_lin_filt_block_gauss_3 {
11
12 using InType = std::tuple<int, int, int, int, std::vector<uint8_t>>;
13 using OutType = std::vector<uint8_t>;
14 using TestType = std::tuple<int, int, int, int, std::vector<uint8_t>, std::vector<uint8_t>, std::string>;
15 using BaseTask = ppc::task::Task<InType, OutType>;
16
17 const std::vector<float> kGaussianKernel = {1.0F / 16, 2.0F / 16, 1.0F / 16, 2.0F / 16, 4.0F / 16,
18 2.0F / 16, 1.0F / 16, 2.0F / 16, 1.0F / 16};
19
20
1/2
✓ Branch 1 taken 48 times.
✗ Branch 2 not taken.
48 struct ImageInfo {
21 int width{0};
22 int height{0};
23 int channels{0};
24 std::vector<uint8_t> data;
25 };
26
27 } // namespace moskaev_v_lin_filt_block_gauss_3
28