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