Home
last modified time | relevance | path

Searched refs:rs_quaternion (Results 1 – 25 of 25) sorted by relevance

/frameworks/rs/script_api/
Drs_quaternion.spec26 arg: rs_quaternion* q, "Destination quaternion to add to."
27 arg: const rs_quaternion* rhs, "Quaternion to add."
42 arg: rs_quaternion* q, "Quaternion to modify."
56 arg: const rs_quaternion* q0, "First quaternion."
57 arg: const rs_quaternion* q1, "Second quaternion."
70 arg: const rs_quaternion* q, "Normalized quaternion."
102 arg: rs_quaternion* q, "Destination quaternion."
125 arg: rs_quaternion* q, "Destination quaternion."
144 arg: rs_quaternion* q
145 arg: const rs_quaternion* rhs, "Source quaternion."
[all …]
Dgenerate.sh48 ….spec rs_convert.spec rs_math.spec rs_vector_math.spec rs_matrix.spec rs_quaternion.spec rs_atomic…
Drs_value_types.spec85 …Quaternions are also supported via @rs_quaternion. See <a href='rs_quaternion.html'>Quaterion Fun…
573 See <a href='rs_quaternion.html'>Quaternion Functions</a>.
/frameworks/rs/driver/runtime/
Drs_quaternion.c12 rsQuaternionAdd(rs_quaternion* q, const rs_quaternion* rhs) { in rsQuaternionAdd()
20 rsQuaternionConjugate(rs_quaternion* q) { in rsQuaternionConjugate()
27 rsQuaternionDot(const rs_quaternion* q0, const rs_quaternion* q1) { in rsQuaternionDot()
32 rsQuaternionGetMatrixUnit(rs_matrix4x4* m, const rs_quaternion* q) { in rsQuaternionGetMatrixUnit()
57 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotateUnit()
69 rsQuaternionSet(rs_quaternion* q, float w, float x, float y, float z) { in rsQuaternionSet()
77 rsQuaternionSet(rs_quaternion* q, const rs_quaternion* rhs) { in rsQuaternionSet()
85 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotate()
97 rsQuaternionNormalize(rs_quaternion* q) { in rsQuaternionNormalize()
109 rsQuaternionMultiply(rs_quaternion* q, float scalar) { in rsQuaternionMultiply()
[all …]
DAndroid.mk32 rs_quaternion.c
/frameworks/rs/script_api/include/
Drs_quaternion.rsh20 * rs_quaternion.rsh: Quaternion Functions
39 rsQuaternionAdd(rs_quaternion* q, const rs_quaternion* rhs) {
57 rsQuaternionConjugate(rs_quaternion* q) {
75 rsQuaternionDot(const rs_quaternion* q0, const rs_quaternion* q1) {
91 rsQuaternionGetMatrixUnit(rs_matrix4x4* m, const rs_quaternion* q) {
130 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) {
157 rsQuaternionSet(rs_quaternion* q, float w, float x, float y, float z) {
167 rsQuaternionSet(rs_quaternion* q, const rs_quaternion* rhs) {
190 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) {
212 rsQuaternionNormalize(rs_quaternion* q) {
[all …]
Drs_core.rsh57 #include "rs_quaternion.rsh"
Drs_value_types.rsh87 * Quaternions are also supported via rs_quaternion. See Quaterion Functions for the list
535 * rs_quaternion: Quaternion
541 typedef float4 rs_quaternion;
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
Dsimple.rs68 rs_quaternion quaternion_global;
142 rs_quaternion quaternion_local;
/frameworks/rs/tests/lldb/cpp/KernelVariables/
Dsimple.rs68 rs_quaternion quaternion_global;
142 rs_quaternion quaternion_local;
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs3189 rsQuaternionAdd((rs_quaternion*) buf2070, (const rs_quaternion*) buf2071); constant
3190 rsQuaternionConjugate((rs_quaternion*) buf2072);
3191 …*(float*)buf2073 = rsQuaternionDot((const rs_quaternion*) buf2074, (const rs_quaternion*) buf2075); constant
3192 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2076, (const rs_quaternion*) buf2077); constant
3193 …rsQuaternionLoadRotate((rs_quaternion*) buf2078, *(float*)buf2079, *(float*)buf2080, *(float*)buf2…
3194 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2083, *(float*)buf2084, *(float*)buf2085, *(float*)…
3195 rsQuaternionMultiply((rs_quaternion*) buf2088, *(float*)buf2089);
3196 rsQuaternionMultiply((rs_quaternion*) buf2090, (const rs_quaternion*) buf2091); constant
3197 rsQuaternionNormalize((rs_quaternion*) buf2092);
3198 …rsQuaternionSet((rs_quaternion*) buf2093, *(float*)buf2094, *(float*)buf2095, *(float*)buf2096, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs3189 rsQuaternionAdd((rs_quaternion*) buf2070, (const rs_quaternion*) buf2071); constant
3190 rsQuaternionConjugate((rs_quaternion*) buf2072);
3191 …*(float*)buf2073 = rsQuaternionDot((const rs_quaternion*) buf2074, (const rs_quaternion*) buf2075); constant
3192 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2076, (const rs_quaternion*) buf2077); constant
3193 …rsQuaternionLoadRotate((rs_quaternion*) buf2078, *(float*)buf2079, *(float*)buf2080, *(float*)buf2…
3194 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2083, *(float*)buf2084, *(float*)buf2085, *(float*)…
3195 rsQuaternionMultiply((rs_quaternion*) buf2088, *(float*)buf2089);
3196 rsQuaternionMultiply((rs_quaternion*) buf2090, (const rs_quaternion*) buf2091); constant
3197 rsQuaternionNormalize((rs_quaternion*) buf2092);
3198 …rsQuaternionSet((rs_quaternion*) buf2093, *(float*)buf2094, *(float*)buf2095, *(float*)buf2096, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs3103 rsQuaternionAdd((rs_quaternion*) buf2007, (const rs_quaternion*) buf2008); constant
3104 rsQuaternionConjugate((rs_quaternion*) buf2009);
3105 …*(float*)buf2010 = rsQuaternionDot((const rs_quaternion*) buf2011, (const rs_quaternion*) buf2012); constant
3106 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2013, (const rs_quaternion*) buf2014); constant
3107 …rsQuaternionLoadRotate((rs_quaternion*) buf2015, *(float*)buf2016, *(float*)buf2017, *(float*)buf2…
3108 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2020, *(float*)buf2021, *(float*)buf2022, *(float*)…
3109 rsQuaternionMultiply((rs_quaternion*) buf2025, *(float*)buf2026);
3110 rsQuaternionMultiply((rs_quaternion*) buf2027, (const rs_quaternion*) buf2028); constant
3111 rsQuaternionNormalize((rs_quaternion*) buf2029);
3112 …rsQuaternionSet((rs_quaternion*) buf2030, *(float*)buf2031, *(float*)buf2032, *(float*)buf2033, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs3103 rsQuaternionAdd((rs_quaternion*) buf2007, (const rs_quaternion*) buf2008); constant
3104 rsQuaternionConjugate((rs_quaternion*) buf2009);
3105 …*(float*)buf2010 = rsQuaternionDot((const rs_quaternion*) buf2011, (const rs_quaternion*) buf2012); constant
3106 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2013, (const rs_quaternion*) buf2014); constant
3107 …rsQuaternionLoadRotate((rs_quaternion*) buf2015, *(float*)buf2016, *(float*)buf2017, *(float*)buf2…
3108 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2020, *(float*)buf2021, *(float*)buf2022, *(float*)…
3109 rsQuaternionMultiply((rs_quaternion*) buf2025, *(float*)buf2026);
3110 rsQuaternionMultiply((rs_quaternion*) buf2027, (const rs_quaternion*) buf2028); constant
3111 rsQuaternionNormalize((rs_quaternion*) buf2029);
3112 …rsQuaternionSet((rs_quaternion*) buf2030, *(float*)buf2031, *(float*)buf2032, *(float*)buf2033, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs3103 rsQuaternionAdd((rs_quaternion*) buf2007, (const rs_quaternion*) buf2008); constant
3104 rsQuaternionConjugate((rs_quaternion*) buf2009);
3105 …*(float*)buf2010 = rsQuaternionDot((const rs_quaternion*) buf2011, (const rs_quaternion*) buf2012); constant
3106 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2013, (const rs_quaternion*) buf2014); constant
3107 …rsQuaternionLoadRotate((rs_quaternion*) buf2015, *(float*)buf2016, *(float*)buf2017, *(float*)buf2…
3108 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2020, *(float*)buf2021, *(float*)buf2022, *(float*)…
3109 rsQuaternionMultiply((rs_quaternion*) buf2025, *(float*)buf2026);
3110 rsQuaternionMultiply((rs_quaternion*) buf2027, (const rs_quaternion*) buf2028); constant
3111 rsQuaternionNormalize((rs_quaternion*) buf2029);
3112 …rsQuaternionSet((rs_quaternion*) buf2030, *(float*)buf2031, *(float*)buf2032, *(float*)buf2033, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs3293 rsQuaternionAdd((rs_quaternion*) buf2099, (const rs_quaternion*) buf2100); constant
3294 rsQuaternionConjugate((rs_quaternion*) buf2101);
3295 …*(float*)buf2102 = rsQuaternionDot((const rs_quaternion*) buf2103, (const rs_quaternion*) buf2104); constant
3296 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2105, (const rs_quaternion*) buf2106); constant
3297 …rsQuaternionLoadRotate((rs_quaternion*) buf2107, *(float*)buf2108, *(float*)buf2109, *(float*)buf2…
3298 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2112, *(float*)buf2113, *(float*)buf2114, *(float*)…
3299 rsQuaternionMultiply((rs_quaternion*) buf2117, *(float*)buf2118);
3300 rsQuaternionMultiply((rs_quaternion*) buf2119, (const rs_quaternion*) buf2120); constant
3301 rsQuaternionNormalize((rs_quaternion*) buf2121);
3302 …rsQuaternionSet((rs_quaternion*) buf2122, *(float*)buf2123, *(float*)buf2124, *(float*)buf2125, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rs3453 rsQuaternionAdd((rs_quaternion*) buf2207, (const rs_quaternion*) buf2208); constant
3454 rsQuaternionConjugate((rs_quaternion*) buf2209);
3455 …*(float*)buf2210 = rsQuaternionDot((const rs_quaternion*) buf2211, (const rs_quaternion*) buf2212); constant
3456 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2213, (const rs_quaternion*) buf2214); constant
3457 …rsQuaternionLoadRotate((rs_quaternion*) buf2215, *(float*)buf2216, *(float*)buf2217, *(float*)buf2…
3458 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2220, *(float*)buf2221, *(float*)buf2222, *(float*)…
3459 rsQuaternionMultiply((rs_quaternion*) buf2225, *(float*)buf2226);
3460 rsQuaternionMultiply((rs_quaternion*) buf2227, (const rs_quaternion*) buf2228); constant
3461 rsQuaternionNormalize((rs_quaternion*) buf2229);
3462 …rsQuaternionSet((rs_quaternion*) buf2230, *(float*)buf2231, *(float*)buf2232, *(float*)buf2233, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rs4043 rsQuaternionAdd((rs_quaternion*) buf2279, (const rs_quaternion*) buf2280); constant
4044 rsQuaternionConjugate((rs_quaternion*) buf2281);
4045 …*(float*)buf2282 = rsQuaternionDot((const rs_quaternion*) buf2283, (const rs_quaternion*) buf2284); constant
4046 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2285, (const rs_quaternion*) buf2286); constant
4047 …rsQuaternionLoadRotate((rs_quaternion*) buf2287, *(float*)buf2288, *(float*)buf2289, *(float*)buf2…
4048 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2292, *(float*)buf2293, *(float*)buf2294, *(float*)…
4049 rsQuaternionMultiply((rs_quaternion*) buf2297, *(float*)buf2298);
4050 rsQuaternionMultiply((rs_quaternion*) buf2299, (const rs_quaternion*) buf2300); constant
4051 rsQuaternionNormalize((rs_quaternion*) buf2301);
4052 …rsQuaternionSet((rs_quaternion*) buf2302, *(float*)buf2303, *(float*)buf2304, *(float*)buf2305, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rs4349 rsQuaternionAdd((rs_quaternion*) buf2522, (const rs_quaternion*) buf2523); constant
4350 rsQuaternionConjugate((rs_quaternion*) buf2524);
4351 …*(float*)buf2525 = rsQuaternionDot((const rs_quaternion*) buf2526, (const rs_quaternion*) buf2527); constant
4352 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2528, (const rs_quaternion*) buf2529); constant
4353 …rsQuaternionLoadRotate((rs_quaternion*) buf2530, *(float*)buf2531, *(float*)buf2532, *(float*)buf2…
4354 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2535, *(float*)buf2536, *(float*)buf2537, *(float*)…
4355 rsQuaternionMultiply((rs_quaternion*) buf2540, *(float*)buf2541);
4356 rsQuaternionMultiply((rs_quaternion*) buf2542, (const rs_quaternion*) buf2543); constant
4357 rsQuaternionNormalize((rs_quaternion*) buf2544);
4358 …rsQuaternionSet((rs_quaternion*) buf2545, *(float*)buf2546, *(float*)buf2547, *(float*)buf2548, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rs4323 rsQuaternionAdd((rs_quaternion*) buf2503, (const rs_quaternion*) buf2504); constant
4324 rsQuaternionConjugate((rs_quaternion*) buf2505);
4325 …*(float*)buf2506 = rsQuaternionDot((const rs_quaternion*) buf2507, (const rs_quaternion*) buf2508); constant
4326 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf2509, (const rs_quaternion*) buf2510); constant
4327 …rsQuaternionLoadRotate((rs_quaternion*) buf2511, *(float*)buf2512, *(float*)buf2513, *(float*)buf2…
4328 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf2516, *(float*)buf2517, *(float*)buf2518, *(float*)…
4329 rsQuaternionMultiply((rs_quaternion*) buf2521, *(float*)buf2522);
4330 rsQuaternionMultiply((rs_quaternion*) buf2523, (const rs_quaternion*) buf2524); constant
4331 rsQuaternionNormalize((rs_quaternion*) buf2525);
4332 …rsQuaternionSet((rs_quaternion*) buf2526, *(float*)buf2527, *(float*)buf2528, *(float*)buf2529, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rs5292 rsQuaternionAdd((rs_quaternion*) buf3157, (const rs_quaternion*) buf3158); constant
5293 rsQuaternionConjugate((rs_quaternion*) buf3159);
5294 …*(float*)buf3160 = rsQuaternionDot((const rs_quaternion*) buf3161, (const rs_quaternion*) buf3162); constant
5295 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf3163, (const rs_quaternion*) buf3164); constant
5296 …rsQuaternionLoadRotate((rs_quaternion*) buf3165, *(float*)buf3166, *(float*)buf3167, *(float*)buf3…
5297 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf3170, *(float*)buf3171, *(float*)buf3172, *(float*)…
5298 rsQuaternionMultiply((rs_quaternion*) buf3175, *(float*)buf3176);
5299 rsQuaternionMultiply((rs_quaternion*) buf3177, (const rs_quaternion*) buf3178); constant
5300 rsQuaternionNormalize((rs_quaternion*) buf3179);
5301 …rsQuaternionSet((rs_quaternion*) buf3180, *(float*)buf3181, *(float*)buf3182, *(float*)buf3183, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rs6136 rsQuaternionAdd((rs_quaternion*) buf3928, (const rs_quaternion*) buf3929); constant
6137 rsQuaternionConjugate((rs_quaternion*) buf3930);
6138 …*(float*)buf3931 = rsQuaternionDot((const rs_quaternion*) buf3932, (const rs_quaternion*) buf3933); constant
6139 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf3934, (const rs_quaternion*) buf3935); constant
6140 …rsQuaternionLoadRotate((rs_quaternion*) buf3936, *(float*)buf3937, *(float*)buf3938, *(float*)buf3…
6141 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf3941, *(float*)buf3942, *(float*)buf3943, *(float*)…
6142 rsQuaternionMultiply((rs_quaternion*) buf3946, *(float*)buf3947);
6143 rsQuaternionMultiply((rs_quaternion*) buf3948, (const rs_quaternion*) buf3949); constant
6144 rsQuaternionNormalize((rs_quaternion*) buf3950);
6145 …rsQuaternionSet((rs_quaternion*) buf3951, *(float*)buf3952, *(float*)buf3953, *(float*)buf3954, *(…
[all …]
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rs6192 rsQuaternionAdd((rs_quaternion*) buf3877, (const rs_quaternion*) buf3878); constant
6193 rsQuaternionConjugate((rs_quaternion*) buf3879);
6194 …*(float*)buf3880 = rsQuaternionDot((const rs_quaternion*) buf3881, (const rs_quaternion*) buf3882); constant
6195 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf3883, (const rs_quaternion*) buf3884); constant
6196 …rsQuaternionLoadRotate((rs_quaternion*) buf3885, *(float*)buf3886, *(float*)buf3887, *(float*)buf3…
6197 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf3890, *(float*)buf3891, *(float*)buf3892, *(float*)…
6198 rsQuaternionMultiply((rs_quaternion*) buf3895, *(float*)buf3896);
6199 rsQuaternionMultiply((rs_quaternion*) buf3897, (const rs_quaternion*) buf3898); constant
6200 rsQuaternionNormalize((rs_quaternion*) buf3899);
6201 …rsQuaternionSet((rs_quaternion*) buf3900, *(float*)buf3901, *(float*)buf3902, *(float*)buf3903, *(…
[all …]
/frameworks/compile/slang/
Dslang.cpp117 RS_HEADER_ENTRY(rs_quaternion) \
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rs8545 rsQuaternionAdd((rs_quaternion*) buf5560, (const rs_quaternion*) buf5561); constant
8546 rsQuaternionConjugate((rs_quaternion*) buf5562);
8547 …*(float*)buf5563 = rsQuaternionDot((const rs_quaternion*) buf5564, (const rs_quaternion*) buf5565); constant
8548 rsQuaternionGetMatrixUnit((rs_matrix4x4*) buf5566, (const rs_quaternion*) buf5567); constant
8549 …rsQuaternionLoadRotate((rs_quaternion*) buf5568, *(float*)buf5569, *(float*)buf5570, *(float*)buf5…
8550 …rsQuaternionLoadRotateUnit((rs_quaternion*) buf5573, *(float*)buf5574, *(float*)buf5575, *(float*)…
8551 rsQuaternionMultiply((rs_quaternion*) buf5578, *(float*)buf5579);
8552 rsQuaternionMultiply((rs_quaternion*) buf5580, (const rs_quaternion*) buf5581); constant
8553 rsQuaternionNormalize((rs_quaternion*) buf5582);
8554 …rsQuaternionSet((rs_quaternion*) buf5583, *(float*)buf5584, *(float*)buf5585, *(float*)buf5586, *(…
[all …]