Searched refs:clamp (Results 1 – 1 of 1) sorted by relevance
36 static inline float clamp(float v, float min, float max) { in clamp() function53 unsigned char R = (unsigned char)clamp(Rf, 0.0f, 255.0f); in yuvToRgbx()54 unsigned char G = (unsigned char)clamp(Gf, 0.0f, 255.0f); in yuvToRgbx()55 unsigned char B = (unsigned char)clamp(Bf, 0.0f, 255.0f); in yuvToRgbx()