Searched refs:COLOR_MAX (Results 1 – 1 of 1) sorted by relevance
520 final int COLOR_MAX = 255; in yuvToRgb() local532 rgbOut[outOffset] = (byte) Math.max(0, Math.min(COLOR_MAX, r)); in yuvToRgb()533 rgbOut[outOffset + 1] = (byte) Math.max(0, Math.min(COLOR_MAX, g)); in yuvToRgb()534 rgbOut[outOffset + 2] = (byte) Math.max(0, Math.min(COLOR_MAX, b)); in yuvToRgb()