Function or value | Description |
Full Usage:
applyFilter clContext localWorkSize
Parameters:
ClContext
-
The representation of OpenCL context
localWorkSize : int
-
The size of the local work group
Returns: float32[,] -> MyImage -> MyImage
A function that takes a filter kernel and an image, and asynchronously applies the filter to the image using GPU
|
|
Full Usage:
applyFilterGPUKernel clContext localWorkSize
Parameters:
ClContext
-
The representation of OpenCL context
localWorkSize : int
-
The size of the local work group
Returns: MailboxProcessor<Msg> -> ClArray<float32> -> int -> ClArray<byte> -> int -> int -> ClArray<byte> -> ClArray<byte>
A function that takes a command queue, filter parameters, image data, and result array as inputs
and asynchronously applies the filter kernel to the image using the GPU.
The resulting image data is stored in the result array
|
|
Full Usage:
flip clContext localWorkSize
Parameters:
ClContext
-
The representation of OpenCL context
localWorkSize : int
-
The size of the local work group
Returns: bool -> MyImage -> MyImage
A function that takes a boolean value indicating the flip direction,
and an image, and asynchronously flips the image using the GPU
|
|
Full Usage:
flipGPUKernel clContext localWorkSize
Parameters:
ClContext
-
The representation of OpenCL context
localWorkSize : int
-
The size of the local work group
Returns: MailboxProcessor<Msg> -> ClCell<int> -> ClArray<byte> -> int -> int -> ClArray<byte> -> ClArray<byte>
A function that takes a command queue, flip parameter, image data, and result array as inputs
and asynchronously flips the image using the GPU.
The resulting image data is stored in the result array
|
|
Full Usage:
rotate clContext localWorkSize
Parameters:
ClContext
-
The representation of OpenCL context
localWorkSize : int
-
The size of the local work group
Returns: bool -> MyImage -> MyImage
A function that takes a boolean value indicating the rotation direction,
and an image, and asynchronously rotates the image using the GPU
|
|
Full Usage:
rotateGPUKernel clContext localWorkSize
Parameters:
ClContext
-
The representation of OpenCL context
localWorkSize : int
-
The size of the local work group
Returns: MailboxProcessor<Msg> -> ClCell<int> -> ClArray<byte> -> int -> int -> ClArray<byte> -> ClArray<byte>
A function that takes a command queue, rotation parameter, image data, and result array as inputs
and asynchronously rotates the image using the GPU.
The resulting image data is stored in the result array
|
|