Home
last modified time | relevance | path

Searched refs:validX (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp255 int validX = rsMax((x + r), 0); in OneHU4() local
256 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU4()
257 float4 pf = ptrIn[validX]; in OneHU4()
270 int validX = rsMax((x + r), 0); in OneHU1() local
271 validX = rsMin(validX, (int)(p->dimX - 1)); in OneHU1()
272 float pf = ptrIn[validX]; in OneHU1()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold.rs110 int validX = rsClamp((int)x + r, (int)0, (int)(width - 1));
111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dthreshold.rs110 int validX = rsClamp((int)x + r, (int)0, (int)(width - 1));
111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dthreshold.fs110 int validX = rsClamp((int)x + r, (int)0, (int)(width - 1));
111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);