Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFormatConvert.cpp36 static inline float clamp(float v, float min, float max) { in clamp() function
53 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()