Lines Matching refs:PTR_ELT
97 #define PTR_ELT(ptr, elt) (((SRC *)ptr)[elt]) macro
116 #define TRX_3FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
118 #define TRX_4F(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
120 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
122 #define TRX_4FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
123 #define TRX_UB(ub, f,n) ub = BYTE_TO_UBYTE( PTR_ELT(f,n) )
124 #define TRX_US(ch, f,n) ch = BYTE_TO_USHORT( PTR_ELT(f,n) )
125 #define TRX_UI(f,n) (PTR_ELT(f,n) < 0 ? 0 : (GLuint) PTR_ELT(f,n))
174 #define TRX_3FN(f,n) UBYTE_TO_FLOAT(PTR_ELT(f,n))
175 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
176 #define TRX_4FN(f,n) UBYTE_TO_FLOAT(PTR_ELT(f,n))
177 #define TRX_UB(ub, f,n) ub = PTR_ELT(f,n)
178 #define TRX_US(us, f,n) us = UBYTE_TO_USHORT(PTR_ELT(f,n))
179 #define TRX_UI(f,n) (GLuint)PTR_ELT(f,n)
221 #define TRX_3FN(f,n) SHORT_TO_FLOAT( PTR_ELT(f,n) )
222 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
223 #define TRX_4FN(f,n) SHORT_TO_FLOAT( PTR_ELT(f,n) )
224 #define TRX_UB(ub, f,n) ub = SHORT_TO_UBYTE(PTR_ELT(f,n))
225 #define TRX_US(us, f,n) us = SHORT_TO_USHORT(PTR_ELT(f,n))
226 #define TRX_UI(f,n) (PTR_ELT(f,n) < 0 ? 0 : (GLuint) PTR_ELT(f,n))
275 #define TRX_3FN(f,n) USHORT_TO_FLOAT( PTR_ELT(f,n) )
276 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
277 #define TRX_4FN(f,n) USHORT_TO_FLOAT( PTR_ELT(f,n) )
278 #define TRX_UB(ub,f,n) ub = (GLubyte) (PTR_ELT(f,n) >> 8)
279 #define TRX_US(us,f,n) us = PTR_ELT(f,n)
280 #define TRX_UI(f,n) (GLuint) PTR_ELT(f,n)
328 #define TRX_3FN(f,n) INT_TO_FLOAT( PTR_ELT(f,n) )
329 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
330 #define TRX_4FN(f,n) INT_TO_FLOAT( PTR_ELT(f,n) )
331 #define TRX_UB(ub, f,n) ub = INT_TO_UBYTE(PTR_ELT(f,n))
332 #define TRX_US(us, f,n) us = INT_TO_USHORT(PTR_ELT(f,n))
333 #define TRX_UI(f,n) (PTR_ELT(f,n) < 0 ? 0 : (GLuint) PTR_ELT(f,n))
382 #define TRX_3FN(f,n) INT_TO_FLOAT( PTR_ELT(f,n) )
383 #define TRX_4F(f,n) (GLfloat)( PTR_ELT(f,n) )
384 #define TRX_4FN(f,n) UINT_TO_FLOAT( PTR_ELT(f,n) )
385 #define TRX_UB(ub, f,n) ub = (GLubyte) (PTR_ELT(f,n) >> 24)
386 #define TRX_US(us, f,n) us = (GLshort) (PTR_ELT(f,n) >> 16)
387 #define TRX_UI(f,n) PTR_ELT(f,n)
435 #define TRX_3FN(f,n) (GLfloat) PTR_ELT(f,n)
436 #define TRX_4F(f,n) (GLfloat) PTR_ELT(f,n)
437 #define TRX_4FN(f,n) (GLfloat) PTR_ELT(f,n)
438 #define TRX_UB(ub,f,n) UNCLAMPED_FLOAT_TO_UBYTE(ub, PTR_ELT(f,n))
439 #define TRX_US(us,f,n) UNCLAMPED_FLOAT_TO_USHORT(us, PTR_ELT(f,n))
440 #define TRX_UI(f,n) (GLuint) (GLint) PTR_ELT(f,n)
441 #define TRX_1F(f,n) (GLfloat) PTR_ELT(f,n)