Lines Matching defs:clamp
294 // CLAMP results to 0..255
1351 // take a -128..127 value and clamp it and convert to 0..255
1352 __forceinline static uint8 clamp(int x)
1460 o[0] = clamp((x0+t3) >> 17);
1461 o[7] = clamp((x0-t3) >> 17);
1462 o[1] = clamp((x1+t2) >> 17);
1463 o[6] = clamp((x1-t2) >> 17);
1464 o[2] = clamp((x2+t1) >> 17);
1465 o[5] = clamp((x2-t1) >> 17);
1466 o[3] = clamp((x3+t0) >> 17);
1467 o[4] = clamp((x3-t0) >> 17);