plugin_bridge.h
Go to the documentation of this file.
#pragma once
/* BIBO analysis - extra bits needed to avoid overflow:
Lossless:
without colour transform: 4 extra bits
with colour transform: 5 extra bits
Lossy:
Need 1 extra bit
So, worst-case scenario is lossless with colour transform : need to add 5 more bits to prec to
avoid overflow
*/
#define BIBO_EXTRA_BITS 5
namespace grk
{
void decompress_synch_plugin_with_host(TileProcessor* tcd);
void compress_synch_with_plugin(TileProcessor* tcd, uint16_t compno, uint32_t resno,
uint32_t bandIndex, uint64_t precinctIndex, uint64_t cblkno,
Subband* band, CompressCodeblock* cblk, uint32_t* numPix);
bool tile_equals(grk_plugin_tile* plugin_tile, Tile* tilePtr);
// set context stream for debugging purposes
void set_context_stream(TileProcessor* p_tileProcessor);
void nextCXD(grk_plugin_debug_mqc* mqc, uint32_t d);
void mqc_next_plane(grk_plugin_debug_mqc* mqc);
} // namespace grk
grk
Copyright (C) 2016-2023 Grok Image Compression Inc.
Definition ICacheable.h:20
grk::nextCXD
void nextCXD(grk_plugin_debug_mqc *mqc, uint32_t d)
Definition plugin_bridge.cpp:327
grk::set_context_stream
void set_context_stream(TileProcessor *p_tileProcessor)
Definition plugin_bridge.cpp:275
grk::grk_read
void grk_read(const uint8_t *buffer, TYPE *value, uint32_t numBytes)
Definition BufferedStream.h:239
grk::decompress_synch_plugin_with_host
void decompress_synch_plugin_with_host(TileProcessor *tcd)
Definition plugin_bridge.cpp:24
grk::mqc_next_plane
void mqc_next_plane(grk_plugin_debug_mqc *mqc)
Definition plugin_bridge.cpp:316
grk::tile_equals
bool tile_equals(grk_plugin_tile *plugin_tile, Tile *tilePtr)
Definition plugin_bridge.cpp:93
grk::compress_synch_with_plugin
void compress_synch_with_plugin(TileProcessor *tcd, uint16_t compno, uint32_t resno, uint32_t bandIndex, uint64_t precinctIndex, uint64_t cblkno, Subband *band, CompressCodeblock *cblk, uint32_t *numPix)
Definition plugin_bridge.cpp:146
_grk_plugin_tile
Plugin tile.
Definition grok.h:739