| Modifier and Type | Class and Description |
|---|---|
protected static class |
lept.AbstractFPIX.DestroyDeallocator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AbstractFPIX(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
lept.FPIX |
clone()
Calls fpixClone(), and registers a deallocator.
|
static lept.FPIX |
create(int width,
int height)
Calls fpixCreate(), and registers a deallocator.
|
FloatBuffer |
createBuffer() |
FloatBuffer |
createBuffer(int index) |
FloatIndexer |
createIndexer() |
FloatIndexer |
createIndexer(boolean direct) |
static lept.FPIX |
createTemplate(lept.FPIX fpixs)
Calls fpixCreateTemplate(), and registers a deallocator.
|
void |
destroy()
Calls the deallocator, if registered, otherwise has no effect.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic AbstractFPIX(Pointer p)
public static lept.FPIX create(int width, int height)
public static lept.FPIX createTemplate(lept.FPIX fpixs)
public lept.FPIX clone()
public FloatBuffer createBuffer()
createBuffer(0)public FloatBuffer createBuffer(int index)
lept.FPIX.data() wrapped in a FloatBuffer starting at given byte index.public FloatIndexer createIndexer()
createIndexer(true)public FloatIndexer createIndexer(boolean direct)
createIndexer in interface Indexablepublic void destroy()
Copyright © 2019. All rights reserved.