Grok  9.5.0
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::grkBuffer< T, A >
 
struct  grk::grkBuffer2d< T, A >
 

Namespaces

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

Typedefs

using grk::grkBufferU8 = grkBuffer< uint8_t, AllocatorVanilla >
 
using grk::grkBufferU8Aligned = grkBuffer< 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...