Go to the source code of this file.
|
__kernel void | image_scaling (__read_only image2d_t sourceImage, __write_only image2d_t destinationImage, const float widthNormalizationFactor, const float heightNormalizationFactor) |
| Image scaling kernel function.
|
|
|
const sampler_t | sampler = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_CLAMP | CLK_FILTER_LINEAR |
|
__kernel void image_scaling |
( |
__read_only image2d_t |
sourceImage, |
|
|
__write_only image2d_t |
destinationImage, |
|
|
const float |
widthNormalizationFactor, |
|
|
const float |
heightNormalizationFactor |
|
) |
| |
Image scaling kernel function.
- Parameters
-
[in] | sourceImage | Input image object. |
[out] | destinationImage | Re-sized output image object. |
[in] | widthNormalizationFactor | 1 / destinationImage width. |
[in] | heightNormalizationFactor | 1 / destinationImage height. |
Definition at line 22 of file image_scaling.cl.
const sampler_t sampler = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_CLAMP | CLK_FILTER_LINEAR |