Grok 20.3.2
plugin_bridge.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016-2026 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
20namespace grk
21{
22void compress_synch_with_plugin(ITileProcessorCompress* tcd, uint16_t compno, uint8_t resno,
23 uint8_t bandIndex, uint64_t precinctIndex, uint32_t cblkno,
24 Subband* band, t1::CodeblockCompress* cblk, uint32_t* num_pix);
25
26bool tile_equals(grk_plugin_tile* plugin_tile, const Tile* tilePtr);
27
28#ifdef PLUGIN_DEBUG_ENCODE
29// set context stream for debugging purposes
30void set_context_stream(ITileProcessor* p_tileProcessor);
31
32void nextCXD(grk_plugin_debug_mqc* mqc, uint32_t d);
33
34void mqc_next_plane(grk_plugin_debug_mqc* mqc);
35
36#endif
37
38} // namespace grk
struct _grk_plugin_tile grk_plugin_tile
ResWindow.
Definition CompressedChunkCache.h:36
void compress_synch_with_plugin(ITileProcessorCompress *tileProcessor, uint16_t compno, uint8_t resno, uint8_t bandIndex, uint64_t precinctIndex, uint32_t cblkno, Subband *band, t1::CodeblockCompress *cblk, uint32_t *num_pix)
Definition plugin_bridge.cpp:114
bool tile_equals(grk_plugin_tile *plugin_tile, const Tile *tilePtr)
Definition plugin_bridge.cpp:63
Interface for managing tile compression.
Definition ITileProcessorCompress.h:31
Interface for managing tile compression/decompression.
Definition ITileProcessor.h:37
Stores sub band bounds and precincts.
Definition Subband.h:31
Definition Tile.h:39
Definition plugin_interface.h:38
Stores information about compression code block.
Definition CodeblockCompress.h:31