Searched refs:PVRT_CLAMP (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTVertex.cpp | 278 v[i] = PVRT_CLAMP(v[i], -511, 511); in PVRTVertexWrite() 297 v[i] = (unsigned char)PVRT_CLAMP(pData[i] * 255.0f, 0.0f, 255.0f); in PVRTVertexWrite() 311 v[i] = (unsigned char)PVRT_CLAMP(pData[i] * 255.0f, 0.0f, 255.0f); in PVRTVertexWrite() 325 v[i] = (unsigned char)PVRT_CLAMP(pData[i] * 255.0f, 0.0f, 255.0f); in PVRTVertexWrite() 339 v[i] = (unsigned char)PVRT_CLAMP(pData[i], 0.0f, 255.0f); in PVRTVertexWrite()
|
D | PVRTGlobal.h | 16 #define PVRT_CLAMP(x, l, h) (PVRT_MIN((h), PVRT_MAX((x), (l)))) macro
|