@Namespace(value="cv::ocl") @NoOffset @Properties(inherit=opencv_core.class) public class Context extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
Context.Impl |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Context() |
Context(Context c) |
Context(int dtype) |
Context(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
create() |
boolean |
create(int dtype) |
Device |
device(long idx) |
static Context |
getDefault() |
static Context |
getDefault(boolean initialize) |
Context.Impl |
getImpl() |
Program |
getProg(ProgramSource prog,
BytePointer buildopt,
BytePointer errmsg) |
Program |
getProg(ProgramSource prog,
String buildopt,
String errmsg) |
long |
ndevices() |
Context.Impl |
p() |
Context |
p(Context.Impl setter) |
Pointer |
ptr() |
Context |
put(Context c) |
void |
setUseSVM(boolean enabled) |
void |
unloadProg(Program prog) |
boolean |
useSVM() |
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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Context(Pointer p)
Pointer.Pointer(Pointer)
.public Context()
public Context(int dtype)
@ByVal public Program getProg(@Const @ByRef ProgramSource prog, @opencv_core.Str BytePointer buildopt, @opencv_core.Str BytePointer errmsg)
@ByVal public Program getProg(@Const @ByRef ProgramSource prog, @opencv_core.Str String buildopt, @opencv_core.Str String errmsg)
public Pointer ptr()
public Context.Impl getImpl()
public Context.Impl p()
public Context p(Context.Impl setter)
Copyright © 2020. All rights reserved.