Mali OpenCL SDK v1.1.0
 All Classes Files Functions Variables Macros Pages
image_scaling.cl File Reference

Go to the source code of this file.

Functions

__kernel void image_scaling (__read_only image2d_t sourceImage, __write_only image2d_t destinationImage, const float widthNormalizationFactor, const float heightNormalizationFactor)
 Image scaling kernel function.
 

Variables

const sampler_t sampler = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_CLAMP | CLK_FILTER_LINEAR
 

Function Documentation

__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]sourceImageInput image object.
[out]destinationImageRe-sized output image object.
[in]widthNormalizationFactor1 / destinationImage width.
[in]heightNormalizationFactor1 / destinationImage height.

Definition at line 22 of file image_scaling.cl.

Variable Documentation

const sampler_t sampler = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_CLAMP | CLK_FILTER_LINEAR

Definition at line 12 of file image_scaling.cl.