Lines Matching refs:luminance
1264 GLfloat *luminance; in _mesa_pack_rgba_span_float() local
1273 luminance = (GLfloat *) malloc(n * sizeof(GLfloat)); in _mesa_pack_rgba_span_float()
1274 if (!luminance) { in _mesa_pack_rgba_span_float()
1280 luminance = NULL; in _mesa_pack_rgba_span_float()
1315 luminance[i] = CLAMP(sum, 0.0F, 1.0F); in _mesa_pack_rgba_span_float()
1320 luminance[i] = rgba[i][RCOMP] + rgba[i][GCOMP] + rgba[i][BCOMP]; in _mesa_pack_rgba_span_float()
1351 dst[i] = FLOAT_TO_UBYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1355 dst[i*2+0] = FLOAT_TO_UBYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1508 dst[i] = FLOAT_TO_BYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1512 dst[i*2+0] = FLOAT_TO_BYTE(luminance[i]); in _mesa_pack_rgba_span_float()
1665 UNCLAMPED_FLOAT_TO_USHORT(dst[i], luminance[i]); in _mesa_pack_rgba_span_float()
1669 UNCLAMPED_FLOAT_TO_USHORT(dst[i*2+0], luminance[i]); in _mesa_pack_rgba_span_float()
1822 dst[i] = FLOAT_TO_SHORT(luminance[i]); in _mesa_pack_rgba_span_float()
1826 dst[i*2+0] = FLOAT_TO_SHORT(luminance[i]); in _mesa_pack_rgba_span_float()
1979 dst[i] = FLOAT_TO_UINT(luminance[i]); in _mesa_pack_rgba_span_float()
1983 dst[i*2+0] = FLOAT_TO_UINT(luminance[i]); 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()
2293 dst[i] = luminance[i]; in _mesa_pack_rgba_span_float()
2297 dst[i*2+0] = luminance[i]; in _mesa_pack_rgba_span_float()
2379 dst[i] = _mesa_float_to_half(luminance[i]); in _mesa_pack_rgba_span_float()
2383 dst[i*2+0] = _mesa_float_to_half(luminance[i]); in _mesa_pack_rgba_span_float()
2733 free(luminance); in _mesa_pack_rgba_span_float()
2747 free(luminance); in _mesa_pack_rgba_span_float()