Home
last modified time | relevance | path

Searched refs:rsClamp (Results 1 – 8 of 8) sorted by relevance

/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_core.c193 extern uint __attribute__((overloadable, always_inline)) rsClamp(uint amount, uint low, uint high) { in rsClamp() function
196 extern int __attribute__((overloadable, always_inline)) rsClamp(int amount, int low, int high) { in rsClamp() function
199 extern ushort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushor… in rsClamp() function
202 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short hi… in rsClamp() function
205 extern uchar __attribute__((overloadable, always_inline)) rsClamp(uchar amount, uchar low, uchar hi… in rsClamp() function
208 extern char __attribute__((overloadable, always_inline)) rsClamp(char amount, char low, char high) { in rsClamp() function
/frameworks/rs/scriptc/
Drs_math.rsh67 _RS_RUNTIME uint __attribute__((overloadable, always_inline)) rsClamp(uint amount, uint low, uint h…
72 _RS_RUNTIME int __attribute__((overloadable, always_inline)) rsClamp(int amount, int low, int high);
76 _RS_RUNTIME ushort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, …
80 _RS_RUNTIME short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, sho…
84 _RS_RUNTIME uchar __attribute__((overloadable, always_inline)) rsClamp(uchar amount, uchar low, uch…
88 _RS_RUNTIME char __attribute__((overloadable, always_inline)) rsClamp(char amount, char low, char h…
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
Dhorizontal_blur.rs19 int validX = rsClamp((int)x + r, (int)0, (int)(fs->width - 1));
Dvertical_blur.rs71 int validH = rsClamp((int)y + r, (int)0, (int)(fs->height - 1));
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
Dmath.rs349 TEST_I_FUNC_I_I_I(rsClamp);
Dmath.rs.bak335 TEST_I_FUNC_I_I_I(rsClamp);
Dmath.rs.orig349 TEST_I_FUNC_I_I_I(rsClamp);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dmath.rs349 TEST_I_FUNC_I_I_I(rsClamp);