Searched refs:validH (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DBlur.cpp161 int validH = y + r; local
163 if (validH < 0) {
164 validH = 0;
166 if (validH > height - 1) {
167 validH = height - 1;
170 const uint8_t *i = input + validH * width;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dthreshold.rs88 int validH = clamp((int)y + r, (int)0, (int)(height - 1));
89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dthreshold.rs88 int validH = rsClamp((int)y + r, (int)0, (int)(height - 1));
89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dthreshold.rs88 int validH = clamp((int)y + r, (int)0, (int)(height - 1));
89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
H A Dthreshold_half.rs88 int validH = clamp((int)y + r, (int)0, (int)(height - 1));
89 half4 i = rsGetElementAt_half4(ScratchPixel2, x, validH);

Completed in 855 milliseconds