Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_common/harness/
DimageHelpers.h67 #define NORMALIZE_SIGNED_UNROUNDED( v, min, max ) ( v < -1.0f ? min : ( v > 1.f ? max : v * max ) ) macro
DimageHelpers.cpp2809 errors[i] = ptr[i] - NORMALIZE_SIGNED_UNROUNDED( srcVector[ i ], -127.0f, 127.f ); in pack_image_pixel_error()
2818 … errors[i] = ptr[i] - NORMALIZE_SIGNED_UNROUNDED( srcVector[ i ], -32767.f, 32767.f ); in pack_image_pixel_error()
2920 …errors[i] = ptr[i] - NORMALIZE_SIGNED_UNROUNDED( ((int) srcVector[ i ] - 16384), -16384.f, 49151.f… in pack_image_pixel_error()