Home
last modified time | relevance | path

Searched refs:NORMALIZE_SIGNED (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_common/harness/
DimageHelpers.h66 #define NORMALIZE_SIGNED( v, min, max ) ( v < -1.0f ? min : ( v > 1.f ? max : round_to_even( v * m… macro
DimageHelpers.cpp2646 ptr[ i ] = (cl_char)NORMALIZE_SIGNED( srcVector[ i ], -127.0f, 127.f ); in pack_image_pixel()
2653 ptr[ i ] = (short)NORMALIZE_SIGNED( srcVector[ i ], -32767.f, 32767.f ); in pack_image_pixel()