Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp260 int validX = rsMax((x + r), 0); in OneHU4() local
261 validX = rsMin(validX, (int)(info->dim.x - 1)); in OneHU4()
262 float4 pf = ptrIn[validX]; in OneHU4()
275 int validX = rsMax((x + r), 0); in OneHU1() local
276 validX = rsMin(validX, (int)(info->dim.x - 1)); in OneHU1()
277 float pf = ptrIn[validX]; in OneHU1()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript110 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
111 half4 i = rsGetElementAt_half4(ScratchPixel1, validX, y);
Dthreshold.rscript110 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rscript110 int validX = rsClamp((int)x + r, (int)0, (int)(width - 1));
111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rscript110 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);