| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_surfaces.c | 33 util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size, 42 if(!us->u.hash) 43 us->u.hash = cso_hash_create(); 45 ps = cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level)); 49 if(!us->u.array) 50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *)); 51 ps = us->u.array[level]; 71 cso_hash_insert(us->u.hash, (layer << 8) | level, ps); 73 us->u.array[level] = ps; 80 util_surfaces_do_detach(struct util_surfaces *us, struct pipe_surface *ps [all...] |
| u_surfaces.h | 47 util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size, 54 util_surfaces_get(struct util_surfaces *us, unsigned surface_struct_size, 59 if(likely((pt->target == PIPE_TEXTURE_2D || pt->target == PIPE_TEXTURE_RECT) && us->u.array)) 61 struct pipe_surface *ps = us->u.array[level]; 70 return util_surfaces_do_get(us, surface_struct_size, ctx, pt, level, layer, res); 74 util_surfaces_peek(struct util_surfaces *us, struct pipe_resource *pt, unsigned level, unsigned layer) 76 if(!us->u.pv) 80 return cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level)); 82 return us->u.array[level]; 85 void util_surfaces_do_detach(struct util_surfaces *us, struct pipe_surface *ps) [all...] |
| u_sse.h | 50 ushort us[8]; member in union:m128i 85 union { __m128i m; ushort us[8]; } u; member in union:__anon3615 98 u.us[0], u.us[1], u.us[2], u.us[3], 99 u.us[4], u.us[5], u.us[6], u.us[7]) [all...] |
| u_pack_color.h | 53 ushort us; member in union:util_color 100 uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3); 105 uc->us = ((0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); 110 uc->us = ((a & 0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); 115 uc->us = ((a & 0xf0) << 8) | ((r & 0xf0) << 4) | ((g & 0xf0) << 0) | (b >> 4); 225 ushort p = uc->us; 234 ushort p = uc->us; 243 ushort p = uc->us; 252 ushort p = uc->us; 385 uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3) [all...] |
| /xsrc/external/mit/libX11/dist/src/ |
| TextExt.c | 87 unsigned char *us; /* be 8bit clean */ local 106 for (i = 0, us = (unsigned char *) string; i < nchars; i++, us++) { 107 register unsigned uc = (unsigned) *us; /* since about to do macro */ 156 unsigned char *us; /* be 8bit clean */ local 172 for (i = 0, us = (unsigned char *) string; i < count; i++, us++) { 173 register unsigned uc = (unsigned) *us; /* since about to do macro */ 202 unsigned char *us; /* be 8bit clean */ local 219 for (i = 0, us = (unsigned char *) string; i < count; i++, us++) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/math/ |
| m_eval.c | 200 GLfloat us = 1.0F - u, vs = 1.0F - v; local 222 dv[k] = us * (CN(0, 1, k) - CN(0, 0, k)) + 226 out[k] = us * (vs * CN(0, 0, k) + v * CN(0, 1, k)) + 234 DCN(0, 0) = us * CN(0, 0, k) + u * CN(1, 0, k); 242 DCN(0, j + 1) = us * CN(0, j + 1, k) + u * CN(1, j + 1, k); 275 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); 279 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); 286 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); 289 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); 296 dv[k] = us * DCN(0, 1) + u * DCN(1, 1) [all...] |
| m_translate.c | 178 #define TRX_US(us, f,n) us = UBYTE_TO_USHORT(PTR_ELT(f,n)) 225 #define TRX_US(us, f,n) us = SHORT_TO_USHORT(PTR_ELT(f,n)) 279 #define TRX_US(us,f,n) us = PTR_ELT(f,n) 332 #define TRX_US(us, f,n) us = INT_TO_USHORT(PTR_ELT(f,n)) 386 #define TRX_US(us, f,n) us = (GLshort) (PTR_ELT(f,n) >> 16 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/ |
| m_eval.c | 200 GLfloat us = 1.0F - u, vs = 1.0F - v; local 222 dv[k] = us * (CN(0, 1, k) - CN(0, 0, k)) + 226 out[k] = us * (vs * CN(0, 0, k) + v * CN(0, 1, k)) + 234 DCN(0, 0) = us * CN(0, 0, k) + u * CN(1, 0, k); 242 DCN(0, j + 1) = us * CN(0, j + 1, k) + u * CN(1, j + 1, k); 275 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); 279 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); 286 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); 289 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); 296 dv[k] = us * DCN(0, 1) + u * DCN(1, 1) [all...] |
| m_translate.c | 178 #define TRX_US(us, f,n) us = UBYTE_TO_USHORT(PTR_ELT(f,n)) 225 #define TRX_US(us, f,n) us = SHORT_TO_USHORT(PTR_ELT(f,n)) 279 #define TRX_US(us,f,n) us = PTR_ELT(f,n) 332 #define TRX_US(us, f,n) us = INT_TO_USHORT(PTR_ELT(f,n)) 386 #define TRX_US(us, f,n) us = (GLshort) (PTR_ELT(f,n) >> 16 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_pack_color.h | 52 ushort us; member in union:util_color 99 uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3); 104 uc->us = ((0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); 109 uc->us = ((a & 0x80) << 8) | ((r & 0xf8) << 7) | ((g & 0xf8) << 2) | (b >> 3); 114 uc->us = ((a & 0xf0) << 8) | ((r & 0xf0) << 4) | ((g & 0xf0) << 0) | (b >> 4); 224 ushort p = uc->us; 233 ushort p = uc->us; 242 ushort p = uc->us; 251 ushort p = uc->us; 384 uc->us = ((r & 0xf8) << 8) | ((g & 0xfc) << 3) | (b >> 3) [all...] |
| u_sse.h | 52 ushort us[8]; member in union:m128i 87 union { __m128i m; ushort us[8]; } u; member in union:__anon1104 100 u.us[0], u.us[1], u.us[2], u.us[3], 101 u.us[4], u.us[5], u.us[6], u.us[7]) [all...] |
| u_tile.c | 90 #define UNCLAMPED_FLOAT_TO_SHORT(us, f) \ 91 us = ( (short) ( CLAMP((f), -1.0, 1.0) * 32767.0F) )
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| packedpixels.c | 141 GLushort *us = (GLushort *) texBuffer; local 143 us[i] = format->redTexel; 146 us[i] = format->greenTexel; 150 us[i] = (us[i] << 8) | (us[i] >> 8);
|
| /xsrc/external/mit/xf86-video-crime/dist/src/ |
| crime.h | 93 int ux, uy, uw, uh, us, um; member in struct:__anon6967
|
| crime_accel.c | 625 * can we trust the Xserver to always hand us a 32bit aligned 724 fPtr->us = alphaPitch; 798 aptr = fPtr->alpha_texture + (fPtr->us * srcy) + srcx; 817 aptr += fPtr->us; 844 aptr = fPtr->alpha_texture + (fPtr->us * srcy) + (srcx << 2); 863 aptr += fPtr->us; 891 fPtr->us = texPitch; 943 srcx, srcy, dstx, dsty, width, height, fPtr->uw, fPtr->us); 948 lptr = aptr + (fPtr->us * srcy); 960 memcpy(dptr, aptr, fPtr->us); [all...] |
| /xsrc/external/mit/xfindproxy/dist/ |
| xfindproxy.c | 80 unsigned char *us; local 102 for (us = (unsigned char *) retval, i = len; i > 0; hexstr++) { 109 *us = (unsigned char)((atoh(savec) << 4) + atoh(c)); 112 us++;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| macros.h | 136 #define UNCLAMPED_FLOAT_TO_USHORT(us, f) \ 137 us = ( (GLushort) _mesa_lroundevenf( CLAMP((f), 0.0F, 1.0F) * 65535.0F) ) 138 #define CLAMPED_FLOAT_TO_USHORT(us, f) \ 139 us = ( (GLushort) _mesa_lroundevenf( (f) * 65535.0F) )
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| macros.h | 134 #define UNCLAMPED_FLOAT_TO_USHORT(us, f) \ 135 us = ( (GLushort) _mesa_lroundevenf( CLAMP((f), 0.0F, 1.0F) * 65535.0F) ) 136 #define CLAMPED_FLOAT_TO_USHORT(us, f) \ 137 us = ( (GLushort) _mesa_lroundevenf( (f) * 65535.0F) )
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/ |
| Android.libmesa_glsl_utils.mk | 26 # The libmesa_glsl_utils libraries allow us to avoid a circular dependency
|
| /xsrc/external/mit/xset/dist/ |
| xset.c | 561 # define Usleep(us) usleep((us)) 563 # define Usleep(us) Sleep(us) 565 # define Usleep(us) sleep((us / 1000000 > 0) ? us / 1000000 : 1)
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/clc/ |
| clc_compiler_test.cpp | 2025 struct s { uint8_t uc; uint64_t ul; uint16_t us; }; member in struct:s 2029 "struct __attribute__((packed)) s {uchar uc; ulong ul; ushort us; };\n\ 2035 inout[idx].us = ((ulong)(idx + 1 + 0xa0) << 8) | 0x12;\n\ 2048 EXPECT_EQ(inout[i].us, expected[i].us); 2056 struct s { uint8_t uc; uint64_t ul; uint16_t us; }; member in struct:s 2060 "struct __attribute__((packed)) s {uchar uc; ulong ul; ushort us; };\n\ 2066 out[idx].us = in.us + 0x1234;\n\ 2078 EXPECT_EQ(out[i].us, expected[i].us) 2085 struct s { uint8_t uc; uint64_t ul; uint16_t us; }; member in struct:s 2119 struct s { uint8_t uc; uint64_t ul; uint16_t us; }; member in struct:s [all...] |
| /xsrc/external/mit/xf86-video-ast/dist/src/ |
| ast_cursor.c | 342 USHORT us; member in union:__anon6736 391 *((USHORT *) pjDstXor) = usData16.us; 392 ulCheckSum += (ULONG) usData16.us;
|
| /xsrc/external/mit/MesaLib/dist/docs/_extra/specs/ |
| MESA_swap_control.spec | 11 Ian Romanick, IBM, idr at us.ibm.com
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| u_math.h | 349 ushort_to_float(uint16_t us) 351 return (float) us * (1.0f / 65535.0f);
|
| /xsrc/external/mit/MesaLib.old/dist/docs/specs/ |
| MESA_swap_control.spec | 11 Ian Romanick, IBM, idr at us.ibm.com
|