GCC Code Coverage Report


Directory: ./
File: channeloutput/stringtesters/PixelStringTester.h
Date: 2026-10-29 08:11:58
Exec Total Coverage
Lines: 3 3 100.0%
Functions: 3 3 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 #pragma once
2 /*
3 * This file is part of the Falcon Player (FPP) and is Copyright (C)
4 * 2013-2022 by the Falcon Player Developers.
5 *
6 * The Falcon Player (FPP) is free software, and is covered under
7 * multiple Open Source licenses. Please see the included 'LICENSES'
8 * file for descriptions of what files are covered by each license.
9 *
10 * This source file is covered under the GPL v2 as described in the
11 * included LICENSE.GPL file.
12 */
13
14 #include <cstdint>
15
16 class PixelString;
17 class VirtualString;
18
19 class PixelStringTester {
20 protected:
21 18768 PixelStringTester() {}
22 7328 virtual ~PixelStringTester() {}
23
24 void fillInSmartReceiver(PixelString* ps, VirtualString& vs, uint8_t* inChannelData, uint32_t &offset, uint8_t* &outChannelData) const;
25
26 public:
27 3 virtual void prepareTestData(int cycleCount, float percentOfCycle) {}
28 virtual uint8_t* createTestData(PixelString* string, int cycleCount, float percentOfCycle, uint8_t* inChannelData, uint32_t &newLen) = 0;
29
30 static PixelStringTester* getPixelStringTester(int i);
31 };
32