public class JavaCVCL extends Object
Modifier and Type | Field and Description |
---|---|
static String |
fastCompilerOptions |
Constructor and Description |
---|
JavaCVCL() |
JavaCVCL(boolean createPbuffer) |
JavaCVCL(CLContext context) |
JavaCVCL(CLContext context,
CLDevice device) |
JavaCVCL(GLCapabilitiesImmutable caps,
GLContext shareWith,
CLDevice device) |
JavaCVCL(GLContext shareWith) |
Modifier and Type | Method and Description |
---|---|
void |
acquireGLObject(CLObject object) |
static int |
alignCeil(int x,
int n) |
static int |
alignFloor(int x,
int n) |
CLKernel |
buildKernel(String resourceNames,
String kernelName) |
CLKernel |
buildKernel(String compilerOptions,
String resourceNames,
String kernelName) |
CLKernel[] |
buildKernels(String compilerOptions,
Class resourceClass,
String resourceNames,
String... kernelNames) |
CLKernel[] |
buildKernels(String compilerOptions,
String resourceNames,
String... kernelNames) |
CLGLImage2d |
createCLGLImageFrom(IplImage image,
CLMemory.Mem... flags) |
CLImage2d |
createCLImageFrom(IplImage image,
CLMemory.Mem... flags) |
IplImage |
createIplImageFrom(CLImage2d image) |
CLBuffer |
createPinnedBuffer(int size) |
IplImage |
createPinnedIplImage(int width,
int height,
int depth,
int channels) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkSizeX,
long localWorkSizeX) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkSizeX,
long localWorkSizeX,
CLEventList events) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkSizeX,
long localWorkSizeX,
CLEventList condition,
CLEventList events) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkOffsetY,
long globalWorkSizeX,
long globalWorkSizeY,
long localWorkSizeX,
long localWorkSizeY) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkOffsetY,
long globalWorkSizeX,
long globalWorkSizeY,
long localWorkSizeX,
long localWorkSizeY,
CLEventList events) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkOffsetY,
long globalWorkSizeX,
long globalWorkSizeY,
long localWorkSizeX,
long localWorkSizeY,
CLEventList condition,
CLEventList events) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkOffsetY,
long globalWorkOffsetZ,
long globalWorkSizeX,
long globalWorkSizeY,
long globalWorkSizeZ,
long localWorkSizeX,
long localWorkSizeY,
long localWorkSizeZ) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkOffsetY,
long globalWorkOffsetZ,
long globalWorkSizeX,
long globalWorkSizeY,
long globalWorkSizeZ,
long localWorkSizeX,
long localWorkSizeY,
long localWorkSizeZ,
CLEventList events) |
void |
executeKernel(CLKernel kernel,
long globalWorkOffsetX,
long globalWorkOffsetY,
long globalWorkOffsetZ,
long globalWorkSizeX,
long globalWorkSizeY,
long globalWorkSizeZ,
long localWorkSizeX,
long localWorkSizeY,
long localWorkSizeZ,
CLEventList condition,
CLEventList events) |
protected void |
finalize() |
void |
finish() |
void |
flush() |
CLCommandQueue |
getCLCommandQueue() |
CLContext |
getCLContext() |
CLGLContext |
getCLGLContext() |
static GLCapabilities |
getDefaultGLCapabilities(GLProfile profile) |
GL |
getGL() |
GL2 |
getGL2() |
GLContext |
getGLContext() |
GLU |
getGLU() |
static void |
main(String[] args) |
void |
pyrDown(CLImage2d srcImg,
CLImage2d dstImg) |
void |
readBuffer(CLBuffer<?> buffer,
boolean blocking) |
IplImage |
readImage(CLImage2d clImg,
IplImage iplImage,
boolean blocking) |
void |
release() |
void |
releaseCLGLImage(CLGLImage2d image) |
void |
releaseGLObject(CLObject object) |
void |
remap(CLImage2d srcImg,
CLImage2d dstImg,
CLImage2d mapxImg,
CLImage2d mapyImg) |
void |
remap(CLImage2d srcImg,
CLImage2d dstImg,
CLImage2d mapxImg,
CLImage2d mapyImg,
long sensorPattern) |
void |
writeBuffer(CLBuffer<?> buffer,
boolean blocking) |
CLImage2d |
writeImage(CLImage2d clImg,
IplImage iplImage,
boolean blocking) |
public static final String fastCompilerOptions
public JavaCVCL(CLContext context)
public JavaCVCL()
public JavaCVCL(boolean createPbuffer)
public JavaCVCL(GLContext shareWith)
public JavaCVCL(GLCapabilitiesImmutable caps, GLContext shareWith, CLDevice device)
public static GLCapabilities getDefaultGLCapabilities(GLProfile profile)
public void release()
protected void finalize() throws Throwable
public CLContext getCLContext()
public CLCommandQueue getCLCommandQueue()
public CLGLContext getCLGLContext()
public GLContext getGLContext()
public GL getGL()
public GL2 getGL2()
public GLU getGLU()
public CLKernel buildKernel(String compilerOptions, String resourceNames, String kernelName)
public CLKernel[] buildKernels(String compilerOptions, String resourceNames, String... kernelNames)
public CLKernel[] buildKernels(String compilerOptions, Class resourceClass, String resourceNames, String... kernelNames)
public CLImage2d createCLImageFrom(IplImage image, CLMemory.Mem... flags)
public CLGLImage2d createCLGLImageFrom(IplImage image, CLMemory.Mem... flags)
public void releaseCLGLImage(CLGLImage2d image)
public CLBuffer createPinnedBuffer(int size)
public IplImage createPinnedIplImage(int width, int height, int depth, int channels)
public void acquireGLObject(CLObject object)
public void releaseGLObject(CLObject object)
public void readBuffer(CLBuffer<?> buffer, boolean blocking)
public void writeBuffer(CLBuffer<?> buffer, boolean blocking)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkSizeX, long localWorkSizeX)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkSizeX, long localWorkSizeX, CLEventList events)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkSizeX, long localWorkSizeX, CLEventList condition, CLEventList events)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkSizeX, long globalWorkSizeY, long localWorkSizeX, long localWorkSizeY)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkSizeX, long globalWorkSizeY, long localWorkSizeX, long localWorkSizeY, CLEventList events)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkSizeX, long globalWorkSizeY, long localWorkSizeX, long localWorkSizeY, CLEventList condition, CLEventList events)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkOffsetZ, long globalWorkSizeX, long globalWorkSizeY, long globalWorkSizeZ, long localWorkSizeX, long localWorkSizeY, long localWorkSizeZ)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkOffsetZ, long globalWorkSizeX, long globalWorkSizeY, long globalWorkSizeZ, long localWorkSizeX, long localWorkSizeY, long localWorkSizeZ, CLEventList events)
public void executeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkOffsetZ, long globalWorkSizeX, long globalWorkSizeY, long globalWorkSizeZ, long localWorkSizeX, long localWorkSizeY, long localWorkSizeZ, CLEventList condition, CLEventList events)
public void finish()
public void flush()
public static int alignCeil(int x, int n)
public static int alignFloor(int x, int n)
public void remap(CLImage2d srcImg, CLImage2d dstImg, CLImage2d mapxImg, CLImage2d mapyImg, long sensorPattern)
public static void main(String[] args)
Copyright © 2024. All rights reserved.