Grok  7.6.0
Tier1.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2020 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 "grok_includes.h"
21 #include <vector>
22 #include "T1Interface.h"
23 
24 namespace grk {
25 
26 class Tier1 {
27 public:
28 
30  grk_tile *tile,
31  const double *mct_norms,
32  uint32_t mct_numcomps, bool doRateControl);
33 
35  std::vector<decodeBlockInfo*> *blocks);
36 
38  uint16_t blockw,
39  uint16_t blockh,
40  std::vector<decodeBlockInfo*> *blocks);
41 
42 };
43 
44 }
grk::Tier1::prepareDecodeCodeblocks
bool prepareDecodeCodeblocks(TileComponent *tilec, TileComponentCodingParams *tccp, std::vector< decodeBlockInfo * > *blocks)
grk::TileCodingParams
Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...
Definition: CodingParams.h:117
grk::TileComponentCodingParams
Tile-component coding parameters.
Definition: CodingParams.h:49
grok_includes.h
grk::Tier1
Definition: Tier1.h:26
grk
Copyright (C) 2016-2020 Grok Image Compression Inc.
Definition: BitIO.h:27
grk::TileComponent
Definition: TileComponent.h:31
grk::grk_tile
Definition: TileProcessor.h:180
T1Interface.h
grk::Tier1::decodeCodeblocks
bool decodeCodeblocks(TileCodingParams *tcp, uint16_t blockw, uint16_t blockh, std::vector< decodeBlockInfo * > *blocks)
grk::Tier1::encodeCodeblocks
void encodeCodeblocks(TileCodingParams *tcp, grk_tile *tile, const double *mct_norms, uint32_t mct_numcomps, bool doRateControl)