public abstract static class lept.AbstractPIX
extends org.bytedeco.javacpp.Pointer
implements org.bytedeco.javacpp.indexer.Indexable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
lept.AbstractPIX.DestroyDeallocator |
| Constructor and Description |
|---|
AbstractPIX(org.bytedeco.javacpp.Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
lept.PIX |
clone()
Calls pixClone(), and registers a deallocator.
|
static lept.PIX |
create(int width,
int height,
int depth)
Calls pixCreate(), and registers a deallocator.
|
ByteBuffer |
createBuffer() |
ByteBuffer |
createBuffer(int index) |
static lept.PIX |
createHeader(int width,
int height,
int depth)
Calls pixCreateHeader(), and registers a deallocator.
|
org.bytedeco.javacpp.indexer.UByteIndexer |
createIndexer() |
org.bytedeco.javacpp.indexer.UByteIndexer |
createIndexer(boolean direct) |
static lept.PIX |
createNoInit(int width,
int height,
int depth)
Calls pixCreateNoInit(), and registers a deallocator.
|
static lept.PIX |
createTemplate(lept.PIX pixs)
Calls pixCreateTemplate(), and registers a deallocator.
|
static lept.PIX |
createTemplateNoInit(lept.PIX pixs)
Calls pixCreateTemplateNoInit(), 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 static lept.PIX create(int width, int height, int depth)
public static lept.PIX createNoInit(int width, int height, int depth)
public static lept.PIX createTemplate(lept.PIX pixs)
public static lept.PIX createTemplateNoInit(lept.PIX pixs)
public static lept.PIX createHeader(int width, int height, int depth)
public lept.PIX clone()
public ByteBuffer createBuffer()
createBuffer(0)public ByteBuffer createBuffer(int index)
lept.PIX.data() wrapped in a ByteBuffer starting at given byte index.public org.bytedeco.javacpp.indexer.UByteIndexer createIndexer()
createIndexer(true)public org.bytedeco.javacpp.indexer.UByteIndexer createIndexer(boolean direct)
createIndexer in interface org.bytedeco.javacpp.indexer.Indexablepublic void destroy()
Copyright © 2018. All rights reserved.