/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
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);
|
D | vibrance.rs | 48 o.r = rsClamp(Rc, 0, 255); 49 o.g = rsClamp(Gc, 0, 255); 50 o.b = rsClamp(Bc, 0, 255);
|
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));
|
D | bwfilter.rs | 51 out->r = out->g = out->b = rsClamp(avg, 0, 255);
|
/frameworks/compile/slang/tests/P_warnings_deprecated/ |
D | stderr.txt.expect | 1 deprecated.rs:9:9: warning: 'rsClamp' is deprecated: Use clamp() instead. 2 ../../../../../frameworks/rs/scriptc/rs_math.rsh:6482:5: note: 'rsClamp' has been explicitly marked…
|
D | deprecated.rs | 9 out = rsClamp(in, (char) 1, (char) 4);
|
/frameworks/rs/driver/runtime/ |
D | rs_core.c | 22 extern float __attribute__((overloadable)) rsClamp(float v, float l, float h) { in rsClamp() function 25 extern char __attribute__((overloadable)) rsClamp(char v, char l, char h) { in rsClamp() function 28 extern uchar __attribute__((overloadable)) rsClamp(uchar v, uchar l, uchar h) { in rsClamp() function 31 extern short __attribute__((overloadable)) rsClamp(short v, short l, short h) { in rsClamp() function 34 extern ushort __attribute__((overloadable)) rsClamp(ushort v, ushort l, ushort h) { in rsClamp() function 37 extern int __attribute__((overloadable)) rsClamp(int v, int l, int h) { in rsClamp() function 40 extern uint __attribute__((overloadable)) rsClamp(uint v, uint l, uint h) { in rsClamp() function
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | balls.rs | 68 p.x = rsClamp(p.x, 0, (int)(gridDims.x-1)); 69 p.y = rsClamp(p.y, 0, (int)(gridDims.y-1));
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rs | 1194 ui = rsClamp(ui, ui, ui); 1195 i = rsClamp(i, i, i); 1196 us = rsClamp(us, us, us); 1197 s = rsClamp(s, s, s); 1198 uc = rsClamp(uc, uc, uc); 1199 c = rsClamp(c, c, c);
|
D | math.rs | 349 TEST_I_FUNC_I_I_I(rsClamp);
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 20 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short hi… 642 p.r = rsClamp(p.r, (short)0, (short)255); in rsYuvToRGBA_uchar4() 643 p.g = rsClamp(p.g, (short)0, (short)255); in rsYuvToRGBA_uchar4() 644 p.b = rsClamp(p.b, (short)0, (short)255); in rsYuvToRGBA_uchar4()
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 349 TEST_I_FUNC_I_I_I(rsClamp);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 335 TEST_I_FUNC_I_I_I(rsClamp);
|
D | math.rs | 349 TEST_I_FUNC_I_I_I(rsClamp);
|
D | math.rs.orig | 349 TEST_I_FUNC_I_I_I(rsClamp);
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rs | 3054 *(char*)buf1303 = rsClamp(*(char*)buf1304, *(char*)buf1305, *(char*)buf1306); 3055 *(uchar*)buf1307 = rsClamp(*(uchar*)buf1308, *(uchar*)buf1309, *(uchar*)buf1310); 3056 *(short*)buf1311 = rsClamp(*(short*)buf1312, *(short*)buf1313, *(short*)buf1314); 3057 *(ushort*)buf1315 = rsClamp(*(ushort*)buf1316, *(ushort*)buf1317, *(ushort*)buf1318); 3058 *(int*)buf1319 = rsClamp(*(int*)buf1320, *(int*)buf1321, *(int*)buf1322); 3059 *(uint*)buf1323 = rsClamp(*(uint*)buf1324, *(uint*)buf1325, *(uint*)buf1326);
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rs | 2960 *(char*)buf1301 = rsClamp(*(char*)buf1302, *(char*)buf1303, *(char*)buf1304); 2961 *(uchar*)buf1305 = rsClamp(*(uchar*)buf1306, *(uchar*)buf1307, *(uchar*)buf1308); 2962 *(short*)buf1309 = rsClamp(*(short*)buf1310, *(short*)buf1311, *(short*)buf1312); 2963 *(ushort*)buf1313 = rsClamp(*(ushort*)buf1314, *(ushort*)buf1315, *(ushort*)buf1316); 2964 *(int*)buf1317 = rsClamp(*(int*)buf1318, *(int*)buf1319, *(int*)buf1320); 2965 *(uint*)buf1321 = rsClamp(*(uint*)buf1322, *(uint*)buf1323, *(uint*)buf1324);
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rs | 2960 *(char*)buf1301 = rsClamp(*(char*)buf1302, *(char*)buf1303, *(char*)buf1304); 2961 *(uchar*)buf1305 = rsClamp(*(uchar*)buf1306, *(uchar*)buf1307, *(uchar*)buf1308); 2962 *(short*)buf1309 = rsClamp(*(short*)buf1310, *(short*)buf1311, *(short*)buf1312); 2963 *(ushort*)buf1313 = rsClamp(*(ushort*)buf1314, *(ushort*)buf1315, *(ushort*)buf1316); 2964 *(int*)buf1317 = rsClamp(*(int*)buf1318, *(int*)buf1319, *(int*)buf1320); 2965 *(uint*)buf1321 = rsClamp(*(uint*)buf1322, *(uint*)buf1323, *(uint*)buf1324);
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rs | 2875 *(char*)buf1243 = rsClamp(*(char*)buf1244, *(char*)buf1245, *(char*)buf1246); 2876 *(uchar*)buf1247 = rsClamp(*(uchar*)buf1248, *(uchar*)buf1249, *(uchar*)buf1250); 2877 *(short*)buf1251 = rsClamp(*(short*)buf1252, *(short*)buf1253, *(short*)buf1254); 2878 *(ushort*)buf1255 = rsClamp(*(ushort*)buf1256, *(ushort*)buf1257, *(ushort*)buf1258); 2879 *(int*)buf1259 = rsClamp(*(int*)buf1260, *(int*)buf1261, *(int*)buf1262); 2880 *(uint*)buf1263 = rsClamp(*(uint*)buf1264, *(uint*)buf1265, *(uint*)buf1266);
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rs | 2875 *(char*)buf1243 = rsClamp(*(char*)buf1244, *(char*)buf1245, *(char*)buf1246); 2876 *(uchar*)buf1247 = rsClamp(*(uchar*)buf1248, *(uchar*)buf1249, *(uchar*)buf1250); 2877 *(short*)buf1251 = rsClamp(*(short*)buf1252, *(short*)buf1253, *(short*)buf1254); 2878 *(ushort*)buf1255 = rsClamp(*(ushort*)buf1256, *(ushort*)buf1257, *(ushort*)buf1258); 2879 *(int*)buf1259 = rsClamp(*(int*)buf1260, *(int*)buf1261, *(int*)buf1262); 2880 *(uint*)buf1263 = rsClamp(*(uint*)buf1264, *(uint*)buf1265, *(uint*)buf1266);
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rs | 2875 *(char*)buf1243 = rsClamp(*(char*)buf1244, *(char*)buf1245, *(char*)buf1246); 2876 *(uchar*)buf1247 = rsClamp(*(uchar*)buf1248, *(uchar*)buf1249, *(uchar*)buf1250); 2877 *(short*)buf1251 = rsClamp(*(short*)buf1252, *(short*)buf1253, *(short*)buf1254); 2878 *(ushort*)buf1255 = rsClamp(*(ushort*)buf1256, *(ushort*)buf1257, *(ushort*)buf1258); 2879 *(int*)buf1259 = rsClamp(*(int*)buf1260, *(int*)buf1261, *(int*)buf1262); 2880 *(uint*)buf1263 = rsClamp(*(uint*)buf1264, *(uint*)buf1265, *(uint*)buf1266);
|
/frameworks/compile/slang/tests/P_all_api_17/ |
D | all17.rs | 3186 *(char*)buf1355 = rsClamp(*(char*)buf1356, *(char*)buf1357, *(char*)buf1358); 3187 *(uchar*)buf1359 = rsClamp(*(uchar*)buf1360, *(uchar*)buf1361, *(uchar*)buf1362); 3188 *(short*)buf1363 = rsClamp(*(short*)buf1364, *(short*)buf1365, *(short*)buf1366); 3189 *(ushort*)buf1367 = rsClamp(*(ushort*)buf1368, *(ushort*)buf1369, *(ushort*)buf1370); 3190 *(int*)buf1371 = rsClamp(*(int*)buf1372, *(int*)buf1373, *(int*)buf1374); 3191 *(uint*)buf1375 = rsClamp(*(uint*)buf1376, *(uint*)buf1377, *(uint*)buf1378);
|
/frameworks/compile/slang/tests/P_all_api_18/ |
D | all18.rs | 3773 *(char*)buf1415 = rsClamp(*(char*)buf1416, *(char*)buf1417, *(char*)buf1418); 3774 *(uchar*)buf1419 = rsClamp(*(uchar*)buf1420, *(uchar*)buf1421, *(uchar*)buf1422); 3775 *(short*)buf1423 = rsClamp(*(short*)buf1424, *(short*)buf1425, *(short*)buf1426); 3776 *(ushort*)buf1427 = rsClamp(*(ushort*)buf1428, *(ushort*)buf1429, *(ushort*)buf1430); 3777 *(int*)buf1431 = rsClamp(*(int*)buf1432, *(int*)buf1433, *(int*)buf1434); 3778 *(uint*)buf1435 = rsClamp(*(uint*)buf1436, *(uint*)buf1437, *(uint*)buf1438);
|
/frameworks/compile/slang/tests/P_all_api_20/ |
D | all20.rs | 4079 *(char*)buf1658 = rsClamp(*(char*)buf1659, *(char*)buf1660, *(char*)buf1661); 4080 *(uchar*)buf1662 = rsClamp(*(uchar*)buf1663, *(uchar*)buf1664, *(uchar*)buf1665); 4081 *(short*)buf1666 = rsClamp(*(short*)buf1667, *(short*)buf1668, *(short*)buf1669); 4082 *(ushort*)buf1670 = rsClamp(*(ushort*)buf1671, *(ushort*)buf1672, *(ushort*)buf1673); 4083 *(int*)buf1674 = rsClamp(*(int*)buf1675, *(int*)buf1676, *(int*)buf1677); 4084 *(uint*)buf1678 = rsClamp(*(uint*)buf1679, *(uint*)buf1680, *(uint*)buf1681);
|
/frameworks/compile/slang/tests/P_all_api_19/ |
D | all19.rs | 4053 *(char*)buf1639 = rsClamp(*(char*)buf1640, *(char*)buf1641, *(char*)buf1642); 4054 *(uchar*)buf1643 = rsClamp(*(uchar*)buf1644, *(uchar*)buf1645, *(uchar*)buf1646); 4055 *(short*)buf1647 = rsClamp(*(short*)buf1648, *(short*)buf1649, *(short*)buf1650); 4056 *(ushort*)buf1651 = rsClamp(*(ushort*)buf1652, *(ushort*)buf1653, *(ushort*)buf1654); 4057 *(int*)buf1655 = rsClamp(*(int*)buf1656, *(int*)buf1657, *(int*)buf1658); 4058 *(uint*)buf1659 = rsClamp(*(uint*)buf1660, *(uint*)buf1661, *(uint*)buf1662);
|