Searched refs:validH (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | Blur.cpp | 161 int validH = y + r; in vertical() local 163 if (validH < 0) { in vertical() 164 validH = 0; in vertical() 166 if (validH > height - 1) { in vertical() 167 validH = height - 1; in vertical() 170 const uint8_t *i = input + validH * width; in vertical()
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | threshold.rs | 88 int validH = rsClamp((int)y + r, (int)0, (int)(height - 1)); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | threshold.rs | 88 int validH = clamp((int)y + r, (int)0, (int)(height - 1)); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | threshold.rs | 88 int validH = clamp((int)y + r, (int)0, (int)(height - 1)); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
|