Lines Matching refs:red
20 dst->red = lum; in readColor()
28 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
38 dst->red = src->R; in readColor()
46 dst->red = gl::normalizedToFloat(src->R); in readColor()
54 dst->R = static_cast<uint8_t>(src->red); in writeColor()
59 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
69 dst->red = 0.0f; in readColor()
88 dst->red = lum; in readColor()
96 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
109 dst->red = lum; in readColor()
117 dst->L = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
129 dst->red = src->R; in readColor()
137 dst->red = gl::normalizedToFloat(src->R); in readColor()
145 dst->R = static_cast<uint8_t>(src->red); in writeColor()
151 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
163 dst->red = src->R; in readColor()
171 dst->red = gl::normalizedToFloat(src->R); in readColor()
179 dst->R = static_cast<uint8_t>(src->red); in writeColor()
186 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
200 dst->red = src->R; in readColor()
208 dst->red = gl::normalizedToFloat(src->R); in readColor()
216 dst->R = static_cast<uint8_t>(src->red); in writeColor()
223 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
237 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 11>(src->RGB)); in readColor()
245 dst->RGB = gl::shiftData<5, 11>(gl::floatToNormalized<5, uint16_t>(src->red)) | in writeColor()
262 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 11>(src->BGR)); in readColor()
272 gl::shiftData<5, 11>(gl::floatToNormalized<5, unsigned short>(src->red)); in writeColor()
287 dst->red = src->R; in readColor()
295 dst->red = gl::normalizedToFloat(src->R); in readColor()
303 dst->R = static_cast<uint8_t>(src->red); in writeColor()
311 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
325 dst->red = src->R; in readColor()
333 dst->red = gl::normalizedToFloat(src->R); in readColor()
341 dst->R = static_cast<uint8_t>(src->red); in writeColor()
349 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
363 dst->red = gl::normalizedToFloat(src->R); in readColor()
371 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
397 dst->red = src->R; in readColor()
405 dst->red = gl::normalizedToFloat(src->R); in readColor()
413 dst->R = static_cast<uint8_t>(src->red); in writeColor()
421 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
435 dst->red = src->R; in readColor()
443 dst->red = gl::normalizedToFloat(src->R); in readColor()
451 dst->R = static_cast<uint8_t>(src->red); in writeColor()
459 dst->R = gl::floatToNormalized<uint8_t>(src->red); in writeColor()
475 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 10>(src->ARGB)); in readColor()
483 gl::shiftData<5, 10>(gl::floatToNormalized<5, uint16_t>(src->red)) | in writeColor()
502 dst->red = gl::normalizedToFloat<5>(gl::getShiftedData<5, 11>(src->RGBA)); in readColor()
510 dst->RGBA = gl::shiftData<5, 11>(gl::floatToNormalized<5, uint16_t>(src->red)) | in writeColor()
530 dst->red = gl::normalizedToFloat<4>(gl::getShiftedData<4, 12>(src->RGBA)); in readColor()
538 dst->RGBA = gl::shiftData<4, 12>(gl::floatToNormalized<4, uint16_t>(src->red)) | in writeColor()
559 dst->red = gl::normalizedToFloat<4>(gl::getShiftedData<4, 8>(src->ARGB)); in readColor()
567 gl::shiftData<4, 8>(gl::floatToNormalized<4, uint16_t>(src->red)) | in writeColor()
586 dst->red = src->R; in readColor()
594 dst->red = gl::normalizedToFloat(src->R); in readColor()
602 dst->R = static_cast<uint16_t>(src->red); in writeColor()
607 dst->R = gl::floatToNormalized<uint16_t>(src->red); in writeColor()
617 dst->red = src->R; in readColor()
625 dst->red = gl::normalizedToFloat(src->R); in readColor()
633 dst->R = static_cast<uint16_t>(src->red); in writeColor()
639 dst->R = gl::floatToNormalized<uint16_t>(src->red); in writeColor()
651 dst->red = src->R; in readColor()
659 dst->red = gl::normalizedToFloat(src->R); in readColor()
667 dst->R = static_cast<uint16_t>(src->red); in writeColor()
674 dst->R = gl::floatToNormalized<uint16_t>(src->red); in writeColor()
688 dst->red = src->R; in readColor()
696 dst->red = gl::normalizedToFloat(src->R); in readColor()
704 dst->R = static_cast<uint16_t>(src->red); in writeColor()
712 dst->R = gl::floatToNormalized<uint16_t>(src->red); in writeColor()
728 dst->red = src->R; in readColor()
736 dst->red = gl::normalizedToFloat(src->R); in readColor()
744 dst->R = static_cast<uint32_t>(src->red); in writeColor()
749 dst->R = gl::floatToNormalized<uint32_t>(src->red); in writeColor()
759 dst->red = src->R; in readColor()
767 dst->red = gl::normalizedToFloat(src->R); in readColor()
775 dst->R = static_cast<uint32_t>(src->red); in writeColor()
781 dst->R = gl::floatToNormalized<uint32_t>(src->red); in writeColor()
793 dst->red = src->R; in readColor()
801 dst->red = gl::normalizedToFloat(src->R); in readColor()
809 dst->R = static_cast<uint32_t>(src->red); in writeColor()
816 dst->R = gl::floatToNormalized<uint32_t>(src->red); in writeColor()
830 dst->red = src->R; in readColor()
838 dst->red = gl::normalizedToFloat(src->R); in readColor()
846 dst->R = static_cast<uint32_t>(src->red); in writeColor()
854 dst->R = gl::floatToNormalized<uint32_t>(src->red); in writeColor()
870 dst->red = src->R; in readColor()
878 dst->red = gl::normalizedToFloat(src->R); in readColor()
886 dst->R = static_cast<int8_t>(src->red); in writeColor()
891 dst->R = gl::floatToNormalized<int8_t>(src->red); in writeColor()
901 dst->red = src->R; in readColor()
909 dst->red = gl::normalizedToFloat(src->R); in readColor()
917 dst->R = static_cast<int8_t>(src->red); in writeColor()
923 dst->R = gl::floatToNormalized<int8_t>(src->red); in writeColor()
935 dst->red = src->R; in readColor()
943 dst->red = gl::normalizedToFloat(src->R); in readColor()
951 dst->R = static_cast<int8_t>(src->red); in writeColor()
958 dst->R = gl::floatToNormalized<int8_t>(src->red); in writeColor()
972 dst->red = src->R; in readColor()
980 dst->red = gl::normalizedToFloat(src->R); in readColor()
988 dst->R = static_cast<int8_t>(src->red); in writeColor()
996 dst->R = gl::floatToNormalized<int8_t>(src->red); in writeColor()
1012 dst->red = src->R; in readColor()
1020 dst->red = gl::normalizedToFloat(src->R); in readColor()
1028 dst->R = static_cast<int16_t>(src->red); in writeColor()
1033 dst->R = gl::floatToNormalized<int16_t>(src->red); in writeColor()
1043 dst->red = src->R; in readColor()
1051 dst->red = gl::normalizedToFloat(src->R); in readColor()
1059 dst->R = static_cast<int16_t>(src->red); in writeColor()
1065 dst->R = gl::floatToNormalized<int16_t>(src->red); in writeColor()
1077 dst->red = src->R; in readColor()
1085 dst->red = gl::normalizedToFloat(src->R); in readColor()
1093 dst->R = static_cast<int16_t>(src->red); in writeColor()
1100 dst->R = gl::floatToNormalized<int16_t>(src->red); in writeColor()
1114 dst->red = src->R; in readColor()
1122 dst->red = gl::normalizedToFloat(src->R); in readColor()
1130 dst->R = static_cast<int16_t>(src->red); in writeColor()
1138 dst->R = gl::floatToNormalized<int16_t>(src->red); in writeColor()
1156 dst->red = src->R; in readColor()
1164 dst->red = gl::normalizedToFloat(src->R); in readColor()
1172 dst->R = static_cast<int32_t>(src->red); in writeColor()
1177 dst->R = gl::floatToNormalized<int32_t>(src->red); in writeColor()
1187 dst->red = src->R; in readColor()
1195 dst->red = gl::normalizedToFloat(src->R); in readColor()
1203 dst->R = static_cast<int32_t>(src->red); in writeColor()
1209 dst->R = gl::floatToNormalized<int32_t>(src->red); in writeColor()
1221 dst->red = src->R; in readColor()
1229 dst->red = gl::normalizedToFloat(src->R); in readColor()
1237 dst->R = static_cast<int32_t>(src->red); in writeColor()
1244 dst->R = gl::floatToNormalized<int32_t>(src->red); in writeColor()
1258 dst->red = src->R; in readColor()
1266 dst->red = gl::normalizedToFloat(src->R); in readColor()
1274 dst->R = static_cast<int32_t>(src->red); in writeColor()
1282 dst->R = gl::floatToNormalized<int32_t>(src->red); in writeColor()
1300 dst->red = gl::float16ToFloat32(src->R); in readColor()
1308 dst->R = gl::float32ToFloat16(src->red); in writeColor()
1326 dst->red = gl::float16ToFloat32(src->R); in readColor()
1334 dst->R = gl::float32ToFloat16(src->red); in writeColor()
1352 dst->red = gl::float16ToFloat32(src->R); in readColor()
1360 dst->R = gl::float32ToFloat16(src->red); in writeColor()
1370 dst->red = 0.0f; in readColor()
1389 dst->red = lum; in readColor()
1397 dst->L = gl::float32ToFloat16(src->red); in writeColor()
1408 dst->red = lum; in readColor()
1416 dst->L = gl::float32ToFloat16(src->red); in writeColor()
1428 dst->red = gl::float16ToFloat32(src->R); in readColor()
1436 dst->R = gl::float32ToFloat16(src->red); in writeColor()
1448 dst->red = gl::float16ToFloat32(src->R); in readColor()
1456 dst->R = gl::float32ToFloat16(src->red); in writeColor()
1470 dst->red = src->R; in readColor()
1478 dst->R = src->red; in writeColor()
1496 dst->red = src->R; in readColor()
1504 dst->R = src->red; in writeColor()
1522 dst->red = src->R; in readColor()
1530 dst->R = src->red; in writeColor()
1540 dst->red = 0.0f; in readColor()
1558 dst->red = src->L; in readColor()
1566 dst->L = src->red; in writeColor()
1576 dst->red = src->L; in readColor()
1584 dst->L = src->red; in writeColor()
1596 dst->red = src->R; in readColor()
1604 dst->R = src->red; in writeColor()
1616 dst->red = src->R; in readColor()
1624 dst->R = src->red; in writeColor()
1638 dst->red = src->R; in readColor()
1646 dst->red = gl::normalizedToFloat<10>(src->R); in readColor()
1654 dst->R = static_cast<uint32_t>(src->red); in writeColor()
1662 dst->R = gl::floatToNormalized<10, uint32_t>(src->red); in writeColor()
1678 dst->red = src->R; in readColor()
1686 dst->red = gl::normalizedToFloat<10>(src->R); in readColor()
1694 dst->R = static_cast<int32_t>(src->red); in writeColor()
1702 dst->R = gl::floatToNormalized<10, int32_t>(src->red); in writeColor()
1718 dst->red = src->R; in readColor()
1726 dst->red = gl::normalizedToFloat<10>(src->R); in readColor()
1734 dst->R = static_cast<uint32_t>(src->red); in writeColor()
1741 dst->R = gl::floatToNormalized<10, uint32_t>(src->red); in writeColor()
1755 dst->red = src->R; in readColor()
1763 dst->red = gl::normalizedToFloat<10>(src->R); in readColor()
1771 dst->R = static_cast<uint32_t>(src->red); in writeColor()
1779 dst->R = gl::floatToNormalized<10, uint32_t>(src->red); in writeColor()
1795 gl::convert999E5toRGBFloats(gl::bitCast<uint32_t>(*src), &dst->red, &dst->green, &dst->blue); in readColor()
1802 gl::convertRGBFloatsTo999E5(src->red, src->green, src->blue); in writeColor()
1819 dst->red = gl::float11ToFloat32(src->R); in readColor()
1827 dst->R = gl::float32ToFloat11(src->red); in writeColor()