@Properties(inherit=leptonica.class) public abstract class AbstractFPIX extends Pointer implements Indexable
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractFPIX.DestroyDeallocator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AbstractFPIX(Pointer p) |
Modifier and Type | Method and Description |
---|---|
FPIX |
clone()
Calls fpixClone(), and registers a deallocator.
|
static 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 FPIX |
createTemplate(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, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public AbstractFPIX(Pointer p)
public static FPIX create(int width, int height)
public static FPIX createTemplate(FPIX fpixs)
public FPIX clone()
public FloatBuffer createBuffer()
createBuffer(0)
public FloatBuffer createBuffer(int index)
FPIX.data()
wrapped in a FloatBuffer
starting at given byte index.public FloatIndexer createIndexer()
createIndexer(true)
public FloatIndexer createIndexer(boolean direct)
createIndexer
in interface Indexable
public void destroy()
Copyright © 2024. All rights reserved.