public interface DataBufferFactory
| Modifier and Type | Method and Description |
|---|---|
DataBuffer.AllocationMode |
allocationMode()
Allocation mode for the data buffer
|
DataBuffer |
create(DataBuffer underlyingBuffer,
long offset,
long length)
Create a databuffer wrapping another one
this allows you to create a view of a buffer
with a different offset and length
backed by the same storage
|
DataBuffer |
create(org.bytedeco.javacpp.Pointer pointer,
DataBuffer.Type type,
long length,
org.bytedeco.javacpp.indexer.Indexer indexer)
Create a data buffer based on the
given pointer, data buffer type,
and length of the buffer
|
DataBuffer |
createDouble(byte[] data,
int length)
Create a double buffer buffer
|
DataBuffer |
createDouble(ByteBuffer buffer,
int length)
Creates a double data buffer
|
DataBuffer |
createDouble(double[] data)
Creates a double data buffer
|
DataBuffer |
createDouble(double[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createDouble(float[] data)
Creates a double data buffer
|
DataBuffer |
createDouble(float[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createDouble(int[] data)
Creates a double data buffer
|
DataBuffer |
createDouble(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
byte[] data,
int length)
Create a double buffer buffer
|
DataBuffer |
createDouble(int offset,
ByteBuffer buffer,
int length)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
double[] data)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
double[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
float[] data)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
float[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
int length)
Create a double data buffer
|
DataBuffer |
createDouble(int offset,
int[] data)
Creates a double data buffer
|
DataBuffer |
createDouble(int offset,
int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createDouble(long length)
Create a double data buffer
|
DataBuffer |
createDouble(long length,
boolean initialize)
Create a double data buffer, with optional initialization
|
DataBuffer |
createFloat(byte[] data,
int length)
Create a double buffer
|
DataBuffer |
createFloat(ByteBuffer buffer,
int length)
Create a float data buffer
|
DataBuffer |
createFloat(double[] data)
Creates a float data buffer
|
DataBuffer |
createFloat(double[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
createFloat(float[] data)
Creates a float data buffer
|
DataBuffer |
createFloat(float[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
createFloat(int[] data)
Creates a double data buffer
|
DataBuffer |
createFloat(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createFloat(int offset,
byte[] data,
int length)
Create a double buffer
|
DataBuffer |
createFloat(int offset,
ByteBuffer buffer,
int length)
Create a float data buffer
|
DataBuffer |
createFloat(int offset,
double[] data)
Creates a float data buffer
|
DataBuffer |
createFloat(int offset,
double[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
createFloat(int offset,
float[] data)
Creates a float data buffer
|
DataBuffer |
createFloat(int offset,
float[] data,
boolean copy)
Creates a float data buffer
|
DataBuffer |
createFloat(int offset,
int length)
Create a float data buffer
|
DataBuffer |
createFloat(int offset,
int[] data)
Creates a double data buffer
|
DataBuffer |
createFloat(int offset,
int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createFloat(long length)
Create a float data buffer
|
DataBuffer |
createFloat(long length,
boolean initialize)
Create a float data buffer, with optional initialization
|
DataBuffer |
createHalf(byte[] data,
int length)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(ByteBuffer buffer,
int length)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(double[] data)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(double[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(float[] data)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(float[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int[] data)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
byte[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
byte[] data,
int length)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
double[] data)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
double[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
float[] data)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
float[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
int length)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
int[] data)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(int offset,
int[] data,
boolean copy)
Creates a half-precision data buffer
|
DataBuffer |
createHalf(long length)
Creates half-precision data buffer
|
DataBuffer |
createHalf(long length,
boolean initialize)
Creates half-precision data buffer
|
DataBuffer |
createInt(ByteBuffer buffer,
int length)
Create int buffer
|
DataBuffer |
createInt(double[] data)
Creates an int data buffer
|
DataBuffer |
createInt(double[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
createInt(float[] data)
Creates an int data buffer
|
DataBuffer |
createInt(float[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
createInt(int[] data)
Creates a double data buffer
|
DataBuffer |
createInt(int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createInt(int offset,
ByteBuffer buffer,
int length)
Create int buffer
|
DataBuffer |
createInt(int offset,
double[] data)
Creates an int data buffer
|
DataBuffer |
createInt(int offset,
double[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
createInt(int offset,
float[] data)
Creates an int data buffer
|
DataBuffer |
createInt(int offset,
float[] data,
boolean copy)
Creates an int data buffer
|
DataBuffer |
createInt(int offset,
int length)
Create an int data buffer
|
DataBuffer |
createInt(int offset,
int[] data)
Creates a double data buffer
|
DataBuffer |
createInt(int offset,
int[] data,
boolean copy)
Creates a double data buffer
|
DataBuffer |
createInt(long length)
Create an int data buffer
|
DataBuffer |
createInt(long length,
boolean initialize)
Create an int data buffer, with optional initialization
|
void |
setAllocationMode(DataBuffer.AllocationMode allocationMode)
Setter for the allocation mode
|
void setAllocationMode(DataBuffer.AllocationMode allocationMode)
allocationMode - DataBuffer.AllocationMode allocationMode()
DataBuffer create(DataBuffer underlyingBuffer, long offset, long length)
underlyingBuffer - the underlying buffer to get the storage fromoffset - the offset to view the data aslength - the length of the bufferDataBuffer createInt(int offset, ByteBuffer buffer, int length)
buffer - length - DataBuffer createFloat(int offset, ByteBuffer buffer, int length)
buffer - length - DataBuffer createDouble(int offset, ByteBuffer buffer, int length)
buffer - length - DataBuffer createDouble(int offset, int length)
DataBuffer createFloat(int offset, int length)
length - the length of the bufferDataBuffer createInt(int offset, int length)
length - the length of the data bufferDataBuffer createDouble(int offset, int[] data)
data - the data to create the buffer fromDataBuffer createFloat(int offset, int[] data)
data - the data to create the buffer fromDataBuffer createInt(int offset, int[] data)
data - the data to create the buffer fromDataBuffer createDouble(int offset, double[] data)
data - the data to create the buffer fromDataBuffer createDouble(int offset, byte[] data, int length)
data - length - DataBuffer createFloat(int offset, byte[] data, int length)
data - length - DataBuffer createFloat(int offset, double[] data)
data - the data to create the buffer fromDataBuffer createInt(int offset, double[] data)
data - the data to create the buffer fromDataBuffer createDouble(int offset, float[] data)
data - the data to create the buffer fromDataBuffer createFloat(int offset, float[] data)
data - the data to create the buffer fromDataBuffer createInt(int offset, float[] data)
data - the data to create the buffer fromDataBuffer createDouble(int offset, int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createFloat(int offset, int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(int offset, int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createDouble(int offset, double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createFloat(int offset, double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(int offset, double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createDouble(int offset, float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createFloat(int offset, float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(int offset, float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(ByteBuffer buffer, int length)
buffer - length - DataBuffer createFloat(ByteBuffer buffer, int length)
buffer - length - DataBuffer createDouble(ByteBuffer buffer, int length)
buffer - length - DataBuffer createDouble(long length)
DataBuffer createDouble(long length, boolean initialize)
initialize - If true: initialize the buffer. If false: don't initialize.DataBuffer createFloat(long length)
length - the length of the bufferDataBuffer createFloat(long length, boolean initialize)
length - the length of the bufferinitialize - If true: initialize the buffer. If false: don't initialize.DataBuffer createInt(long length)
length - the length of the data bufferDataBuffer createInt(long length, boolean initialize)
length - the length of the data bufferinitialize - If true: initialize the buffer. If false: don't initialize.DataBuffer createDouble(int[] data)
data - the data to create the buffer fromDataBuffer createFloat(int[] data)
data - the data to create the buffer fromDataBuffer createInt(int[] data)
data - the data to create the buffer fromDataBuffer createDouble(double[] data)
data - the data to create the buffer fromDataBuffer createDouble(byte[] data, int length)
data - length - DataBuffer createFloat(byte[] data, int length)
data - length - DataBuffer createFloat(double[] data)
data - the data to create the buffer fromDataBuffer createInt(double[] data)
data - the data to create the buffer fromDataBuffer createDouble(float[] data)
data - the data to create the buffer fromDataBuffer createFloat(float[] data)
data - the data to create the buffer fromDataBuffer createInt(float[] data)
data - the data to create the buffer fromDataBuffer createDouble(int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createFloat(int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createDouble(double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createFloat(double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createDouble(float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createFloat(float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createInt(float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer create(org.bytedeco.javacpp.Pointer pointer, DataBuffer.Type type, long length, org.bytedeco.javacpp.indexer.Indexer indexer)
pointer - the pointer to usetype - the type of bufferlength - the length of the bufferindexer - DataBuffer createHalf(long length)
length - length of new data bufferDataBuffer createHalf(long length, boolean initialize)
length - length of new data bufferinitialize - true if memset should be used on allocated memory, false otherwiseDataBuffer createHalf(float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(int offset, double[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(int offset, float[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(int offset, int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(int offset, double[] data)
data - the data to create the buffer fromDataBuffer createHalf(int offset, float[] data)
data - the data to create the buffer fromDataBuffer createHalf(int offset, int[] data)
data - the data to create the buffer fromDataBuffer createHalf(int offset, byte[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(int[] data, boolean copy)
data - the data to create the buffer fromDataBuffer createHalf(float[] data)
data - the data to create the buffer fromDataBuffer createHalf(double[] data)
data - the data to create the buffer fromDataBuffer createHalf(int[] data)
data - the data to create the buffer fromDataBuffer createHalf(int offset, byte[] data, int length)
data - the data to create the buffer fromDataBuffer createHalf(int offset, int length)
DataBuffer createHalf(ByteBuffer buffer, int length)
DataBuffer createHalf(byte[] data, int length)
data - length - Copyright © 2016. All Rights Reserved.