Home
last modified time | relevance | path

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

/external/libkmsxx/kms++util/src/
Dcolor.cpp67 #define CF_ONE (256) macro
68 #define CF(a, b, c) { ((int) ((a) * CF_ONE)), ((int) ((b) * CF_ONE)), ((int) ((c) * CF_ONE)) }
69 #define CLAMP(a) ((a) > (CF_ONE-1) ? (CF_ONE-1) : (a) < 0 ? 0 : (a))
116 YUVcoef[tidx][0][2] * b + CF_ONE/2) / CF_ONE) + in MAKE_YUV_Y()
126 YUVcoef[tidx][1][2] * b + CF_ONE/2) / CF_ONE) + in MAKE_YUV_U()
136 YUVcoef[tidx][2][2] * b + CF_ONE/2) / CF_ONE) + in MAKE_YUV_V()