Searched refs:RGB_RANGE_MIN (Results 1 – 1 of 1) sorted by relevance
128 RGB_RANGE_MIN = -227, RGB_RANGE_MAX = 256 + 226 }; enumerator133 static uint8_t kClip[RGB_RANGE_MAX - RGB_RANGE_MIN];143 for (i = RGB_RANGE_MIN; i < RGB_RANGE_MAX; ++i) { in InitTables()145 kClip[i - RGB_RANGE_MIN] = (j < 0) ? 0 : (j > 255) ? 255 : j; in InitTables()155 const int r = kClip[y + r_off - RGB_RANGE_MIN]; in ToRGB()156 const int g = kClip[y + g_off - RGB_RANGE_MIN]; in ToRGB()157 const int b = kClip[y + b_off - RGB_RANGE_MIN]; in ToRGB()
Completed in 6 milliseconds