Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp1370 #define CLAMP_FLOAT( v ) ( fmaxf( fminf( v, 1.f ), -1.f ) ) macro
1432 tempData[ i ] = CLAMP_FLOAT( (float)dPtr[ i ] / 127.0f ); in read_image_pixel_float()
1468 tempData[ i ] = CLAMP_FLOAT( (float)dPtr[ i ] / 32767.0f ); in read_image_pixel_float()