OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rsClamp
(Results
1 - 20
of
20
) sorted by null
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
exposure.rs
27
out->r =
rsClamp
((int)(bright * in->r), 0, 255);
28
out->g =
rsClamp
((int)(bright * in->g), 0, 255);
29
out->b =
rsClamp
((int)(bright * in->b), 0, 255);
contrast.rs
30
out->r =
rsClamp
((int)(brightM * in->r + brightC), 0, 255);
31
out->g =
rsClamp
((int)(brightM * in->g + brightC), 0, 255);
32
out->b =
rsClamp
((int)(brightM * in->b + brightC), 0, 255);
vibrance.rs
55
out->r =
rsClamp
(Rc, 0, 255);
56
out->g =
rsClamp
(Gc, 0, 255);
57
out->b =
rsClamp
(Bc, 0, 255);
bwfilter.rs
51
out->r = out->g = out->b =
rsClamp
(avg, 0, 255);
threshold.fs
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/java/tests/ImageProcessing_jb/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
49
o.r =
rsClamp
(Rc, 0, 255);
50
o.g =
rsClamp
(Gc, 0, 255);
51
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/java/tests/ImageProcessing/src/com/android/rs/image/
vibrance.rs
49
o.r =
rsClamp
(Rc, 0, 255);
50
o.g =
rsClamp
(Gc, 0, 255);
51
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
15
extern float __attribute__((overloadable))
rsClamp
(float v, float l, float h) {
18
extern char __attribute__((overloadable))
rsClamp
(char v, char l, char h) {
21
extern uchar __attribute__((overloadable))
rsClamp
(uchar v, uchar l, uchar h) {
24
extern short __attribute__((overloadable))
rsClamp
(short v, short l, short h) {
27
extern ushort __attribute__((overloadable))
rsClamp
(ushort v, ushort l, ushort h) {
30
extern int __attribute__((overloadable))
rsClamp
(int v, int l, int h) {
33
extern uint __attribute__((overloadable))
rsClamp
(uint v, uint l, uint h) {
/frameworks/rs/scriptc/
rs_math.rsh
67
_RS_RUNTIME uint __attribute__((const, overloadable, always_inline))
rsClamp
(uint amount, uint low, uint high);
72
_RS_RUNTIME int __attribute__((const, overloadable, always_inline))
rsClamp
(int amount, int low, int high);
76
_RS_RUNTIME ushort __attribute__((const, overloadable, always_inline))
rsClamp
(ushort amount, ushort low, ushort high);
80
_RS_RUNTIME short __attribute__((const, overloadable, always_inline))
rsClamp
(short amount, short low, short high);
84
_RS_RUNTIME uchar __attribute__((const, overloadable, always_inline))
rsClamp
(uchar amount, uchar low, uchar high);
88
_RS_RUNTIME char __attribute__((const, overloadable, always_inline))
rsClamp
(char amount, char low, char high);
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/
rs_math.rsh
67
_RS_RUNTIME uint __attribute__((const, overloadable, always_inline))
rsClamp
(uint amount, uint low, uint high);
72
_RS_RUNTIME int __attribute__((const, overloadable, always_inline))
rsClamp
(int amount, int low, int high);
76
_RS_RUNTIME ushort __attribute__((const, overloadable, always_inline))
rsClamp
(ushort amount, ushort low, ushort high);
80
_RS_RUNTIME short __attribute__((const, overloadable, always_inline))
rsClamp
(short amount, short low, short high);
84
_RS_RUNTIME uchar __attribute__((const, overloadable, always_inline))
rsClamp
(uchar amount, uchar low, uchar high);
88
_RS_RUNTIME char __attribute__((const, overloadable, always_inline))
rsClamp
(char amount, char low, char high);
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/
rs_math.rsh
67
_RS_RUNTIME uint __attribute__((const, overloadable, always_inline))
rsClamp
(uint amount, uint low, uint high);
72
_RS_RUNTIME int __attribute__((const, overloadable, always_inline))
rsClamp
(int amount, int low, int high);
76
_RS_RUNTIME ushort __attribute__((const, overloadable, always_inline))
rsClamp
(ushort amount, ushort low, ushort high);
80
_RS_RUNTIME short __attribute__((const, overloadable, always_inline))
rsClamp
(short amount, short low, short high);
84
_RS_RUNTIME uchar __attribute__((const, overloadable, always_inline))
rsClamp
(uchar amount, uchar low, uchar high);
88
_RS_RUNTIME char __attribute__((const, overloadable, always_inline))
rsClamp
(char amount, char low, char high);
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/
rs_math.rsh
67
_RS_RUNTIME uint __attribute__((const, overloadable, always_inline))
rsClamp
(uint amount, uint low, uint high);
72
_RS_RUNTIME int __attribute__((const, overloadable, always_inline))
rsClamp
(int amount, int low, int high);
76
_RS_RUNTIME ushort __attribute__((const, overloadable, always_inline))
rsClamp
(ushort amount, ushort low, ushort high);
80
_RS_RUNTIME short __attribute__((const, overloadable, always_inline))
rsClamp
(short amount, short low, short high);
84
_RS_RUNTIME uchar __attribute__((const, overloadable, always_inline))
rsClamp
(uchar amount, uchar low, uchar high);
88
_RS_RUNTIME char __attribute__((const, overloadable, always_inline))
rsClamp
(char amount, char low, char high);
/prebuilts/sdk/renderscript/include/
rs_math.rsh
67
_RS_RUNTIME uint __attribute__((const, overloadable, always_inline))
rsClamp
(uint amount, uint low, uint high);
72
_RS_RUNTIME int __attribute__((const, overloadable, always_inline))
rsClamp
(int amount, int low, int high);
76
_RS_RUNTIME ushort __attribute__((const, overloadable, always_inline))
rsClamp
(ushort amount, ushort low, ushort high);
80
_RS_RUNTIME short __attribute__((const, overloadable, always_inline))
rsClamp
(short amount, short low, short high);
84
_RS_RUNTIME uchar __attribute__((const, overloadable, always_inline))
rsClamp
(uchar amount, uchar low, uchar high);
88
_RS_RUNTIME char __attribute__((const, overloadable, always_inline))
rsClamp
(char amount, char low, char high);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
intrinsic_blur.rs
77
int validH =
rsClamp
((int)y + r, (int)0, (int)(height - 1));
89
int validX =
rsClamp
((int)x + r, (int)0, (int)(width - 1));
/frameworks/rs/driver/runtime/arch/
generic.c
20
extern short __attribute__((overloadable, always_inline))
rsClamp
(short amount, short low, short high);
638
p.r =
rsClamp
(p.r, (short)0, (short)255);
639
p.g =
rsClamp
(p.g, (short)0, (short)255);
640
p.b =
rsClamp
(p.b, (short)0, (short)255);
Completed in 417 milliseconds