Lines Matching refs:thiz
32 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
33 interface_lock_exclusive(thiz);
34 thiz->mSize.mWidth = width;
35 thiz->mSize.mHeight = height;
36 thiz->mSize.mDepth = depth;
37 interface_unlock_exclusive(thiz);
53 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
54 interface_lock_shared(thiz);
55 SLmillimeter width = thiz->mSize.mWidth;
56 SLmillimeter height = thiz->mSize.mHeight;
57 SLmillimeter depth = thiz->mSize.mDepth;
58 interface_unlock_shared(thiz);
79 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
80 interface_lock_exclusive(thiz);
81 thiz->mOrientationAngles.mHeading = heading;
82 thiz->mOrientationAngles.mPitch = pitch;
83 thiz->mOrientationAngles.mRoll = roll;
84 thiz->mOrientationActive = ANGLES_SET_VECTORS_UNKNOWN;
85 thiz->mRotatePending = SL_BOOLEAN_FALSE;
86 // ++thiz->mGeneration;
87 interface_unlock_exclusive(thiz);
103 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
107 interface_lock_exclusive(thiz);
108 thiz->mOrientationVectors.mFront = front;
109 thiz->mOrientationVectors.mAbove = above;
110 thiz->mOrientationVectors.mUp = above; // wrong
111 thiz->mOrientationActive = ANGLES_UNKNOWN_VECTORS_SET;
112 thiz->mRotatePending = SL_BOOLEAN_FALSE;
113 interface_unlock_exclusive(thiz);
131 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
132 interface_lock_exclusive(thiz);
133 while (thiz->mRotatePending)
134 interface_cond_wait(thiz);
135 thiz->mTheta = theta;
136 thiz->mAxis = axis;
137 thiz->mRotatePending = SL_BOOLEAN_TRUE;
138 interface_unlock_exclusive(thiz);
154 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
155 interface_lock_exclusive(thiz);
157 enum AnglesVectorsActive orientationActive = thiz->mOrientationActive;
164 SLVec3D front = thiz->mOrientationVectors.mFront;
165 SLVec3D up = thiz->mOrientationVectors.mUp;
166 interface_unlock_exclusive(thiz);
172 thiz->mOrientationActive = ANGLES_SET_VECTORS_REQUESTED;
177 interface_cond_wait(thiz);
179 thiz->mOrientationActive = ANGLES_SET_VECTORS_COMPUTED;
183 interface_unlock_exclusive(thiz);
213 I3DMacroscopic *thiz = (I3DMacroscopic *) self;
214 thiz->mItf = &I3DMacroscopic_Itf;
215 thiz->mSize.mWidth = 0;
216 thiz->mSize.mHeight = 0;
217 thiz->mSize.mDepth = 0;
218 thiz->mOrientationAngles.mHeading = 0;
219 thiz->mOrientationAngles.mPitch = 0;
220 thiz->mOrientationAngles.mRoll = 0;
221 memset(&thiz->mOrientationVectors, 0x55, sizeof(thiz->mOrientationVectors));
222 thiz->mOrientationVectors.mFront.x = 0;
223 thiz->mOrientationVectors.mFront.y = 0;
224 thiz->mOrientationVectors.mFront.z = -1000;
225 thiz->mOrientationVectors.mUp.x = 0;
226 thiz->mOrientationVectors.mUp.y = 1000;
227 thiz->mOrientationVectors.mUp.z = 0;
228 thiz->mOrientationVectors.mAbove.x = 0;
229 thiz->mOrientationVectors.mAbove.y = 0;
230 thiz->mOrientationVectors.mAbove.z = 0;
231 thiz->mOrientationActive = ANGLES_SET_VECTORS_COMPUTED;
232 thiz->mTheta = 0x55555555;
233 thiz->mAxis.x = 0x55555555;
234 thiz->mAxis.y = 0x55555555;
235 thiz->mAxis.z = 0x55555555;
236 thiz->mRotatePending = SL_BOOLEAN_FALSE;