@Namespace(value="cv::ocl") @NoOffset @Properties(inherit=opencv_core.class) public class Program extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Program() |
Program(long size)
Native array allocator.
|
Program(Pointer p)
Pointer cast constructor.
|
Program(Program prog) |
Program(ProgramSource src,
BytePointer buildflags,
BytePointer errmsg) |
Program(ProgramSource src,
String buildflags,
String errmsg) |
Modifier and Type | Method and Description |
---|---|
boolean |
create(ProgramSource src,
BytePointer buildflags,
BytePointer errmsg) |
boolean |
create(ProgramSource src,
String buildflags,
String errmsg) |
void |
getBinary(byte[] binary) |
void |
getBinary(ByteBuffer binary) |
void |
getBinary(BytePointer binary)
\brief Query device-specific program binary.
|
Pointer |
getImpl() |
BytePointer |
getPrefix()
Deprecated.
|
static BytePointer |
getPrefix(BytePointer buildflags)
Deprecated.
|
static String |
getPrefix(String buildflags)
Deprecated.
|
Program |
position(long position) |
Pointer |
ptr() |
Program |
put(Program prog) |
boolean |
read(BytePointer buf,
BytePointer buildflags)
Deprecated.
|
boolean |
read(String buf,
String buildflags)
Deprecated.
|
ProgramSource |
source()
Deprecated.
|
boolean |
write(BytePointer buf)
Deprecated.
|
boolean |
write(String buf)
Deprecated.
|
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 Program(Pointer p)
Pointer.Pointer(Pointer)
.public Program(long size)
Pointer.position(long)
.public Program()
public Program(@Const @ByRef ProgramSource src, @opencv_core.Str BytePointer buildflags, @opencv_core.Str BytePointer errmsg)
public Program(@Const @ByRef ProgramSource src, @opencv_core.Str String buildflags, @opencv_core.Str String errmsg)
@Cast(value="bool") public boolean create(@Const @ByRef ProgramSource src, @opencv_core.Str BytePointer buildflags, @opencv_core.Str BytePointer errmsg)
@Cast(value="bool") public boolean create(@Const @ByRef ProgramSource src, @opencv_core.Str String buildflags, @opencv_core.Str String errmsg)
public Pointer ptr()
public void getBinary(@Cast(value="char*") @StdVector BytePointer binary)
binary
- [out] output bufferProgramSource::fromBinary
public void getBinary(@Cast(value="char*") @StdVector ByteBuffer binary)
public void getBinary(@Cast(value="char*") @StdVector byte[] binary)
@Cast(value="bool") @Deprecated public boolean read(@opencv_core.Str BytePointer buf, @opencv_core.Str BytePointer buildflags)
@Cast(value="bool") @Deprecated public boolean read(@opencv_core.Str String buf, @opencv_core.Str String buildflags)
@Cast(value="bool") @Deprecated public boolean write(@opencv_core.Str BytePointer buf)
@Cast(value="bool") @Deprecated public boolean write(@opencv_core.Str String buf)
@Const @Deprecated @ByRef public ProgramSource source()
@Deprecated @opencv_core.Str public BytePointer getPrefix()
@Deprecated @opencv_core.Str public static BytePointer getPrefix(@opencv_core.Str BytePointer buildflags)
@Deprecated @opencv_core.Str public static String getPrefix(@opencv_core.Str String buildflags)
Copyright © 2020. All rights reserved.