Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp88 int startx = (int) floor(xf - 1); in OneBiCubic() local
91 int xs0 = rsMax(0, startx + 0); in OneBiCubic()
92 int xs1 = rsMax(0, startx + 1); in OneBiCubic()
93 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
94 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
123 int startx = (int) floor(xf - 1); in OneBiCubic() local
126 int xs0 = rsMax(0, startx + 0); in OneBiCubic()
127 int xs1 = rsMax(0, startx + 1); in OneBiCubic()
128 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic()
129 int xs3 = rsMin(maxx, startx + 3); in OneBiCubic()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rs47 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/
Dresize.rs47 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/
Dresize.rs47 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);