Home
last modified time | relevance | path

Searched refs:FLOAT_TO_INT (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/main/
Dlight.c397 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[0]); in _mesa_GetLightiv()
398 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[1]); in _mesa_GetLightiv()
399 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[2]); in _mesa_GetLightiv()
400 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[3]); in _mesa_GetLightiv()
403 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[0]); in _mesa_GetLightiv()
404 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[1]); in _mesa_GetLightiv()
405 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[2]); in _mesa_GetLightiv()
406 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[3]); in _mesa_GetLightiv()
409 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[0]); in _mesa_GetLightiv()
410 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[1]); in _mesa_GetLightiv()
[all …]
Dtexenv.c747 params[0] = FLOAT_TO_INT( texUnit->EnvColor[0] ); in _mesa_GetTexEnviv()
748 params[1] = FLOAT_TO_INT( texUnit->EnvColor[1] ); in _mesa_GetTexEnviv()
749 params[2] = FLOAT_TO_INT( texUnit->EnvColor[2] ); in _mesa_GetTexEnviv()
750 params[3] = FLOAT_TO_INT( texUnit->EnvColor[3] ); in _mesa_GetTexEnviv()
880 param[0] = FLOAT_TO_INT(texUnit->RotMatrix[0]); in _mesa_GetTexBumpParameterivATI()
881 param[1] = FLOAT_TO_INT(texUnit->RotMatrix[1]); in _mesa_GetTexBumpParameterivATI()
882 param[2] = FLOAT_TO_INT(texUnit->RotMatrix[2]); in _mesa_GetTexBumpParameterivATI()
883 param[3] = FLOAT_TO_INT(texUnit->RotMatrix[3]); in _mesa_GetTexBumpParameterivATI()
Dpack.c2120 dst[i] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2124 dst[i] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2128 dst[i] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2132 dst[i] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2136 dst[i] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()
2140 dst[i*2+0] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()
2141 dst[i*2+1] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2146 dst[i*2+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2147 dst[i*2+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2152 dst[i*3+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
[all …]
Dtexparam.c1509 params[0] = FLOAT_TO_INT(b[0]); in _mesa_GetTexParameteriv()
1510 params[1] = FLOAT_TO_INT(b[1]); in _mesa_GetTexParameteriv()
1511 params[2] = FLOAT_TO_INT(b[2]); in _mesa_GetTexParameteriv()
1512 params[3] = FLOAT_TO_INT(b[3]); in _mesa_GetTexParameteriv()
1525 *params = FLOAT_TO_INT(obj->Priority); in _mesa_GetTexParameteriv()
Dsamplerobj.c1176 params[0] = FLOAT_TO_INT(sampObj->BorderColor.f[0]); in _mesa_GetSamplerParameteriv()
1177 params[1] = FLOAT_TO_INT(sampObj->BorderColor.f[1]); in _mesa_GetSamplerParameteriv()
1178 params[2] = FLOAT_TO_INT(sampObj->BorderColor.f[2]); in _mesa_GetSamplerParameteriv()
1179 params[3] = FLOAT_TO_INT(sampObj->BorderColor.f[3]); in _mesa_GetSamplerParameteriv()
Dget.c2271 params[3] = FLOAT_TO_INT(((GLfloat *) p)[3]); in _mesa_GetIntegerv()
2273 params[2] = FLOAT_TO_INT(((GLfloat *) p)[2]); in _mesa_GetIntegerv()
2275 params[1] = FLOAT_TO_INT(((GLfloat *) p)[1]); in _mesa_GetIntegerv()
2277 params[0] = FLOAT_TO_INT(((GLfloat *) p)[0]); in _mesa_GetIntegerv()
2281 params[0] = FLOAT_TO_INT(((GLdouble *) p)[0]); in _mesa_GetIntegerv()
2312 params[i] = FLOAT_TO_INT(m->m[i]); in _mesa_GetIntegerv()
2318 params[i] = FLOAT_TO_INT(m->m[transpose[i]]); in _mesa_GetIntegerv()
Dmacros.h106 #define FLOAT_TO_INT(X) ( (GLint) (2147483647.0 * (X)) ) macro
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dlight.c397 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[0]); in _mesa_GetLightiv()
398 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[1]); in _mesa_GetLightiv()
399 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[2]); in _mesa_GetLightiv()
400 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[3]); in _mesa_GetLightiv()
403 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[0]); in _mesa_GetLightiv()
404 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[1]); in _mesa_GetLightiv()
405 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[2]); in _mesa_GetLightiv()
406 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[3]); in _mesa_GetLightiv()
409 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[0]); in _mesa_GetLightiv()
410 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[1]); in _mesa_GetLightiv()
[all …]
Dtexenv.c747 params[0] = FLOAT_TO_INT( texUnit->EnvColor[0] ); in _mesa_GetTexEnviv()
748 params[1] = FLOAT_TO_INT( texUnit->EnvColor[1] ); in _mesa_GetTexEnviv()
749 params[2] = FLOAT_TO_INT( texUnit->EnvColor[2] ); in _mesa_GetTexEnviv()
750 params[3] = FLOAT_TO_INT( texUnit->EnvColor[3] ); in _mesa_GetTexEnviv()
880 param[0] = FLOAT_TO_INT(texUnit->RotMatrix[0]); in _mesa_GetTexBumpParameterivATI()
881 param[1] = FLOAT_TO_INT(texUnit->RotMatrix[1]); in _mesa_GetTexBumpParameterivATI()
882 param[2] = FLOAT_TO_INT(texUnit->RotMatrix[2]); in _mesa_GetTexBumpParameterivATI()
883 param[3] = FLOAT_TO_INT(texUnit->RotMatrix[3]); in _mesa_GetTexBumpParameterivATI()
Dpack.c2120 dst[i] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2124 dst[i] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2128 dst[i] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()
2132 dst[i] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2136 dst[i] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()
2140 dst[i*2+0] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()
2141 dst[i*2+1] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()
2146 dst[i*2+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
2147 dst[i*2+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()
2152 dst[i*3+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
[all …]
Dtexparam.c1509 params[0] = FLOAT_TO_INT(b[0]); in _mesa_GetTexParameteriv()
1510 params[1] = FLOAT_TO_INT(b[1]); in _mesa_GetTexParameteriv()
1511 params[2] = FLOAT_TO_INT(b[2]); in _mesa_GetTexParameteriv()
1512 params[3] = FLOAT_TO_INT(b[3]); in _mesa_GetTexParameteriv()
1525 *params = FLOAT_TO_INT(obj->Priority); in _mesa_GetTexParameteriv()
Dsamplerobj.c1176 params[0] = FLOAT_TO_INT(sampObj->BorderColor.f[0]); in _mesa_GetSamplerParameteriv()
1177 params[1] = FLOAT_TO_INT(sampObj->BorderColor.f[1]); in _mesa_GetSamplerParameteriv()
1178 params[2] = FLOAT_TO_INT(sampObj->BorderColor.f[2]); in _mesa_GetSamplerParameteriv()
1179 params[3] = FLOAT_TO_INT(sampObj->BorderColor.f[3]); in _mesa_GetSamplerParameteriv()
Dget.c2271 params[3] = FLOAT_TO_INT(((GLfloat *) p)[3]); in _mesa_GetIntegerv()
2273 params[2] = FLOAT_TO_INT(((GLfloat *) p)[2]); in _mesa_GetIntegerv()
2275 params[1] = FLOAT_TO_INT(((GLfloat *) p)[1]); in _mesa_GetIntegerv()
2277 params[0] = FLOAT_TO_INT(((GLfloat *) p)[0]); in _mesa_GetIntegerv()
2281 params[0] = FLOAT_TO_INT(((GLdouble *) p)[0]); in _mesa_GetIntegerv()
2312 params[i] = FLOAT_TO_INT(m->m[i]); in _mesa_GetIntegerv()
2318 params[i] = FLOAT_TO_INT(m->m[transpose[i]]); in _mesa_GetIntegerv()
Dmacros.h106 #define FLOAT_TO_INT(X) ( (GLint) (2147483647.0 * (X)) ) macro
/external/dexmaker/src/dx/java/com/android/dx/io/
DOpcodes.java170 public static final int FLOAT_TO_INT = 0x87; field in Opcodes
DOpcodeInfo.java566 public static final Info FLOAT_TO_INT = field in OpcodeInfo
567 new Info(Opcodes.FLOAT_TO_INT, "float-to-int",
1231 set(FLOAT_TO_INT);
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DDops.java573 public static final Dop FLOAT_TO_INT = field in Dops
574 new Dop(Opcodes.FLOAT_TO_INT, Opcodes.FLOAT_TO_INT,
1232 set(FLOAT_TO_INT);
DRopToDop.java360 MAP.put(Rops.CONV_F2I, Dops.FLOAT_TO_INT); in MAP.put() argument
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcode.java162FLOAT_TO_INT((short)0x87, "float-to-int", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINU… enumConstant
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java787 case FLOAT_TO_INT: