Grok  7.6.6
T1DecompressScheduler.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2021 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 "grk_includes.h"
21 
22 namespace grk {
23 
24 struct DecompressBlockExec;
25 class T1Interface;
26 
28 public:
31  bool decompress(std::vector<DecompressBlockExec*> *blocks);
32 
34  std::vector<DecompressBlockExec*> *blocks);
35 
37  uint16_t blockw,
38  uint16_t blockh,
39  std::vector<DecompressBlockExec*> *blocks);
40 
41 private:
43  std::vector<T1Interface*> t1Implementations;
44  std::atomic_bool success;
45 
47 };
48 
49 }
Definition: T1DecompressScheduler.h:27
bool decompressBlock(T1Interface *impl, DecompressBlockExec *block)
Definition: T1DecompressScheduler.cpp:91
bool decompress(std::vector< DecompressBlockExec * > *blocks)
Definition: T1DecompressScheduler.cpp:105
T1DecompressScheduler(void)
Definition: T1DecompressScheduler.cpp:21
std::atomic_bool success
Definition: T1DecompressScheduler.h:44
bool prepareScheduleDecompress(TileComponent *tilec, TileComponentCodingParams *tccp, std::vector< DecompressBlockExec * > *blocks)
Definition: T1DecompressScheduler.cpp:32
DecompressBlockExec ** decodeBlocks
Definition: T1DecompressScheduler.h:46
std::vector< T1Interface * > t1Implementations
Definition: T1DecompressScheduler.h:43
~T1DecompressScheduler()
Definition: T1DecompressScheduler.cpp:26
bool scheduleDecompress(TileCodingParams *tcp, uint16_t blockw, uint16_t blockh, std::vector< DecompressBlockExec * > *blocks)
Definition: T1DecompressScheduler.cpp:80
Definition: T1Interface.h:23
Copyright (C) 2016-2021 Grok Image Compression Inc.
Definition: BitIO.cpp:23
Definition: T1Structs.h:268
Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...
Definition: CodingParams.h:121
Tile-component coding parameters.
Definition: CodingParams.h:49
Definition: TileComponent.h:30