GCC Code Coverage Report


Directory: ./
File: channeloutput/processors/ColorOrderOutputProcessor.h
Date: 2026-10-29 08:11:58
Exec Total Coverage
Lines: 3 4 75.0%
Functions: 1 2 50.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 LGPL v2.1 as described in the
11 * included LICENSE.LGPL file.
12 */
13
14 #include "OutputProcessor.h"
15 #include "fpp-json-fwd.h"
16
17 class ColorOrderOutputProcessor : public OutputProcessor {
18 public:
19 ColorOrderOutputProcessor(const Json::Value& config);
20 virtual ~ColorOrderOutputProcessor();
21
22 virtual void ProcessData(unsigned char* channelData) const override;
23
24 ✗ virtual OutputProcessorType getType() const override { return COLORORDER; }
25
26 5 virtual void GetRequiredChannelRanges(const std::function<void(int, int)>& addRange) override {
27 5 addRange(start, start + (count * 3) - 1);
28 5 }
29
30 protected:
31 int start;
32 int count;
33 int order;
34 std::string model;
35 };
36