Grok  7.6.6
Classes | Namespaces | Typedefs | Functions
util.h File Reference
#include "grok.h"
#include "logger.h"
#include <iostream>
#include <cstdint>
#include "grk_intmath.h"
#include <limits>

Go to the source code of this file.

Classes

struct  grk::grk_point< T >
 
struct  grk::grk_line< T >
 
struct  grk::grk_rectangle< T >
 
struct  grk::grk_buffer< T >
 
struct  grk::grk_buffer_2d< T >
 

Namespaces

 grk
 Copyright (C) 2016-2021 Grok Image Compression Inc.
 

Typedefs

using grk::grk_pt = grk_point< uint32_t >
 
using grk::grk_u32_line = grk_line< uint32_t >
 
using grk::grk_rect = grk_rectangle< int64_t >
 
using grk::grk_rect_u32 = grk_rectangle< uint32_t >
 
using grk::grk_buf = grk_buffer< uint8_t >
 

Functions

bool grk::mult_will_overflow (uint64_t a, uint64_t b)
 
template<typename T >
grk::clip (int64_t val)
 
template<typename T >
grk::sat_add (int64_t lhs, int64_t rhs)
 
template<typename T >
grk::sat_add (T lhs, T rhs)
 
template<typename T >
grk::sat_sub (T lhs, T rhs)
 
template<typename T >
grk::sat_sub (int64_t lhs, int64_t rhs)
 
grk_rect_u32 grk::getTileCompBandWindow (uint8_t num_res, uint8_t resno, uint8_t orientation, grk_rect_u32 unreducedTileCompWindow)
 Get band window in tile component coordinates for specified resolution and band orientation. More...