Grok 10.0.5
Resolution.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#pragma once
18
19#include "grk_includes.h"
20
21namespace grk
22{
23
24struct Resolution : public grk_rect32
25{
26 Resolution(void);
27 ~Resolution(void);
28 virtual void print() const override;
29 bool init(TileProcessor* tileProcessor, TileComponentCodingParams* tccp, uint8_t resno);
30 ResSimple genResSimple(void);
31
33 Subband tileBand[BAND_NUM_INDICES]; // unreduced tile component bands in canvas coordinates
34 uint8_t numTileBandWindows; // 1 or 3
35 uint32_t precinctGridWidth, precinctGridHeight; /* dimensions of precinct grid */
36 grk_pt32 cblkExpn;
38 grk_pt32 precinctExpn;
40 ParserMap* parserMap_;
41};
42
43} // namespace grk
uint8_t resno
Definition BlockExec.h:53
grk_plugin_tile * current_plugin_tile
Definition CodeStream.h:157
TileProcessor * tileProcessor
Definition PacketManager.h:100
grk_pt32 precinctPartitionTopLeft
Definition Resolution.h:37
uint32_t precinctGridHeight
Definition Resolution.h:35
uint32_t precinctGridWidth
Definition Resolution.h:35
Subband tileBand[BAND_NUM_INDICES]
Definition Resolution.h:33
grk_pt32 cblkExpn
Definition Resolution.h:36
grk_pt32 precinctExpn
Definition Resolution.h:38
uint8_t numTileBandWindows
Definition Resolution.h:34
bool initialized
Definition Resolution.h:32
ParserMap * parserMap_
Definition Resolution.h:40
Copyright (C) 2016-2023 Grok Image Compression Inc.
Definition ICacheable.h:20
grk_rect< uint32_t > grk_rect32
Definition geometry.h:61
Plugin tile.
Definition grok.h:739