• Home
  • Raw
  • Download

Lines Matching refs:UShort

352 			c.x = Float(Int(*Pointer<UShort>(element)));  in readFloat4()
416 c.x = Float(Int(*Pointer<UShort>(element + 0))); in readFloat4()
417 c.y = Float(Int(*Pointer<UShort>(element + 2))); in readFloat4()
470 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in readFloat4()
471 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in readFloat4()
472 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in readFloat4()
475 c.w = Float(Int((*Pointer<UShort>(element) & UShort(0x8000)) >> UShort(15))); in readFloat4()
476 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0x7C00)) >> UShort(10))); in readFloat4()
477 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x03E0)) >> UShort(5))); in readFloat4()
478 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in readFloat4()
495 c.x = Float(Int((*Pointer<UShort>(element)))); in readFloat4()
546 …*Pointer<UShort>(element) = (writeR ? ((UShort(RoundInt(Float(c.x))) & UShort(0xF)) << UShort(12))… in write()
547 …(writeG ? ((UShort(RoundInt(Float(c.y))) & UShort(0xF)) << UShort(8)) : (*Pointer<UShort>(element)… in write()
548 …(writeB ? ((UShort(RoundInt(Float(c.z))) & UShort(0xF)) << UShort(4)) : (*Pointer<UShort>(element)… in write()
549 …(writeA ? (UShort(RoundInt(Float(c.w))) & UShort(0xF)) : (*Pointer<UShort>(element) & UShort(0xF00… in write()
555 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.w)) & Int(0xF)) | in write()
556 UShort((RoundInt(Float(c.x)) & Int(0xF)) << 4) | in write()
557 UShort((RoundInt(Float(c.y)) & Int(0xF)) << 8) | in write()
558 UShort((RoundInt(Float(c.z)) & Int(0xF)) << 12); in write()
567 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
568 ((UShort(RoundInt(Float(c.w)) & Int(0xF)) | in write()
569 UShort((RoundInt(Float(c.x)) & Int(0xF)) << 4) | in write()
570 UShort((RoundInt(Float(c.y)) & Int(0xF)) << 8) | in write()
571 UShort((RoundInt(Float(c.z)) & Int(0xF)) << 12)) & in write()
572 UShort(mask)); in write()
821 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
822 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
823 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
824 if(writeA) { *Pointer<UShort>(element + 6) = UShort(RoundInt(Float(c.w))); } in write()
830 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
831 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
832 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
843 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
844 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
850 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
899 *Pointer<UShort>(element) = UShort(PackFields(RoundInt(c.xyzz), { 11, 5, 0, 0 })); in write()
905 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
906 (UShort(PackFields(RoundInt(c.xyzz), { 11, 5, 0, 0 })) & in write()
907 UShort(mask)); in write()
913 *Pointer<UShort>(element) = UShort(PackFields(RoundInt(c), { 11, 6, 1, 0 })); in write()
922 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
923 (UShort(PackFields(RoundInt(c), { 11, 6, 1, 0 })) & in write()
924 UShort(mask)); in write()
930 *Pointer<UShort>(element) = UShort(PackFields(RoundInt(c), { 1, 6, 11, 0 })); in write()
939 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
940 (UShort(PackFields(RoundInt(c), { 1, 6, 11, 0 })) & in write()
941 UShort(mask)); in write()
947 *Pointer<UShort>(element) = UShort(PackFields(RoundInt(c), { 10, 5, 0, 15 })); in write()
956 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
957 (UShort(PackFields(RoundInt(c), { 10, 5, 0, 15 })) & in write()
958 UShort(mask)); in write()
1000 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); in write()
1069 c = Insert(c, Int(*Pointer<UShort>(element + 6)), 3); in readInt4()
1070 c = Insert(c, Int(*Pointer<UShort>(element + 4)), 2); in readInt4()
1073 c = Insert(c, Int(*Pointer<UShort>(element + 2)), 1); in readInt4()
1076 c = Insert(c, Int(*Pointer<UShort>(element)), 0); in readInt4()
1273 if(writeA) { *Pointer<UShort>(element + 6) = UShort(Extract(c, 3)); } in write()
1277 if(writeB) { *Pointer<UShort>(element + 4) = UShort(Extract(c, 2)); } in write()
1281 if(writeG) { *Pointer<UShort>(element + 2) = UShort(Extract(c, 1)); } in write()
1285 if(writeR) { *Pointer<UShort>(element) = UShort(Extract(c, 0)); } in write()