Searched refs:rsClamp (Results 1 - 8 of 8) sorted by relevance
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | 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);
|
H A D | vibrance.rs | 48 o.r = rsClamp(Rc, 0, 255); 49 o.g = rsClamp(Gc, 0, 255); 50 o.b = rsClamp(Bc, 0, 255);
|
H A D | bwfilter.rs | 51 out->r = out->g = out->b = rsClamp(avg, 0, 255);
|
H A D | 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/ |
H A D | rs_core.c | 22 extern float __attribute__((overloadable)) rsClamp(float v, float l, float h) { function 25 extern char __attribute__((overloadable)) rsClamp(char v, char l, char h) { function 28 extern uchar __attribute__((overloadable)) rsClamp(uchar v, uchar l, uchar h) { function 31 extern short __attribute__((overloadable)) rsClamp(short v, short l, short h) { function 34 extern ushort __attribute__((overloadable)) rsClamp(ushort v, ushort l, ushort h) { function 37 extern int __attribute__((overloadable)) rsClamp(int v, int l, int h) { function 40 extern uint __attribute__((overloadable)) rsClamp(uint v, uint l, uint h) { function
|
/frameworks/rs/driver/runtime/arch/ |
H A D | 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/scriptc/ |
H A D | rs_math.rsh | 6466 * rsClamp: Restrain a value to a range 6482 rsClamp(char amount, char low, char high); 6489 rsClamp(uchar amount, uchar low, uchar high); 6496 rsClamp(short amount, short low, short high); 6503 rsClamp(ushort amount, ushort low, ushort high); 6510 rsClamp(int amount, int low, int high); 6517 rsClamp(uint amount, uint low, uint high);
|
/frameworks/rs/api/ |
H A D | rs_math.spec | 3357 function: rsClamp
|
Completed in 1350 milliseconds