• Home
  • Raw
  • Download

Lines Matching refs:UShort

251 			c.x = Float(Int(*Pointer<UShort>(element)));  in read()
312 c.x = Float(Int(*Pointer<UShort>(element + 0))); in read()
313 c.y = Float(Int(*Pointer<UShort>(element + 2))); in read()
356 c.x = Float(As<Half>((*Pointer<UShort>(element + 0) & UShort(0x07FF)) << UShort(4))); in read()
357 c.y = Float(As<Half>((*Pointer<UShort>(element + 1) & UShort(0x3FF8)) << UShort(1))); in read()
358 c.z = Float(As<Half>((*Pointer<UShort>(element + 2) & UShort(0xFFC0)) >> UShort(1))); in read()
378 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0xF800)) >> UShort(11))); in read()
379 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x07E0)) >> UShort(5))); in read()
380 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in read()
383 c.w = Float(Int((*Pointer<UShort>(element) & UShort(0x8000)) >> UShort(15))); in read()
384 c.x = Float(Int((*Pointer<UShort>(element) & UShort(0x7C00)) >> UShort(10))); in read()
385 c.y = Float(Int((*Pointer<UShort>(element) & UShort(0x03E0)) >> UShort(5))); in read()
386 c.z = Float(Int(*Pointer<UShort>(element) & UShort(0x001F))); in read()
396 c.x = Float(Int((*Pointer<UShort>(element)))); in read()
449 …*Pointer<UShort>(element) = (writeR ? ((UShort(RoundInt(Float(c.x))) & UShort(0xF)) << UShort(12))… in write()
450 (*Pointer<UShort>(element) & UShort(0x000F))) | in write()
451 … (writeG ? ((UShort(RoundInt(Float(c.y))) & UShort(0xF)) << UShort(8)) : in write()
452 (*Pointer<UShort>(element) & UShort(0x00F0))) | in write()
453 … (writeB ? ((UShort(RoundInt(Float(c.z))) & UShort(0xF)) << UShort(4)) : in write()
454 (*Pointer<UShort>(element) & UShort(0x0F00))) | in write()
455 (writeA ? (UShort(RoundInt(Float(c.w))) & UShort(0xF)) : in write()
456 (*Pointer<UShort>(element) & UShort(0xF000))); in write()
462 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.w)) & Int(0xF)) | in write()
463 UShort((RoundInt(Float(c.x)) & Int(0xF)) << 4) | in write()
464 UShort((RoundInt(Float(c.y)) & Int(0xF)) << 8) | in write()
465 UShort((RoundInt(Float(c.z)) & Int(0xF)) << 12); in write()
474 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
475 ((UShort(RoundInt(Float(c.w)) & Int(0xF)) | in write()
476 UShort((RoundInt(Float(c.x)) & Int(0xF)) << 4) | in write()
477 UShort((RoundInt(Float(c.y)) & Int(0xF)) << 8) | in write()
478 UShort((RoundInt(Float(c.z)) & Int(0xF)) << 12)) & UShort(mask)); in write()
660 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
661 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
662 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
663 if(writeA) { *Pointer<UShort>(element + 6) = UShort(RoundInt(Float(c.w))); } in write()
669 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
670 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
671 if(writeB) { *Pointer<UShort>(element + 4) = UShort(RoundInt(Float(c.z))); } in write()
682 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
683 if(writeG) { *Pointer<UShort>(element + 2) = UShort(RoundInt(Float(c.y))); } in write()
689 if(writeR) { *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); } in write()
734 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.z)) | in write()
742 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
743 (UShort(RoundInt(Float(c.z)) | in write()
745 (RoundInt(Float(c.x)) << Int(11))) & UShort(mask)); in write()
751 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.w)) | in write()
763 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
764 (UShort(RoundInt(Float(c.w)) | in write()
767 (RoundInt(Float(c.x)) << Int(11))) & UShort(mask)); in write()
773 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.w)) | in write()
785 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
786 (UShort(RoundInt(Float(c.w)) | in write()
789 (RoundInt(Float(c.z)) << Int(11))) & UShort(mask)); in write()
795 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.z)) | in write()
807 *Pointer<UShort>(element) = (*Pointer<UShort>(element) & UShort(unmask)) | in write()
808 (UShort(RoundInt(Float(c.z)) | in write()
811 (RoundInt(Float(c.w)) << Int(15))) & UShort(mask)); in write()
863 *Pointer<UShort>(element) = UShort(RoundInt(Float(c.x))); in write()
921 c = Insert(c, Int(*Pointer<UShort>(element + 6)), 3); in read()
922 c = Insert(c, Int(*Pointer<UShort>(element + 4)), 2); in read()
924 c = Insert(c, Int(*Pointer<UShort>(element + 2)), 1); in read()
926 c = Insert(c, Int(*Pointer<UShort>(element)), 0); in read()
1110 if(writeA) { *Pointer<UShort>(element + 6) = UShort(Extract(c, 3)); } in write()
1113 if(writeB) { *Pointer<UShort>(element + 4) = UShort(Extract(c, 2)); } in write()
1116 if(writeG) { *Pointer<UShort>(element + 2) = UShort(Extract(c, 1)); } in write()
1119 if(writeR) { *Pointer<UShort>(element) = UShort(Extract(c, 0)); } in write()