@Namespace(value="cv::ocl")
@NoOffset
public static class opencv_core.Context
extends org.bytedeco.javacpp.Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_core.Context.Impl |
| Constructor and Description |
|---|
Context() |
Context(int dtype) |
Context(long size)
Native array allocator.
|
Context(opencv_core.Context c) |
Context(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
create() |
boolean |
create(int dtype) |
opencv_core.Device |
device(long idx) |
static opencv_core.Context |
getDefault() |
static opencv_core.Context |
getDefault(boolean initialize) |
opencv_core.Context.Impl |
getImpl() |
opencv_core.Program |
getProg(opencv_core.ProgramSource prog,
org.bytedeco.javacpp.BytePointer buildopt,
org.bytedeco.javacpp.BytePointer errmsg) |
opencv_core.Program |
getProg(opencv_core.ProgramSource prog,
String buildopt,
String errmsg) |
long |
ndevices() |
opencv_core.Context.Impl |
p() |
opencv_core.Context |
p(opencv_core.Context.Impl p) |
opencv_core.Context |
position(long position) |
org.bytedeco.javacpp.Pointer |
ptr() |
opencv_core.Context |
put(opencv_core.Context c) |
void |
setUseSVM(boolean enabled) |
void |
unloadProg(opencv_core.Program prog) |
boolean |
useSVM() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Context(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public Context(long size)
Pointer.position(long).public Context()
public Context(int dtype)
public Context(@Const @ByRef
opencv_core.Context c)
public opencv_core.Context position(long position)
position in class org.bytedeco.javacpp.Pointer@ByRef @Name(value="operator =") public opencv_core.Context put(@Const @ByRef opencv_core.Context c)
@Cast(value="bool") public boolean create()
@Cast(value="bool") public boolean create(int dtype)
@Cast(value="size_t") public long ndevices()
@Const @ByRef public opencv_core.Device device(@Cast(value="size_t") long idx)
@ByVal public opencv_core.Program getProg(@Const @ByRef opencv_core.ProgramSource prog, @opencv_core.Str org.bytedeco.javacpp.BytePointer buildopt, @opencv_core.Str org.bytedeco.javacpp.BytePointer errmsg)
@ByVal public opencv_core.Program getProg(@Const @ByRef opencv_core.ProgramSource prog, @opencv_core.Str String buildopt, @opencv_core.Str String errmsg)
public void unloadProg(@ByRef
opencv_core.Program prog)
@ByRef public static opencv_core.Context getDefault(@Cast(value="bool") boolean initialize)
@ByRef public static opencv_core.Context getDefault()
public org.bytedeco.javacpp.Pointer ptr()
@Cast(value="bool") public boolean useSVM()
public void setUseSVM(@Cast(value="bool")
boolean enabled)
public opencv_core.Context.Impl getImpl()
public opencv_core.Context.Impl p()
public opencv_core.Context p(opencv_core.Context.Impl p)
Copyright © 2018. All rights reserved.