Searched refs:CLAMP_FLOAT (Results 1 – 1 of 1) sorted by relevance
1370 #define CLAMP_FLOAT( v ) ( fmaxf( fminf( v, 1.f ), -1.f ) ) macro1432 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()