Grok  9.7.5
Classes | Namespaces | Typedefs | Functions
MemManager.h File Reference
#include <cstddef>

Go to the source code of this file.

Classes

struct  grk::AllocatorVanilla< T >
 
struct  grk::AllocatorAligned< T >
 
struct  grk::grk_buf< T, A >
 
struct  grk::grk_buf2d_simple< T >
 
struct  grk::grk_buf2d< T, A >
 

Namespaces

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

Typedefs

using grk::grk_buf8 = grk_buf< uint8_t, AllocatorVanilla >
 
using grk::grk_buf8_aligned = grk_buf< uint8_t, AllocatorAligned >
 

Functions

uint32_t grk::grkMakeAlignedWidth (uint32_t width)
 
void * grk::grkMalloc (size_t size)
 Allocate an uninitialized memory block. More...
 
void * grk::grkCalloc (size_t numOfElements, size_t sizeOfElements)
 Allocate a memory block with elements initialized to 0. More...
 
void * grk::grkAlignedMalloc (size_t size)
 Allocate memory aligned to a 16 byte boundary. More...
 
void grk::grkAlignedFree (void *ptr)
 
void * grk::grkRealloc (void *m, size_t s)
 Reallocate memory blocks. More...
 
void grk::grkFree (void *m)
 Deallocates or frees a memory block. More...