|
Grok
7.6.6
|
#include <T1Structs.h>
Public Member Functions | |
| DecompressCodeblock () | |
| ~DecompressCodeblock () | |
| DecompressCodeblock (const DecompressCodeblock &rhs) | |
| DecompressCodeblock & | operator= (const DecompressCodeblock &other) |
| void | clear () override |
| void | init () |
| bool | alloc () |
| void | cleanup () |
| void | cleanup_seg_buffers () |
| size_t | getSegBuffersLen () |
| bool | copy_to_contiguous_buffer (uint8_t *buffer) |
Public Member Functions inherited from grk::Codeblock | |
| Codeblock (const Codeblock &rhs) | |
| Codeblock () | |
| Codeblock & | operator= (const Codeblock &other) |
| virtual | ~Codeblock () |
Public Member Functions inherited from grk::grk_rectangle< uint32_t > | |
| grk_rectangle (uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1) | |
| grk_rectangle (const grk_rectangle &rhs) | |
| grk_rectangle (void) | |
| void | print (void) const |
| bool | is_valid (void) const |
| bool | non_empty (void) const |
| bool | contains (grk_point< uint32_t > pt) |
| grk_rectangle< uint32_t > & | operator= (const grk_rectangle< uint32_t > &rhs) |
| bool | operator== (const grk_rectangle< uint32_t > &rhs) const |
| void | set_rect (grk_rectangle< uint32_t > *rhs) |
| void | set_rect (grk_rectangle< uint32_t > rhs) |
| grk_rectangle< uint32_t > | rectceildivpow2 (uint32_t power) const |
| grk_rectangle< uint32_t > | rectceildiv (uint32_t den) const |
| grk_rectangle< uint32_t > | rectceildiv (uint32_t denx, uint32_t deny) const |
| grk_rectangle< uint32_t > | intersection (const grk_rectangle< uint32_t > rhs) const |
| grk_rectangle< uint32_t > | intersection (const grk_rectangle< uint32_t > *rhs) const |
| bool | isContainedIn (const grk_rectangle< uint32_t > rhs) const |
| void | clip (const grk_rectangle< uint32_t > *rhs) |
| grk_rectangle< uint32_t > | rect_union (const grk_rectangle< uint32_t > *rhs) const |
| grk_rectangle< uint32_t > | rect_union (const grk_rectangle< uint32_t > &rhs) const |
| uint64_t | area (void) const |
| uint32_t | width () const |
| uint32_t | height () const |
| grk_line< uint32_t > | dimX () |
| grk_line< uint32_t > | dimY () |
| grk_rectangle< uint32_t > | pan (int64_t x, int64_t y) const |
| void | pan_inplace (int64_t x, int64_t y) |
| grk_rectangle< uint32_t > & | grow (uint32_t boundary) |
| grk_rectangle< uint32_t > & | grow (uint32_t boundaryx, uint32_t boundaryy) |
| grk_rectangle< uint32_t > & | grow (uint32_t boundary, uint32_t maxX, uint32_t maxY) |
| grk_rectangle< uint32_t > & | grow (uint32_t boundaryx, uint32_t boundaryy, uint32_t maxX, uint32_t maxY) |
| grk_rectangle< uint32_t > & | grow (uint32_t boundary, grk_rectangle< uint32_t > bounds) |
| grk_rectangle< uint32_t > & | grow (uint32_t boundaryx, uint32_t boundaryy, grk_rectangle< uint32_t > bounds) |
Public Attributes | |
| std::vector< grk_buf * > | seg_buffers |
| Segment * | segs |
| uint32_t | numSegments |
| uint32_t | numSegmentsAllocated |
Public Attributes inherited from grk::Codeblock | |
| grk_buf | compressedStream |
| uint32_t | numbps |
| uint32_t | numlenbits |
| uint32_t | numPassesInPacket |
Public Attributes inherited from grk::grk_rectangle< uint32_t > | |
| uint32_t | x0 |
| uint32_t | y0 |
| uint32_t | x1 |
| uint32_t | y1 |
| grk::DecompressCodeblock::DecompressCodeblock | ( | ) |
References init().
Referenced by operator=().
| grk::DecompressCodeblock::~DecompressCodeblock | ( | ) |
References cleanup().
| grk::DecompressCodeblock::DecompressCodeblock | ( | const DecompressCodeblock & | rhs | ) |
| bool grk::DecompressCodeblock::alloc | ( | ) |
References cleanup_seg_buffers(), grk::default_numbers_segments, init(), numSegmentsAllocated, and segs.
| void grk::DecompressCodeblock::cleanup | ( | ) |
References cleanup_seg_buffers(), grk::Codeblock::compressedStream, grk::grk_buffer< T >::dealloc(), and segs.
Referenced by ~DecompressCodeblock().
| void grk::DecompressCodeblock::cleanup_seg_buffers | ( | ) |
References seg_buffers.
|
overridevirtual |
Reimplemented from grk::Codeblock.
References cleanup_seg_buffers(), grk::Codeblock::clear(), and segs.
| bool grk::DecompressCodeblock::copy_to_contiguous_buffer | ( | uint8_t * | buffer | ) |
References seg_buffers.
| size_t grk::DecompressCodeblock::getSegBuffersLen | ( | ) |
References seg_buffers.
Referenced by grk::t1_part1::T1Part1::decompress().
| void grk::DecompressCodeblock::init | ( | ) |
References grk::Codeblock::compressedStream, grk::grk_buffer< T >::dealloc(), grk::Codeblock::numbps, grk::Codeblock::numlenbits, grk::Codeblock::numPassesInPacket, numSegments, numSegmentsAllocated, segs, grk::grk_rectangle< uint32_t >::x0, grk::grk_rectangle< uint32_t >::x1, grk::grk_rectangle< uint32_t >::y0, and grk::grk_rectangle< uint32_t >::y1.
Referenced by alloc(), and DecompressCodeblock().
| DecompressCodeblock & grk::DecompressCodeblock::operator= | ( | const DecompressCodeblock & | other | ) |
References DecompressCodeblock().
| uint32_t grk::DecompressCodeblock::numSegments |
Referenced by init().
| uint32_t grk::DecompressCodeblock::numSegmentsAllocated |
Referenced by alloc(), init(), and grk::T2Decompress::init_seg().
| std::vector<grk_buf*> grk::DecompressCodeblock::seg_buffers |
Referenced by cleanup_seg_buffers(), copy_to_contiguous_buffer(), and getSegBuffersLen().
| Segment* grk::DecompressCodeblock::segs |
Referenced by alloc(), cleanup(), clear(), init(), and grk::T2Decompress::init_seg().