|
Grok
7.6.0
|
#include <TileComponentBuffer.h>
Public Member Functions | |
| TileComponentBuffer (grk_image *output_image, uint32_t dx, uint32_t dy, grk_rect unreduced_dim, grk_rect reduced_dim, uint32_t reduced_num_resolutions, uint32_t numresolutions, grk_resolution *tile_comp_resolutions, bool whole_tile) | |
| ~TileComponentBuffer () | |
| T * | cblk_ptr (uint32_t resno, uint32_t bandno, uint32_t &offsetx, uint32_t &offsety) const |
| Get pointer to code block region in tile buffer. More... | |
| T * | ptr (uint32_t resno, uint32_t bandno) const |
| Get pointer to band buffer. More... | |
| T * | ptr (uint32_t resno) const |
| Get pointer to resolution buffer. More... | |
| T * | ptr (void) const |
| Get pointer to tile buffer. More... | |
| uint32_t | stride (uint32_t resno, uint32_t bandno) const |
| Get stride of band buffer. More... | |
| uint32_t | stride (uint32_t resno) const |
| uint32_t | stride (void) const |
| bool | alloc () |
| void | get_region_band_coordinates (uint32_t resno, uint32_t bandno, uint32_t *tbx0, uint32_t *tby0, uint32_t *tbx1, uint32_t *tby1) const |
| Get reduced coordinates of sub-band region. More... | |
| grk_rect | bounds () const |
| Get bounds of tile component decode: reduced tile component coordinates of region encode: unreduced tile component coordinates of entire tile. More... | |
| grk_rect | unreduced_bounds () const |
| uint64_t | strided_area (void) |
| void | attach (T *buffer, uint32_t stride) |
| void | acquire (T *buffer, uint32_t stride) |
| void | transfer (T **buffer, bool *owns, uint32_t *stride) |
Private Member Functions | |
| bool | use_band_buffers () const |
| grk_buffer_2d< T > * | band_buf (uint32_t resno, uint32_t bandno) const |
| grk_buffer_2d< T > * | tile_buf () const |
Private Attributes | |
| grk_rect | m_unreduced_bounds |
| grk_rect | m_bounds |
| std::vector< grk_resolution * > | resolutions |
| std::vector< res_buf< T > * > | res_buffers |
| uint32_t | num_resolutions |
| bool | m_encode |
| bool | whole_tile_decoding |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Get bounds of tile component decode: reduced tile component coordinates of region encode: unreduced tile component coordinates of entire tile.
|
inline |
Get pointer to code block region in tile buffer.
| resno | resolution number |
| bandno | band number (0 for LL band of 0th resolution, otherwise 0 for LL band of 0th resolution, or {0,1,2} for {HL,LH,HH} bands |
| offsetx | x offset of code block |
| offsety | y offset of code block |
|
inline |
Get reduced coordinates of sub-band region.
| resno | resolution number |
| bandno | band number {0,1,2,3} for LL HL,LH and HH bands |
| tbx0 | x0 coordinate of region |
| tby0 | y0 coordinate of region |
| tbx1 | x1 coordinate of region |
| tby1 | y1 coordinate of region |
|
inline |
Get pointer to resolution buffer.
| resno | resolution number |
|
inline |
Get pointer to band buffer.
| resno | resolution number |
| bandno | band number {0,1,2} for HL,LH and HH bands |
Referenced by grk::WaveletForward< DWT >::run().
|
inline |
Get pointer to tile buffer.
|
inline |
|
inline |
Get stride of band buffer.
| resno | resolution number |
| bandno | band number 0 for resno==0 LL band, or {0,1,2} for {HL,LH,HH} bands |
Referenced by grk::WaveletForward< DWT >::run().
|
inline |
|
inline |
|
inlineprivate |
Referenced by grk::TileComponentBuffer< int32_t >::acquire(), grk::TileComponentBuffer< int32_t >::attach(), grk::TileComponentBuffer< int32_t >::cblk_ptr(), grk::TileComponentBuffer< int32_t >::ptr(), grk::TileComponentBuffer< int32_t >::stride(), and grk::TileComponentBuffer< int32_t >::transfer().
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
private |
Referenced by grk::TileComponentBuffer< int32_t >::alloc().
|
private |
|
private |
|
private |
Referenced by grk::TileComponentBuffer< int32_t >::alloc(), grk::TileComponentBuffer< int32_t >::band_buf(), grk::TileComponentBuffer< int32_t >::ptr(), grk::TileComponentBuffer< int32_t >::stride(), grk::TileComponentBuffer< int32_t >::tile_buf(), grk::TileComponentBuffer< int32_t >::TileComponentBuffer(), and grk::TileComponentBuffer< int32_t >::~TileComponentBuffer().
|
private |
|
private |
1.8.18