Lines Matching refs:GCOMP
101 *d = PACK_COLOR_8888(src[RCOMP], src[GCOMP], src[BCOMP], src[ACOMP]); in pack_ubyte_RGBA8888()
118 d[i] = PACK_COLOR_8888(src[i][RCOMP], src[i][GCOMP], in pack_row_ubyte_RGBA8888()
145 *d = PACK_COLOR_8888(src[ACOMP], src[BCOMP], src[GCOMP], src[RCOMP]); in pack_ubyte_RGBA8888_REV()
163 src[i][GCOMP], src[i][RCOMP]); in pack_row_ubyte_RGBA8888_REV()
188 *d = PACK_COLOR_8888(src[ACOMP], src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_ARGB8888()
206 src[i][GCOMP], src[i][BCOMP]); in pack_row_ubyte_ARGB8888()
231 *d = PACK_COLOR_8888(src[BCOMP], src[GCOMP], src[RCOMP], src[ACOMP]); in pack_ubyte_ARGB8888_REV()
248 d[i] = PACK_COLOR_8888(src[i][BCOMP], src[i][GCOMP], in pack_row_ubyte_ARGB8888_REV()
274 *d = PACK_COLOR_8888(0x0, src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_XRGB8888()
291 d[i] = PACK_COLOR_8888(0, src[i][RCOMP], src[i][GCOMP], src[i][BCOMP]); in pack_row_ubyte_XRGB8888()
316 *d = PACK_COLOR_8888(src[BCOMP], src[GCOMP], src[RCOMP], 0); in pack_ubyte_XRGB8888_REV()
333 d[i] = PACK_COLOR_8888(src[i][BCOMP], src[i][GCOMP], src[i][RCOMP], 0); in pack_row_ubyte_XRGB8888_REV()
359 d[1] = src[GCOMP]; in pack_ubyte_RGB888()
368 UNCLAMPED_FLOAT_TO_UBYTE(d[1], src[GCOMP]); in pack_float_RGB888()
379 d[i*3+1] = src[i][GCOMP]; in pack_row_ubyte_RGB888()
393 d[i*3+1] = v[GCOMP]; in pack_row_float_RGB888()
408 d[1] = src[GCOMP]; in pack_ubyte_BGR888()
417 UNCLAMPED_FLOAT_TO_UBYTE(d[1], src[GCOMP]); in pack_float_BGR888()
428 d[i*3+1] = src[i][GCOMP]; in pack_row_ubyte_BGR888()
442 d[i*3+1] = v[GCOMP]; in pack_row_float_BGR888()
456 *d = PACK_COLOR_565(src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_RGB565()
464 UNCLAMPED_FLOAT_TO_UBYTE(v[1], src[GCOMP]); in pack_float_RGB565()
500 *d = PACK_COLOR_565_REV(src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_RGB565_REV()
509 UNCLAMPED_FLOAT_TO_UBYTE(g, src[GCOMP]); in pack_float_RGB565_REV()
545 *d = PACK_COLOR_4444(src[ACOMP], src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_ARGB4444()
567 *d = PACK_COLOR_4444(src[GCOMP], src[BCOMP], src[ACOMP], src[RCOMP]); in pack_ubyte_ARGB4444_REV()
589 *d = PACK_COLOR_5551(src[RCOMP], src[GCOMP], src[BCOMP], src[ACOMP]); in pack_ubyte_RGBA5551()
611 *d = PACK_COLOR_1555(src[ACOMP], src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_ARGB1555()
629 tmp = PACK_COLOR_1555(src[ACOMP], src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_ARGB1555_REV()
749 *d = PACK_COLOR_332(src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_RGB332()
757 UNCLAMPED_FLOAT_TO_UBYTE(v[1], src[GCOMP]); in pack_float_RGB332()
886 *d = PACK_COLOR_88(src[GCOMP], src[RCOMP]); in pack_ubyte_GR88()
895 UNCLAMPED_FLOAT_TO_UBYTE(g, src[GCOMP]); in pack_float_GR88()
906 *d = PACK_COLOR_88(src[RCOMP], src[GCOMP]); in pack_ubyte_RG88()
915 UNCLAMPED_FLOAT_TO_UBYTE(g, src[GCOMP]); in pack_float_RG88()
944 GLushort g = UBYTE_TO_USHORT(src[GCOMP]); in pack_ubyte_RG1616()
954 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in pack_float_RG1616()
966 GLushort g = UBYTE_TO_USHORT(src[GCOMP]); in pack_ubyte_RG1616_REV()
977 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in pack_float_RG1616_REV()
989 GLushort g = UBYTE_TO_USHORT(src[GCOMP]); in pack_ubyte_ARGB2101010()
1001 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in pack_float_ARGB2101010()
1015 GLushort g = UBYTE_TO_USHORT(src[GCOMP]); in pack_ubyte_ABGR2101010_UINT()
1027 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in pack_float_ABGR2101010_UINT()
1050 d[1] = linear_float_to_srgb_ubyte(src[GCOMP]); in pack_float_SRGB8()
1062 GLubyte g = linear_ubyte_to_srgb_ubyte(src[GCOMP]); in pack_ubyte_SRGBA8()
1073 g = linear_float_to_srgb_ubyte(src[GCOMP]); in pack_float_SRGBA8()
1098 g = linear_float_to_srgb_ubyte(src[GCOMP]); in pack_float_SARGB8()
1344 d[1] = UBYTE_TO_FLOAT(src[GCOMP]); in pack_ubyte_RG_FLOAT32()
1352 d[1] = src[GCOMP]; in pack_float_RG_FLOAT32()
1363 d[1] = _mesa_float_to_half(UBYTE_TO_FLOAT(src[GCOMP])); in pack_ubyte_RG_FLOAT16()
1371 d[1] = _mesa_float_to_half(src[GCOMP]); in pack_float_RG_FLOAT16()
1403 d[1] = UBYTE_TO_USHORT(src[GCOMP]); in pack_ubyte_RGBA_16()
1413 UNCLAMPED_FLOAT_TO_USHORT(d[1], src[GCOMP]); in pack_float_RGBA_16()
1441 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RG88_REV()
1455 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBX8888()
1471 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA8888()
1487 GLbyte g = FLOAT_TO_BYTE(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA8888_REV()
1515 GLshort g = FLOAT_TO_SHORT(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_GR1616()
1529 d[1] = FLOAT_TO_SHORT(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGB_16()
1543 d[1] = FLOAT_TO_SHORT(CLAMP(src[GCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA_16()
1642 rgb[1] = UBYTE_TO_FLOAT(src[GCOMP]); in pack_ubyte_RGB9_E5_FLOAT()
1659 rgb[1] = UBYTE_TO_FLOAT(src[GCOMP]); in pack_ubyte_R11_G11_B10_FLOAT()