Lines Matching refs:RCOMP
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()
205 d[i] = PACK_COLOR_8888(src[i][ACOMP], src[i][RCOMP], in pack_row_ubyte_ARGB8888()
231 *d = PACK_COLOR_8888(src[BCOMP], src[GCOMP], src[RCOMP], src[ACOMP]); in pack_ubyte_ARGB8888_REV()
249 src[i][RCOMP], src[i][ACOMP]); 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()
358 d[2] = src[RCOMP]; in pack_ubyte_RGB888()
367 UNCLAMPED_FLOAT_TO_UBYTE(d[2], src[RCOMP]); in pack_float_RGB888()
378 d[i*3+2] = src[i][RCOMP]; in pack_row_ubyte_RGB888()
392 d[i*3+2] = v[RCOMP]; in pack_row_float_RGB888()
409 d[0] = src[RCOMP]; in pack_ubyte_BGR888()
418 UNCLAMPED_FLOAT_TO_UBYTE(d[0], src[RCOMP]); in pack_float_BGR888()
429 d[i*3+0] = src[i][RCOMP]; in pack_row_ubyte_BGR888()
443 d[i*3+0] = v[RCOMP]; in pack_row_float_BGR888()
456 *d = PACK_COLOR_565(src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_RGB565()
463 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_RGB565()
500 *d = PACK_COLOR_565_REV(src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_RGB565_REV()
508 UNCLAMPED_FLOAT_TO_UBYTE(r, src[RCOMP]); 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()
648 *d = PACK_COLOR_44(src[ACOMP], src[RCOMP]); in pack_ubyte_AL44()
655 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_AL44()
667 *d = PACK_COLOR_88(src[ACOMP], src[RCOMP]); in pack_ubyte_AL88()
674 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_AL88()
686 *d = PACK_COLOR_88(src[RCOMP], src[ACOMP]); in pack_ubyte_AL88_REV()
693 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_AL88_REV()
705 GLushort l = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_AL1616()
715 UNCLAMPED_FLOAT_TO_USHORT(l, src[RCOMP]); in pack_float_AL1616()
727 GLushort l = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_AL1616_REV()
737 UNCLAMPED_FLOAT_TO_USHORT(l, src[RCOMP]); in pack_float_AL1616_REV()
749 *d = PACK_COLOR_332(src[RCOMP], src[GCOMP], src[BCOMP]); in pack_ubyte_RGB332()
756 UNCLAMPED_FLOAT_TO_UBYTE(v[0], src[RCOMP]); in pack_float_RGB332()
803 *d = src[RCOMP]; in pack_ubyte_L8()
810 UNCLAMPED_FLOAT_TO_UBYTE(d[0], src[RCOMP]); in pack_float_L8()
820 *d = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_L16()
827 UNCLAMPED_FLOAT_TO_USHORT(d[0], src[RCOMP]); in pack_float_L16()
867 *d = src[RCOMP]; in pack_ubyte_R8()
875 UNCLAMPED_FLOAT_TO_UBYTE(r, src[RCOMP]); in pack_float_R8()
886 *d = PACK_COLOR_88(src[GCOMP], src[RCOMP]); in pack_ubyte_GR88()
894 UNCLAMPED_FLOAT_TO_UBYTE(r, src[RCOMP]); in pack_float_GR88()
906 *d = PACK_COLOR_88(src[RCOMP], src[GCOMP]); in pack_ubyte_RG88()
914 UNCLAMPED_FLOAT_TO_UBYTE(r, src[RCOMP]); in pack_float_RG88()
926 *d = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_R16()
933 UNCLAMPED_FLOAT_TO_USHORT(d[0], src[RCOMP]); in pack_float_R16()
943 GLushort r = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_RG1616()
953 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in pack_float_RG1616()
965 GLushort r = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_RG1616_REV()
976 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in pack_float_RG1616_REV()
988 GLushort r = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_ARGB2101010()
1000 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in pack_float_ARGB2101010()
1014 GLushort r = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_ABGR2101010_UINT()
1026 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in pack_float_ABGR2101010_UINT()
1040 d[2] = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SRGB8()
1041 d[1] = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SRGB8()
1042 d[0] = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SRGB8()
1049 d[2] = linear_float_to_srgb_ubyte(src[RCOMP]); in pack_float_SRGB8()
1061 GLubyte r = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SRGBA8()
1072 r = linear_float_to_srgb_ubyte(src[RCOMP]); in pack_float_SRGBA8()
1086 GLubyte r = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SARGB8()
1087 GLubyte g = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SARGB8()
1088 GLubyte b = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SARGB8()
1097 r = linear_float_to_srgb_ubyte(src[RCOMP]); in pack_float_SARGB8()
1111 *d = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SL8()
1118 GLubyte l = linear_float_to_srgb_ubyte(src[RCOMP]); in pack_float_SL8()
1129 GLubyte l = linear_ubyte_to_srgb_ubyte(src[RCOMP]); in pack_ubyte_SLA8()
1137 GLubyte a, l = linear_float_to_srgb_ubyte(src[RCOMP]); in pack_float_SLA8()
1271 d[0] = UBYTE_TO_FLOAT(src[RCOMP]); in pack_ubyte_LUMINANCE_FLOAT32()
1278 d[0] = src[RCOMP]; in pack_float_LUMINANCE_FLOAT32()
1288 d[0] = _mesa_float_to_half(UBYTE_TO_FLOAT(src[RCOMP])); in pack_ubyte_LUMINANCE_FLOAT16()
1295 d[0] = _mesa_float_to_half(src[RCOMP]); in pack_float_LUMINANCE_FLOAT16()
1305 d[0] = UBYTE_TO_FLOAT(src[RCOMP]); in pack_ubyte_LUMINANCE_ALPHA_FLOAT32()
1313 d[0] = src[RCOMP]; in pack_float_LUMINANCE_ALPHA_FLOAT32()
1324 d[0] = _mesa_float_to_half(UBYTE_TO_FLOAT(src[RCOMP])); in pack_ubyte_LUMINANCE_ALPHA_FLOAT16()
1332 d[0] = _mesa_float_to_half(src[RCOMP]); in pack_float_LUMINANCE_ALPHA_FLOAT16()
1343 d[0] = UBYTE_TO_FLOAT(src[RCOMP]); in pack_ubyte_RG_FLOAT32()
1351 d[0] = src[RCOMP]; in pack_float_RG_FLOAT32()
1362 d[0] = _mesa_float_to_half(UBYTE_TO_FLOAT(src[RCOMP])); in pack_ubyte_RG_FLOAT16()
1370 d[0] = _mesa_float_to_half(src[RCOMP]); in pack_float_RG_FLOAT16()
1402 d[0] = UBYTE_TO_USHORT(src[RCOMP]); in pack_ubyte_RGBA_16()
1412 UNCLAMPED_FLOAT_TO_USHORT(d[0], src[RCOMP]); in pack_float_RGBA_16()
1428 *d = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_R8()
1440 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RG88_REV()
1454 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBX8888()
1470 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA8888()
1486 GLbyte r = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA8888_REV()
1502 *d = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_R16()
1514 GLshort r = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_GR1616()
1528 d[0] = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGB_16()
1542 d[0] = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_RGBA_16()
1569 *d = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_L8()
1581 GLbyte l = FLOAT_TO_BYTE(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_AL88()
1607 *d = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_L16()
1619 GLshort l = FLOAT_TO_SHORT(CLAMP(src[RCOMP], -1.0f, 1.0f)); in pack_float_SIGNED_AL1616()
1641 rgb[0] = UBYTE_TO_FLOAT(src[RCOMP]); in pack_ubyte_RGB9_E5_FLOAT()
1658 rgb[0] = UBYTE_TO_FLOAT(src[RCOMP]); in pack_ubyte_R11_G11_B10_FLOAT()