The Internal Memory API.
More...
The Internal Memory API.
◆ allocateMemory()
#include <vx_memory.h>
Allocates a memory block.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | memory | The memory block. |
- Returns
- vx_true_e if successful.
◆ computeMemorySize()
#include <vx_memory.h>
Compute size of memory block.
- Parameters
-
[in] | memory | The memory block. |
[in] | p | The plane index. |
- Returns
- Size of memory block.
◆ formatMemoryPtr()
#include <vx_memory.h>
Get pointer to memory block.
- Parameters
-
memory | The memory block. |
c | The channel index. |
x | The stride in x-dim. |
y | The stride in y-dim. |
p | The plane index. |
- Returns
- Pointer to memory block.
◆ freeMemory()
#include <vx_memory.h>
Frees a memory block.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | memory | The memory block. |
- Returns
- vx_true_e if successful.
◆ printMemory()
static void coreflow::Memory::printMemory |
( |
vx_memory_t * | mem | ) |
|
|
static |
#include <vx_memory.h>
Print info of memory block.
- Parameters
-