Home
last modified time | relevance | path

Searched refs:qtmp (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/driver/runtime/
Drs_quaternion.c118 rs_quaternion qtmp; in rsQuaternionMultiply() local
119 rsQuaternionSet(&qtmp, q); in rsQuaternionMultiply()
121 q->w = qtmp.w*rhs->w - qtmp.x*rhs->x - qtmp.y*rhs->y - qtmp.z*rhs->z; in rsQuaternionMultiply()
122 q->x = qtmp.w*rhs->x + qtmp.x*rhs->w + qtmp.y*rhs->z - qtmp.z*rhs->y; in rsQuaternionMultiply()
123 q->y = qtmp.w*rhs->y + qtmp.y*rhs->w + qtmp.z*rhs->x - qtmp.x*rhs->z; in rsQuaternionMultiply()
124 q->z = qtmp.w*rhs->z + qtmp.z*rhs->w + qtmp.x*rhs->y - qtmp.y*rhs->x; in rsQuaternionMultiply()
/frameworks/rs/script_api/include/
Drs_quaternion.rsh248 rs_quaternion qtmp;
249 rsQuaternionSet(&qtmp, q);
251 q->w = qtmp.w*rhs->w - qtmp.x*rhs->x - qtmp.y*rhs->y - qtmp.z*rhs->z;
252 q->x = qtmp.w*rhs->x + qtmp.x*rhs->w + qtmp.y*rhs->z - qtmp.z*rhs->y;
253 q->y = qtmp.w*rhs->y + qtmp.y*rhs->w + qtmp.z*rhs->x - qtmp.x*rhs->z;
254 q->z = qtmp.w*rhs->z + qtmp.z*rhs->w + qtmp.x*rhs->y - qtmp.y*rhs->x;