| 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 ThreeToFourOutputProcessor : public OutputProcessor { | ||
| 18 | public: | ||
| 19 | ThreeToFourOutputProcessor(const Json::Value& config); | ||
| 20 | virtual ~ThreeToFourOutputProcessor(); | ||
| 21 | |||
| 22 | virtual void ProcessData(unsigned char* channelData) const override; | ||
| 23 | |||
| 24 | ✗ | virtual OutputProcessorType getType() const override { return THREETOFOUR; } | |
| 25 | |||
| 26 | 5 | virtual void GetRequiredChannelRanges(const std::function<void(int, int)>& addRange) override { | |
| 27 | 5 | addRange(start, start + (count * 4) - 1); | |
| 28 | 5 | } | |
| 29 | |||
| 30 | protected: | ||
| 31 | int start; | ||
| 32 | int count; | ||
| 33 | int order; | ||
| 34 | int algorithm; | ||
| 35 | std::string model; | ||
| 36 | }; | ||
| 37 |