21.02
|
#include "helpers.h"
Go to the source code of this file.
Macros | |
#define | CONVERT_OP_INT_STR(x, type, size) (convert_##type##size(x)) |
#define | CONVERT_OP_INT(x, type, size) CONVERT_OP_INT_STR(x, type, size) |
#define | MUL_OP(x, y, scale, type, size) CONVERT_OP_INT((x) * (y) >> scale, type, size) |
#define | CONVERT_RTE(x, type) (convert_##type##_rte((x))) |
#define | CONVERT_DOWN(x, type) CONVERT_RTE(x, type) |
#define CONVERT_DOWN | ( | x, | |
type | |||
) | CONVERT_RTE(x, type) |
Definition at line 36 of file pixelwise_mul_int.cl.
#define CONVERT_OP_INT | ( | x, | |
type, | |||
size | |||
) | CONVERT_OP_INT_STR(x, type, size) |
Definition at line 31 of file pixelwise_mul_int.cl.
Definition at line 29 of file pixelwise_mul_int.cl.
Definition at line 35 of file pixelwise_mul_int.cl.
#define MUL_OP | ( | x, | |
y, | |||
scale, | |||
type, | |||
size | |||
) | CONVERT_OP_INT((x) * (y) >> scale, type, size) |
Definition at line 33 of file pixelwise_mul_int.cl.