HomeSort by relevance Sort by last modified time
    Searched refs:rsClamp (Results 1 - 9 of 9) sorted by null

  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
exposure.rs 29 out.r = rsClamp((int)(bright * in.r), 0, 255);
30 out.g = rsClamp((int)(bright * in.g), 0, 255);
31 out.b = rsClamp((int)(bright * in.b), 0, 255);
vibrance.rs 48 o.r = rsClamp(Rc, 0, 255);
49 o.g = rsClamp(Gc, 0, 255);
50 o.b = rsClamp(Bc, 0, 255);
bwfilter.rs 51 out->r = out->g = out->b = rsClamp(avg, 0, 255);
threshold.rs 88 int validH = rsClamp((int)y + r, (int)0, (int)(height - 1));
110 int validX = rsClamp((int)x + r, (int)0, (int)(width - 1));
  /frameworks/rs/driver/runtime/
rs_core.c 22 extern float __attribute__((overloadable)) rsClamp(float v, float l, float h) {
25 extern char __attribute__((overloadable)) rsClamp(char v, char l, char h) {
28 extern uchar __attribute__((overloadable)) rsClamp(uchar v, uchar l, uchar h) {
31 extern short __attribute__((overloadable)) rsClamp(short v, short l, short h) {
34 extern ushort __attribute__((overloadable)) rsClamp(ushort v, ushort l, ushort h) {
37 extern int __attribute__((overloadable)) rsClamp(int v, int l, int h) {
40 extern uint __attribute__((overloadable)) rsClamp(uint v, uint l, uint h) {
  /frameworks/rs/driver/runtime/arch/
generic.c 20 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short high);
642 p.r = rsClamp(p.r, (short)0, (short)255);
643 p.g = rsClamp(p.g, (short)0, (short)255);
644 p.b = rsClamp(p.b, (short)0, (short)255);
  /frameworks/rs/script_api/include/
rs_math.rsh     [all...]
  /prebuilts/sdk/renderscript/include/
rs_math.rsh     [all...]
  /frameworks/rs/script_api/
rs_math.spec     [all...]

Completed in 251 milliseconds