Searched refs:BCOMP (Results 1 - 25 of 63) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_texcombine.c124 rgba[i][BCOMP] = CHAN_TO_FLOAT(rgbaChan[i][BCOMP]);
211 dst[i][BCOMP] = 1.0F - src[i][BCOMP];
218 dst[i][BCOMP] = src[i][ACOMP];
225 dst[i][BCOMP] = 1.0F - src[i][ACOMP];
311 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB;
318 rgba[i][BCOMP] = arg0[i][BCOMP] * arg
[all...]
H A Ds_blend.c146 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP];
154 rgba[i][BCOMP] = (GLubyte) b;
191 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]);
228 GLfloat b = (rgba[i][BCOMP] - dest[i][BCOMP]) * t + dest[i][BCOMP];
[all...]
H A Ds_masking.c88 src[i][BCOMP] = (src[i][BCOMP] & bMask) | (dst[i][BCOMP] & ~bMask);
104 src[i][BCOMP] = (src[i][BCOMP] & bMask) | (dst[i][BCOMP] & ~bMask);
H A Ds_fog.c102 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \
119 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \
145 bFog = ctx->Fog.Color[BCOMP] * 255.0F;
150 bFog = ctx->Fog.Color[BCOMP] * 65535.0F;
155 bFog = ctx->Fog.Color[BCOMP];
H A Ds_triangle.c157 rgba[i][BCOMP] = texture[pos+0]; \
218 rgba[i][BCOMP] = texture[pos+0]; \
286 sample[BCOMP] = tex00[0]; \
292 sample[BCOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]);\
298 sample[BCOMP] = tex00[1]; \
304 sample[BCOMP] = ilerp_2d(sf, tf, tex00[1], tex01[1], tex10[1], tex11[1]);\
310 dest[BCOMP] = span->blue * (sample[BCOMP] + 1u) >> (FIXED_SHIFT + 8); \
320 dest[BCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->blue + \
321 ((sample[ACOMP] + 1) * sample[BCOMP] << FIXED_SHIF
[all...]
H A Ds_aatritemp.h125 compute_plane(p0, p1, p2, v0->color[BCOMP], v1->color[BCOMP], v2->color[BCOMP], bPlane);
131 constant_plane(v2->color[BCOMP], bPlane);
231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane);
294 array->rgba[ix][BCOMP] = solve_plane_chan(cx, cy, bPlane);
H A Ds_aalinetemp.h64 line->span.array->rgba[i][BCOMP] = solve_plane_chan(fx, fy, line->bPlane);
147 v0->color[BCOMP], v1->color[BCOMP], line.bPlane);
154 constant_plane(v1->color[BCOMP], line.bPlane);
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_texcombine.c124 rgba[i][BCOMP] = CHAN_TO_FLOAT(rgbaChan[i][BCOMP]);
211 dst[i][BCOMP] = 1.0F - src[i][BCOMP];
218 dst[i][BCOMP] = src[i][ACOMP];
225 dst[i][BCOMP] = 1.0F - src[i][ACOMP];
311 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB;
318 rgba[i][BCOMP] = arg0[i][BCOMP] * arg
[all...]
H A Ds_blend.c146 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP];
154 rgba[i][BCOMP] = (GLubyte) b;
191 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]);
228 GLfloat b = (rgba[i][BCOMP] - dest[i][BCOMP]) * t + dest[i][BCOMP];
[all...]
H A Ds_masking.c88 src[i][BCOMP] = (src[i][BCOMP] & bMask) | (dst[i][BCOMP] & ~bMask);
104 src[i][BCOMP] = (src[i][BCOMP] & bMask) | (dst[i][BCOMP] & ~bMask);
H A Ds_fog.c102 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \
119 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \
145 bFog = ctx->Fog.Color[BCOMP] * 255.0F;
150 bFog = ctx->Fog.Color[BCOMP] * 65535.0F;
155 bFog = ctx->Fog.Color[BCOMP];
H A Ds_triangle.c157 rgba[i][BCOMP] = texture[pos+0]; \
218 rgba[i][BCOMP] = texture[pos+0]; \
286 sample[BCOMP] = tex00[0]; \
292 sample[BCOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]);\
298 sample[BCOMP] = tex00[1]; \
304 sample[BCOMP] = ilerp_2d(sf, tf, tex00[1], tex01[1], tex10[1], tex11[1]);\
310 dest[BCOMP] = span->blue * (sample[BCOMP] + 1u) >> (FIXED_SHIFT + 8); \
320 dest[BCOMP] = ((CHAN_MAX - sample[ACOMP]) * span->blue + \
321 ((sample[ACOMP] + 1) * sample[BCOMP] << FIXED_SHIF
[all...]
H A Ds_aatritemp.h125 compute_plane(p0, p1, p2, v0->color[BCOMP], v1->color[BCOMP], v2->color[BCOMP], bPlane);
131 constant_plane(v2->color[BCOMP], bPlane);
231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane);
294 array->rgba[ix][BCOMP] = solve_plane_chan(cx, cy, bPlane);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexcompress_s3tc.c262 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
274 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
286 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
298 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
311 texel[BCOMP] = util_format_srgb_8unorm_to_linear_float(tex[BCOMP]);
[all...]
H A Dpixeltransfer.c66 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias;
96 GLfloat b = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
100 rgba[i][BCOMP] = bMap[(int)_mesa_lroundevenf(b * bscale)];
124 rgba[i][BCOMP] = bMap[index[i] & bmask];
186 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
H A Dtexcompress_rgtc.c323 texel[BCOMP] = 0.0;
335 texel[BCOMP] = UBYTE_TO_FLOAT(red);
348 texel[BCOMP] = 0.0;
361 texel[BCOMP] = BYTE_TO_FLOAT(red);
378 texel[BCOMP] = 0.0;
395 texel[BCOMP] = UBYTE_TO_FLOAT(red);
413 texel[BCOMP] = 0.0;
431 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red);
H A Dconfig.h306 #define BCOMP 2 macro
H A Dtexcompress_fxt1.c1389 rgba[RCOMP] = rgba[GCOMP] = rgba[BCOMP] = rgba[ACOMP] = 0;
1408 rgba[BCOMP] = b;
1430 rgba[BCOMP] = UP5(kk);
1449 col[0][BCOMP] = (*(const GLuint *)(code + 11)) >> 6;
1453 col[1][BCOMP] = CC_SEL(cc, 109);
1461 col[0][BCOMP] = CC_SEL(cc, 64);
1465 col[1][BCOMP] = CC_SEL(cc, 79);
1477 rgba[RCOMP] = rgba[BCOMP] = rgba[GCOMP] = rgba[ACOMP] = 0;
1481 b = UP5(col[0][BCOMP]);
1485 b = UP5(col[1][BCOMP]);
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexcompress_s3tc.c271 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
283 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
295 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
307 texel[BCOMP] = UBYTE_TO_FLOAT(tex[BCOMP]);
320 texel[BCOMP] = util_format_srgb_8unorm_to_linear_float(tex[BCOMP]);
[all...]
H A Dpixeltransfer.c66 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias;
96 GLfloat b = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
100 rgba[i][BCOMP] = bMap[(int)_mesa_lroundevenf(b * bscale)];
124 rgba[i][BCOMP] = bMap[index[i] & bmask];
186 rgba[i][BCOMP] = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F);
H A Dtexcompress_rgtc.c322 texel[BCOMP] = 0.0;
334 texel[BCOMP] = UBYTE_TO_FLOAT(red);
347 texel[BCOMP] = 0.0;
360 texel[BCOMP] = BYTE_TO_FLOAT(red);
377 texel[BCOMP] = 0.0;
394 texel[BCOMP] = UBYTE_TO_FLOAT(red);
412 texel[BCOMP] = 0.0;
430 texel[BCOMP] = BYTE_TO_FLOAT_TEX(red);
H A Dconfig.h287 #define BCOMP 2 macro
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_util.h38 return PACK_COLOR_8888(c[ACOMP], c[RCOMP], c[GCOMP], c[BCOMP]);
40 return PACK_COLOR_8888(c[BCOMP], c[GCOMP], c[RCOMP], c[ACOMP]);
42 return PACK_COLOR_8888(0, c[RCOMP], c[GCOMP], c[BCOMP]);
44 return PACK_COLOR_8888(c[BCOMP], c[GCOMP], c[RCOMP], 0);
46 return PACK_COLOR_8888(c[RCOMP], c[GCOMP], c[BCOMP], c[ACOMP]);
48 return PACK_COLOR_8888(c[ACOMP], c[BCOMP], c[GCOMP], c[RCOMP]);
50 return PACK_COLOR_565(c[RCOMP], c[GCOMP], c[BCOMP]);
77 FLOAT_TO_UBYTE(c[BCOMP]),
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_util.h38 return PACK_COLOR_8888(c[ACOMP], c[RCOMP], c[GCOMP], c[BCOMP]);
40 return PACK_COLOR_8888(c[BCOMP], c[GCOMP], c[RCOMP], c[ACOMP]);
42 return PACK_COLOR_8888(0, c[RCOMP], c[GCOMP], c[BCOMP]);
44 return PACK_COLOR_8888(c[BCOMP], c[GCOMP], c[RCOMP], 0);
46 return PACK_COLOR_8888(c[RCOMP], c[GCOMP], c[BCOMP], c[ACOMP]);
48 return PACK_COLOR_8888(c[ACOMP], c[BCOMP], c[GCOMP], c[RCOMP]);
50 return PACK_COLOR_565(c[RCOMP], c[GCOMP], c[BCOMP]);
77 FLOAT_TO_UBYTE(c[BCOMP]),
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format_fxt1.c34 #define BCOMP 2 macro
1266 rgba[RCOMP] = rgba[GCOMP] = rgba[BCOMP] = rgba[ACOMP] = 0;
1285 rgba[BCOMP] = b;
1307 rgba[BCOMP] = UP5(kk);
1326 col[0][BCOMP] = (*(const uint32_t *)(code + 11)) >> 6;
1330 col[1][BCOMP] = CC_SEL(cc, 109);
1338 col[0][BCOMP] = CC_SEL(cc, 64);
1342 col[1][BCOMP] = CC_SEL(cc, 79);
1354 rgba[RCOMP] = rgba[BCOMP] = rgba[GCOMP] = rgba[ACOMP] = 0;
1358 b = UP5(col[0][BCOMP]);
[all...]

Completed in 22 milliseconds

123