| /xsrc/external/mit/MesaLib/dist/src/mesa/x86/ |
| mmx.h | 36 GLvoid *rgba, const GLvoid *dest, 41 GLvoid *rgba, const GLvoid *dest, 46 GLvoid *rgba, const GLvoid *dest, 51 GLvoid *rgba, const GLvoid *dest, 56 GLvoid *rgba, const GLvoid *dest,
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/x86/ |
| mmx.h | 36 GLvoid *rgba, const GLvoid *dest, 41 GLvoid *rgba, const GLvoid *dest, 46 GLvoid *rgba, const GLvoid *dest, 51 GLvoid *rgba, const GLvoid *dest, 56 GLvoid *rgba, const GLvoid *dest,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| s_blend.c | 121 GLubyte (*rgba)[4] = (GLubyte (*)[4]) src; 137 const GLint t = rgba[i][ACOMP]; /* t is in [0, 255] */ 140 COPY_4UBV(rgba[i], dest[i]); 144 const GLint r = DIV255((rgba[i][RCOMP] - dest[i][RCOMP]) * t) + dest[i][RCOMP]; 145 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP]; 146 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; 147 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; 152 rgba[i][RCOMP] = (GLubyte) r; 153 rgba[i][GCOMP] = (GLubyte) g; 154 rgba[i][BCOMP] = (GLubyte) b [all...] |
| s_fog.c | 100 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \ 101 rgba[i][GCOMP] = (TYPE) (f * rgba[i][GCOMP] + oneMinusF * gFog); \ 102 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \ 117 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \ 118 rgba[i][GCOMP] = (TYPE) (f * rgba[i][GCOMP] + oneMinusF * gFog); [all...] |
| s_texcombine.c | 78 * span->array->rgba: incoming/result fragment colors 96 float4_array ccolor[4], rgba; local 99 GLchan (*rgbaChan)[4] = span->array->rgba; 102 rgba = malloc(4 * n * sizeof(GLfloat)); 103 if (!rgba) { 116 free(rgba); 122 rgba[i][RCOMP] = CHAN_TO_FLOAT(rgbaChan[i][RCOMP]); 123 rgba[i][GCOMP] = CHAN_TO_FLOAT(rgbaChan[i][GCOMP]); 124 rgba[i][BCOMP] = CHAN_TO_FLOAT(rgbaChan[i][BCOMP]); 125 rgba[i][ACOMP] = CHAN_TO_FLOAT(rgbaChan[i][ACOMP]) [all...] |
| s_texfilter.c | 775 GLfloat rgba[4]) 779 rgba[0] = samp->Attrib.state.border_color.f[0]; 780 rgba[1] = samp->Attrib.state.border_color.f[1]; 781 rgba[2] = samp->Attrib.state.border_color.f[2]; 782 rgba[3] = 1.0F; 785 rgba[0] = rgba[1] = rgba[2] = 0.0; 786 rgba[3] = samp->Attrib.state.border_color.f[3]; 789 rgba[0] = rgba[1] = rgba[2] = samp->Attrib.state.border_color.f[0] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| s_blend.c | 121 GLubyte (*rgba)[4] = (GLubyte (*)[4]) src; 137 const GLint t = rgba[i][ACOMP]; /* t is in [0, 255] */ 140 COPY_4UBV(rgba[i], dest[i]); 144 const GLint r = DIV255((rgba[i][RCOMP] - dest[i][RCOMP]) * t) + dest[i][RCOMP]; 145 const GLint g = DIV255((rgba[i][GCOMP] - dest[i][GCOMP]) * t) + dest[i][GCOMP]; 146 const GLint b = DIV255((rgba[i][BCOMP] - dest[i][BCOMP]) * t) + dest[i][BCOMP]; 147 const GLint a = DIV255((rgba[i][ACOMP] - dest[i][ACOMP]) * t) + dest[i][ACOMP]; 152 rgba[i][RCOMP] = (GLubyte) r; 153 rgba[i][GCOMP] = (GLubyte) g; 154 rgba[i][BCOMP] = (GLubyte) b [all...] |
| s_fog.c | 100 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \ 101 rgba[i][GCOMP] = (TYPE) (f * rgba[i][GCOMP] + oneMinusF * gFog); \ 102 rgba[i][BCOMP] = (TYPE) (f * rgba[i][BCOMP] + oneMinusF * bFog); \ 117 rgba[i][RCOMP] = (TYPE) (f * rgba[i][RCOMP] + oneMinusF * rFog); \ 118 rgba[i][GCOMP] = (TYPE) (f * rgba[i][GCOMP] + oneMinusF * gFog); [all...] |
| s_texcombine.c | 78 * span->array->rgba: incoming/result fragment colors 96 float4_array ccolor[4], rgba; local 99 GLchan (*rgbaChan)[4] = span->array->rgba; 102 rgba = malloc(4 * n * sizeof(GLfloat)); 103 if (!rgba) { 116 free(rgba); 122 rgba[i][RCOMP] = CHAN_TO_FLOAT(rgbaChan[i][RCOMP]); 123 rgba[i][GCOMP] = CHAN_TO_FLOAT(rgbaChan[i][GCOMP]); 124 rgba[i][BCOMP] = CHAN_TO_FLOAT(rgbaChan[i][BCOMP]); 125 rgba[i][ACOMP] = CHAN_TO_FLOAT(rgbaChan[i][ACOMP]) [all...] |
| s_texfilter.c | 775 GLfloat rgba[4]) 779 rgba[0] = samp->BorderColor.f[0]; 780 rgba[1] = samp->BorderColor.f[1]; 781 rgba[2] = samp->BorderColor.f[2]; 782 rgba[3] = 1.0F; 785 rgba[0] = rgba[1] = rgba[2] = 0.0; 786 rgba[3] = samp->BorderColor.f[3]; 789 rgba[0] = rgba[1] = rgba[2] = samp->BorderColor.f[0] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| pixeltransfer.c | 42 * Apply scale and bias factors to an array of RGBA pixels. 45 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 54 rgba[i][RCOMP] = rgba[i][RCOMP] * rScale + rBias; 60 rgba[i][GCOMP] = rgba[i][GCOMP] * gScale + gBias; 66 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias; 72 rgba[i][ACOMP] = rgba[i][ACOMP] * aScale + aBias [all...] |
| pixeltransfer.h | 37 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 44 _mesa_map_rgba(const struct gl_context *ctx, GLuint n, GLfloat rgba[][4]); 48 GLuint n, const GLuint index[], GLfloat rgba[][4]); 61 GLuint n, GLfloat rgba[][4]);
|
| accum.c | 233 GLfloat (*rgba)[4]; 235 rgba = malloc(width * 4 * sizeof(GLfloat)); 236 if (rgba) { 241 _mesa_unpack_rgba_row(colorRb->Format, width, colorMap, rgba); 245 acc[i * 4 + 0] = (GLshort) (rgba[i][RCOMP] * scale); 246 acc[i * 4 + 1] = (GLshort) (rgba[i][GCOMP] * scale); 247 acc[i * 4 + 2] = (GLshort) (rgba[i][BCOMP] * scale); 248 acc[i * 4 + 3] = (GLshort) (rgba[i][ACOMP] * scale); 254 acc[i * 4 + 0] += (GLshort) (rgba[i][RCOMP] * scale); 255 acc[i * 4 + 1] += (GLshort) (rgba[i][GCOMP] * scale) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| sp_buffer.c | 52 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) 87 rgba[c][j] = 0; 93 ((uint32_t *)rgba[c])[j] = sdata[0]; 99 memset(rgba, 0, TGSI_NUM_CHANNELS * TGSI_QUAD_SIZE * 4); 110 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) 147 temp[0] = ((uint32_t *)rgba[c])[j]; 164 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], 180 ((uint32_t *)rgba[c])[qi] = sdata[c]; 189 sdata[c] += ((uint32_t *)rgba[c])[qi]; 190 ((uint32_t *)rgba[c])[qi] = temp [all...] |
| sp_image.c | 209 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) 252 rgba[c][j] = 0; 255 ((int32_t *)rgba[c])[j] = 1; 257 rgba[c][j] = 1.0; 273 ((int32_t *)rgba[c])[j] = sdata[c]; 281 ((uint32_t *)rgba[c])[j] = sdata[c]; 289 rgba[c][j] = sdata[c]; 296 rgba[c][j] = 0; 311 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) 358 sdata[c] = ((int32_t *)rgba[c])[j] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| pixeltransfer.c | 42 * Apply scale and bias factors to an array of RGBA pixels. 45 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 54 rgba[i][RCOMP] = rgba[i][RCOMP] * rScale + rBias; 60 rgba[i][GCOMP] = rgba[i][GCOMP] * gScale + gBias; 66 rgba[i][BCOMP] = rgba[i][BCOMP] * bScale + bBias; 72 rgba[i][ACOMP] = rgba[i][ACOMP] * aScale + aBias [all...] |
| pixeltransfer.h | 37 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4], 44 _mesa_map_rgba(const struct gl_context *ctx, GLuint n, GLfloat rgba[][4]); 48 GLuint n, const GLuint index[], GLfloat rgba[][4]); 61 GLuint n, GLfloat rgba[][4]);
|
| /xsrc/external/mit/mesa-demos/dist/src/rbug/ |
| bin_to_bmp.c | 65 float *rgba; local 75 rgba = MALLOC(dst_size); 90 &rgba[width*4*i], dst_stride); 93 debug_dump_float_rgba_bmp(filename, width, height, rgba, width); 95 FREE(rgba);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_pixeltransfer.c | 71 float rgba[4]; local 72 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; 73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; 74 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; 75 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; 76 util_pack_color(rgba, pt->format, &uc);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_atom_pixeltransfer.c | 71 float rgba[4]; local 72 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; 73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; 74 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; 75 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; 76 util_pack_color(rgba, pt->format, &uc);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_debug_image.h | 60 float *rgba, unsigned stride); 63 const ubyte *rgba, unsigned stride); 69 #define debug_dump_float_rgba_bmp(filename, width, height, rgba, stride) ((void)0) 70 #define debug_dump_ubyte_rgba_bmp(filename, width, height, rgba, stride) ((void)0)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| sp_image.c | 209 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) 252 rgba[c][j] = 0; 255 ((int32_t *)rgba[c])[j] = 1; 257 rgba[c][j] = 1.0; 271 ((uint32_t *)rgba[c])[j] = sdata[c]; 277 rgba[c][j] = 0; 292 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]) 338 sdata[c] = ((uint32_t *)rgba[c])[j]; 357 float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE], 371 ((uint32_t *)rgba[c])[qi] = sdata[c] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_debug_image.h | 60 float *rgba, unsigned stride); 63 const ubyte *rgba, unsigned stride); 69 #define debug_dump_float_rgba_bmp(filename, width, height, rgba, stride) ((void)0) 70 #define debug_dump_ubyte_rgba_bmp(filename, width, height, rgba, stride) ((void)0)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_format_yuv.c | 322 LLVMValueRef rgba; local 349 rgba = r; 350 rgba = LLVMBuildOr(builder, rgba, g, ""); 351 rgba = LLVMBuildOr(builder, rgba, b, ""); 352 rgba = LLVMBuildOr(builder, rgba, a, ""); 354 rgba = LLVMBuildBitCast(builder, rgba, 372 LLVMValueRef rgba; local 393 LLVMValueRef rgba; local 413 LLVMValueRef rgba; local 432 LLVMValueRef rgba; local 450 LLVMValueRef rgba; local 469 LLVMValueRef rgba; local 493 LLVMValueRef rgba; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_format_yuv.c | 322 LLVMValueRef rgba; local 349 rgba = r; 350 rgba = LLVMBuildOr(builder, rgba, g, ""); 351 rgba = LLVMBuildOr(builder, rgba, b, ""); 352 rgba = LLVMBuildOr(builder, rgba, a, ""); 354 rgba = LLVMBuildBitCast(builder, rgba, 372 LLVMValueRef rgba; local 393 LLVMValueRef rgba; local 413 LLVMValueRef rgba; local 432 LLVMValueRef rgba; local 450 LLVMValueRef rgba; local 469 LLVMValueRef rgba; local 493 LLVMValueRef rgba; local [all...] |