Searched refs:startx (Results 1 – 4 of 4) sorted by relevance
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 103 int startx = (int) floor(xf - 1); in OneBiCubic() local 106 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 107 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 108 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic() 109 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic() 138 int startx = (int) floor(xf - 1); in OneBiCubic() local 141 int xs0 = rsMax(0, startx + 0); in OneBiCubic() 142 int xs1 = rsMax(0, startx + 1); in OneBiCubic() 143 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic() 144 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | resize.rscript | 47 int startx = (int) floor(xf - 1); 54 uint32_t xs0 = (uint32_t) max(0, startx + 0); 55 uint32_t xs1 = (uint32_t) max(0, startx + 1); 56 uint32_t xs2 = (uint32_t) min(maxx, startx + 2); 57 uint32_t xs3 = (uint32_t) min(maxx, startx + 3);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | resize.rscript | 47 int startx = (int) floor(xf - 1); 54 uint32_t xs0 = (uint32_t) clamp(startx + 0, 0, maxx); 55 uint32_t xs1 = (uint32_t) clamp(startx + 1, 0, maxx); 56 uint32_t xs2 = (uint32_t) clamp(startx + 2, 0, maxx); 57 uint32_t xs3 = (uint32_t) clamp(startx + 3, 0, maxx);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | resize.rscript | 47 int startx = (int) floor(xf - 1); 54 uint32_t xs0 = (uint32_t) max(0, startx + 0); 55 uint32_t xs1 = (uint32_t) max(0, startx + 1); 56 uint32_t xs2 = (uint32_t) min(maxx, startx + 2); 57 uint32_t xs3 = (uint32_t) min(maxx, startx + 3);
|