• Home
  • Raw
  • Download

Lines Matching refs:UShort

252 			c.x = Float(Int(*Pointer<UShort>(element)));  in read()
350 c.x = Float(Int(*Pointer<UShort>(element + 0))); in read()
351 c.y = Float(Int(*Pointer<UShort>(element + 2))); in read()
379 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in read()
380 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in read()
381 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in read()
391 c.x = Float(Int((*Pointer<UShort>(element)))); in read()
621 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
622 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
623 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
624 if(writeA) { *Pointer<UShort>(element + 6) = UShort(RoundInt(Float(c.w))); } in write()
634 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
635 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
636 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
638 if(writeA) { *Pointer<UShort>(element + 6) = UShort(0xFF); } in write()
648 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
649 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
653 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
720 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.z)) | in write()
728 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
729 (UShort(RoundInt(Float(c.z)) | in write()
731 (RoundInt(Float(c.x)) << Int(11))) & UShort(mask)); in write()
758 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); in write()
822 c = Insert(c, Int(*Pointer<UShort>(element + 6)), 3); in read()
824 c = Insert(c, Int(*Pointer<UShort>(element + 4)), 2); in read()
826 c = Insert(c, Int(*Pointer<UShort>(element + 2)), 1); in read()
828 c = Insert(c, Int(*Pointer<UShort>(element)), 0); in read()
901 if(writeA) { *Pointer<UShort>(element + 6) = UShort(Extract(c, 3)); } in write()
905 *Pointer<UShort>(element + 6) = UShort(0xFFFF); in write()
907 if(writeB) { *Pointer<UShort>(element + 4) = UShort(Extract(c, 2)); } in write()
909 if(writeG) { *Pointer<UShort>(element + 2) = UShort(Extract(c, 1)); } in write()
911 if(writeR) { *Pointer<UShort>(element) = UShort(Extract(c, 0)); } in write()