Searched refs:SFIX (Results 1 – 1 of 1) sorted by relevance
163 #define SFIX 2 // fixed-point precision of RGB and Y/W macro167 #define SHALF (1 << SFIX >> 1)168 #define MAX_Y_T ((256 << SFIX) - 1)169 #define SROUNDER (1 << (YUV_FIX + SFIX - 1))310 return ((fixed_y_t)a << SFIX) | SHALF; in UpLift()371 return clip_8b(16 + (luma >> (YUV_FIX + SFIX))); in ConvertRGBToY()376 return clip_8b(128 + (u >> (YUV_FIX + SFIX))); in ConvertRGBToU()381 return clip_8b(128 + (v >> (YUV_FIX + SFIX))); in ConvertRGBToV()