Go to the source code of this file.
|
#define | FW_SCALE 0.00390625f |
|
#define | FW_UL (30.0f * FW_SCALE) |
|
#define | FW_UM (5.0f * FW_SCALE) |
|
#define | FW_UR (6.0f * FW_SCALE) |
|
#define | FW_CL (19.0f * FW_SCALE) |
|
#define | FW_CM (30.0f * FW_SCALE) |
|
#define | FW_CR (9.0f * FW_SCALE) |
|
#define | FW_BL (15.0f * FW_SCALE) |
|
#define | FW_BM (5.0f * FW_SCALE) |
|
#define | FW_BR (40.0f * FW_SCALE) |
|
|
__kernel void | fir_float (__global const float *restrict input, __global float *restrict output, const int width) |
| FIR filter kernel function.
|
|
#define FW_BL (15.0f * FW_SCALE) |
#define FW_BM (5.0f * FW_SCALE) |
#define FW_BR (40.0f * FW_SCALE) |
#define FW_CL (19.0f * FW_SCALE) |
#define FW_CM (30.0f * FW_SCALE) |
#define FW_CR (9.0f * FW_SCALE) |
#define FW_SCALE 0.00390625f |
#define FW_UL (30.0f * FW_SCALE) |
#define FW_UM (5.0f * FW_SCALE) |
#define FW_UR (6.0f * FW_SCALE) |
__kernel void fir_float |
( |
__global const float *restrict |
input, |
|
|
__global float *restrict |
output, |
|
|
const int |
width |
|
) |
| |
FIR filter kernel function.
- Parameters
-
[in] | input | Input image data in row-major format. |
[in] | width | Width of the image passed in as input. |
[out] | output | Output image after FIR has been applied. Resulting image depends on the coefficients used. |
Definition at line 29 of file fir_float.cl.