Searched refs:BYTE_TO_FLOAT_TEX (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Dtexcompress_rgtc.c318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red);
354 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red);
355 texel[GCOMP] = BYTE_TO_FLOAT_TEX(green);
386 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red);
422 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red);
423 texel[ACOMP] = BYTE_TO_FLOAT_TEX(green);
H A Dformat_unpack.c1161 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( s[i] );
1174 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] & 0xff) );
1175 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) );
1187 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) );
1188 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) );
1189 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) );
1200 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) );
1201 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) );
1202 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) );
1203 dst[i][ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyt
[all...]
H A Dmacros.h62 #define BYTE_TO_FLOAT_TEX(B) ((B) == -128 ? -1.0F : (B) * (1.0F/127.0F)) macro
/external/mesa3d/src/mesa/swrast/
H A Ds_texfetch_tmp.h1161 texel[RCOMP] = BYTE_TO_FLOAT_TEX( s );
1179 texel[ACOMP] = BYTE_TO_FLOAT_TEX( s );
1193 texel[BCOMP] = BYTE_TO_FLOAT_TEX( s );
1209 texel[ACOMP] = BYTE_TO_FLOAT_TEX( s );
1221 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s & 0xff) );
1222 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) );
1238 texel[BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s & 0xff) );
1239 texel[ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 8) );
1251 texel[RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s >> 24) );
1252 texel[GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyt
[all...]

Completed in 131 milliseconds