@Namespace(value="cv::ocl") @NoOffset @Properties(inherit=opencv_core.class) public class ProgramSource extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ProgramSource() |
ProgramSource(BytePointer prog) |
ProgramSource(BytePointer module,
BytePointer name,
BytePointer codeStr,
BytePointer codeHash) |
ProgramSource(long size)
Native array allocator.
|
ProgramSource(Pointer p)
Pointer cast constructor.
|
ProgramSource(ProgramSource prog) |
ProgramSource(String prog) |
ProgramSource(String module,
String name,
String codeStr,
String codeHash) |
Modifier and Type | Method and Description |
---|---|
static ProgramSource |
fromBinary(BytePointer module,
BytePointer name,
byte[] binary,
long size) |
static ProgramSource |
fromBinary(BytePointer module,
BytePointer name,
byte[] binary,
long size,
BytePointer buildOptions) |
static ProgramSource |
fromBinary(BytePointer module,
BytePointer name,
ByteBuffer binary,
long size) |
static ProgramSource |
fromBinary(BytePointer module,
BytePointer name,
ByteBuffer binary,
long size,
BytePointer buildOptions) |
static ProgramSource |
fromBinary(BytePointer module,
BytePointer name,
BytePointer binary,
long size) |
static ProgramSource |
fromBinary(BytePointer module,
BytePointer name,
BytePointer binary,
long size,
BytePointer buildOptions)
\brief Describe OpenCL program binary.
|
static ProgramSource |
fromBinary(String module,
String name,
byte[] binary,
long size) |
static ProgramSource |
fromBinary(String module,
String name,
byte[] binary,
long size,
String buildOptions) |
static ProgramSource |
fromBinary(String module,
String name,
ByteBuffer binary,
long size) |
static ProgramSource |
fromBinary(String module,
String name,
ByteBuffer binary,
long size,
String buildOptions) |
static ProgramSource |
fromBinary(String module,
String name,
BytePointer binary,
long size) |
static ProgramSource |
fromBinary(String module,
String name,
BytePointer binary,
long size,
String buildOptions) |
static ProgramSource |
fromSPIR(BytePointer module,
BytePointer name,
byte[] binary,
long size) |
static ProgramSource |
fromSPIR(BytePointer module,
BytePointer name,
byte[] binary,
long size,
BytePointer buildOptions) |
static ProgramSource |
fromSPIR(BytePointer module,
BytePointer name,
ByteBuffer binary,
long size) |
static ProgramSource |
fromSPIR(BytePointer module,
BytePointer name,
ByteBuffer binary,
long size,
BytePointer buildOptions) |
static ProgramSource |
fromSPIR(BytePointer module,
BytePointer name,
BytePointer binary,
long size) |
static ProgramSource |
fromSPIR(BytePointer module,
BytePointer name,
BytePointer binary,
long size,
BytePointer buildOptions)
\brief Describe OpenCL program in SPIR format.
|
static ProgramSource |
fromSPIR(String module,
String name,
byte[] binary,
long size) |
static ProgramSource |
fromSPIR(String module,
String name,
byte[] binary,
long size,
String buildOptions) |
static ProgramSource |
fromSPIR(String module,
String name,
ByteBuffer binary,
long size) |
static ProgramSource |
fromSPIR(String module,
String name,
ByteBuffer binary,
long size,
String buildOptions) |
static ProgramSource |
fromSPIR(String module,
String name,
BytePointer binary,
long size) |
static ProgramSource |
fromSPIR(String module,
String name,
BytePointer binary,
long size,
String buildOptions) |
Pointer |
getImpl() |
int |
hash() |
ProgramSource |
position(long position) |
ProgramSource |
put(ProgramSource prog) |
BytePointer |
source() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public ProgramSource(Pointer p)
Pointer.Pointer(Pointer)
.public ProgramSource(long size)
Pointer.position(long)
.public ProgramSource()
public ProgramSource(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @opencv_core.Str BytePointer codeStr, @opencv_core.Str BytePointer codeHash)
public ProgramSource(@opencv_core.Str String module, @opencv_core.Str String name, @opencv_core.Str String codeStr, @opencv_core.Str String codeHash)
public ProgramSource(@opencv_core.Str BytePointer prog)
public ProgramSource(@opencv_core.Str String prog)
public ProgramSource(@Const @ByRef ProgramSource prog)
public ProgramSource position(long position)
@ByRef @Name(value="operator =") public ProgramSource put(@Const @ByRef ProgramSource prog)
@opencv_core.Str public BytePointer source()
@ByVal public static ProgramSource fromBinary(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size, @opencv_core.Str BytePointer buildOptions)
module
- name of program owner modulename
- unique name of program (module+name is used as key for OpenCL program caching)binary
- buffer address. See buffer lifetime requirement in description.size
- buffer sizebuildOptions
- additional program-related build options passed to clBuildProgram()@ByVal public static ProgramSource fromBinary(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size, @opencv_core.Str String buildOptions)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size, @opencv_core.Str BytePointer buildOptions)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size, @opencv_core.Str String buildOptions)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size, @opencv_core.Str BytePointer buildOptions)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size, @opencv_core.Str String buildOptions)
@ByVal public static ProgramSource fromBinary(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size, @opencv_core.Str BytePointer buildOptions)
module
- name of program owner modulename
- unique name of program (module+name is used as key for OpenCL program caching)binary
- buffer address. See buffer lifetime requirement in description.size
- buffer sizebuildOptions
- additional program-related build options passed to clBuildProgram()
(these options are added automatically: '-x spir' and '-spir-std=1.2')@ByVal public static ProgramSource fromSPIR(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size, @opencv_core.Str String buildOptions)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size, @opencv_core.Str BytePointer buildOptions)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size, @opencv_core.Str String buildOptions)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") BytePointer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size, @opencv_core.Str BytePointer buildOptions)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str BytePointer module, @opencv_core.Str BytePointer name, @Cast(value="const unsigned char*") ByteBuffer binary, @Cast(value="const size_t") long size)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size, @opencv_core.Str String buildOptions)
@ByVal public static ProgramSource fromSPIR(@opencv_core.Str String module, @opencv_core.Str String name, @Cast(value="const unsigned char*") byte[] binary, @Cast(value="const size_t") long size)
Copyright © 2020. All rights reserved.