| Package | Description |
|---|---|
| org.bytedeco.javacpp |
Contains the main set of classes for JavaCPP at runtime.
|
| org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
| Modifier and Type | Method and Description |
|---|---|
ShortPointer |
ShortPointer.capacity(long capacity) |
ShortPointer |
ShortPointer.get(short[] array) |
ShortPointer |
ShortPointer.get(short[] array,
int offset,
int length)
Reads a portion of the native array into a Java array.
|
ShortPointer |
ShortPointer.limit(long limit) |
ShortPointer |
ShortPointer.position(long position) |
ShortPointer |
ShortPointer.put(long i,
short s)
Copies the
short value to the i-th element of a native array. |
ShortPointer |
ShortPointer.put(short... array) |
ShortPointer |
ShortPointer.put(short s) |
ShortPointer |
ShortPointer.put(short[] array,
int offset,
int length)
Writes a portion of a Java array into the native array.
|
| Modifier and Type | Field and Description |
|---|---|
protected ShortPointer |
ShortRawIndexer.pointer
The backing pointer.
|
protected ShortPointer |
HalfRawIndexer.pointer
The backing pointer.
|
protected ShortPointer |
UShortRawIndexer.pointer
The backing pointer.
|
| Modifier and Type | Method and Description |
|---|---|
static HalfIndexer |
HalfIndexer.create(ShortPointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static UShortIndexer |
UShortIndexer.create(ShortPointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static ShortIndexer |
ShortIndexer.create(ShortPointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static HalfIndexer |
HalfIndexer.create(ShortPointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static UShortIndexer |
UShortIndexer.create(ShortPointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static ShortIndexer |
ShortIndexer.create(ShortPointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static HalfIndexer |
HalfIndexer.create(ShortPointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a half float indexer to access efficiently the data of a pointer.
|
static UShortIndexer |
UShortIndexer.create(ShortPointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a short indexer to access efficiently the data of a pointer.
|
static ShortIndexer |
ShortIndexer.create(ShortPointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a short indexer to access efficiently the data of a pointer.
|
| Constructor and Description |
|---|
HalfRawIndexer(ShortPointer pointer)
Calls
HalfRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
HalfRawIndexer(ShortPointer pointer,
long[] sizes,
long[] strides)
|
ShortRawIndexer(ShortPointer pointer)
Calls
ShortRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
ShortRawIndexer(ShortPointer pointer,
long[] sizes,
long[] strides)
|
UShortRawIndexer(ShortPointer pointer)
Calls
UShortRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
UShortRawIndexer(ShortPointer pointer,
long[] sizes,
long[] strides)
|
Copyright © 2016. All rights reserved.