Home
last modified time | relevance | path

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

/external/libkmsxx/kms++util/src/
Dcolor.cpp71 const int YUVcoef[static_cast<unsigned>(YUVType::MAX)][3][3] = { variable
115 return CLAMP(((YUVcoef[tidx][0][0] * r + YUVcoef[tidx][0][1] * g + in MAKE_YUV_Y()
116 YUVcoef[tidx][0][2] * b + CF_ONE/2) / CF_ONE) + in MAKE_YUV_Y()
125 return CLAMP(((YUVcoef[tidx][1][0] * r + YUVcoef[tidx][1][1] * g + in MAKE_YUV_U()
126 YUVcoef[tidx][1][2] * b + CF_ONE/2) / CF_ONE) + in MAKE_YUV_U()
135 return CLAMP(((YUVcoef[tidx][2][0] * r + YUVcoef[tidx][2][1] * g + in MAKE_YUV_V()
136 YUVcoef[tidx][2][2] * b + CF_ONE/2) / CF_ONE) + in MAKE_YUV_V()