Grok 10.0.5
ImageComponentFlow.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016-2023 Grok Image Compression Inc.
3 *
4 * This source code is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Affero General Public License, version 3,
6 * as published by the Free Software Foundation.
7 *
8 * This source code is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Affero General Public License for more details.
12 *
13 * You should have received a copy of the GNU Affero General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 */
17
18#pragma once
19
20#include "FlowComponent.h"
21
22namespace grk
23{
24struct ResFlow
25{
26 ResFlow(void);
27 ~ResFlow(void);
28
29 FlowComponent* getPacketsFlow(void);
30 void disableWavelet(void);
31 void graph(void);
32 ResFlow* addTo(tf::Taskflow& composition);
33 ResFlow* precede(ResFlow* successor);
34 ResFlow* precede(FlowComponent* successor);
35 FlowComponent* getFinalFlowT1(void);
41};
42
43class ImageComponentFlow
44{
45 public:
46 ImageComponentFlow(uint8_t numResolutions);
47 virtual ~ImageComponentFlow(void);
48 void setRegionDecompression(void);
49 std::string genBlockFlowTaskName(uint8_t resFlowNo);
50 ResFlow* getResFlow(uint8_t resFlowNo);
51 void graph(void);
52 ImageComponentFlow* addTo(tf::Taskflow& composition);
53 FlowComponent* getFinalFlowT1(void);
54 FlowComponent* getPrePostProc(tf::Taskflow& codecFlow);
55
56 uint8_t numResFlows_;
57 ResFlow* resFlows_;
60};
61
62} // namespace grk
std::vector< DecompressBlockExec * > blocks_
Definition DecompressScheduler.h:31
bool doWavelet_
Definition ImageComponentFlow.h:40
uint8_t numResFlows_
Definition ImageComponentFlow.h:56
FlowComponent * waveletHoriz_
Definition ImageComponentFlow.h:38
FlowComponent * waveletVert_
Definition ImageComponentFlow.h:39
FlowComponent * prePostProc_
Definition ImageComponentFlow.h:59
ResFlow * resFlows_
Definition ImageComponentFlow.h:57
FlowComponent * packets_
Definition ImageComponentFlow.h:36
FlowComponent * waveletFinalCopy_
Definition ImageComponentFlow.h:58
Definition FlowComponent.h:21
Copyright (C) 2016-2023 Grok Image Compression Inc.
Definition ICacheable.h:20