Lines Matching defs:ushort

649 	    GLushort ushort[BOX2];
651 ushort[0]= __GLU_SWAP_2_BYTES(src);
652 ushort[1]= __GLU_SWAP_2_BYTES(src+group_size);
655 ushort[0]= *(const GLushort*)src;
656 ushort[1]= *(const GLushort*)(src+group_size);
659 *dest= (ushort[0] + ushort[1]) / 2;
681 GLushort ushort[BOX2];
683 ushort[0]= __GLU_SWAP_2_BYTES(src);
684 ushort[1]= __GLU_SWAP_2_BYTES(src+ysize);
687 ushort[0]= *(const GLushort*)src;
688 ushort[1]= *(const GLushort*)(src+ysize);
690 *dest= (ushort[0] + ushort[1]) / 2;
5557 GLushort ushort;
5560 ushort= __GLU_SWAP_2_BYTES(packedPixel);
5563 ushort= *(const GLushort *)packedPixel;
5570 extractComponents[0]=(float)((ushort & 0xf800) >> 11) / 31.0;/* 31 = 2^5-1*/
5571 extractComponents[1]=(float)((ushort & 0x07e0) >> 5) / 63.0;/* 63 = 2^6-1*/
5572 extractComponents[2]=(float)((ushort & 0x001f) ) / 31.0;
5598 GLushort ushort;
5601 ushort= __GLU_SWAP_2_BYTES(packedPixel);
5604 ushort= *(const GLushort *)packedPixel;
5611 extractComponents[0]= (float)((ushort & 0x001F) ) / 31.0;
5612 extractComponents[1]= (float)((ushort & 0x07E0) >> 5) / 63.0;
5613 extractComponents[2]= (float)((ushort & 0xF800) >> 11) / 31.0;
5639 GLushort ushort;
5642 ushort= __GLU_SWAP_2_BYTES(packedPixel);
5645 ushort= *(const GLushort *)packedPixel;
5653 extractComponents[0]= (float)((ushort & 0xf000) >> 12) / 15.0;/* 15=2^4-1 */
5654 extractComponents[1]= (float)((ushort & 0x0f00) >> 8) / 15.0;
5655 extractComponents[2]= (float)((ushort & 0x00f0) >> 4) / 15.0;
5656 extractComponents[3]= (float)((ushort & 0x000f) ) / 15.0;
5681 GLushort ushort;
5684 ushort= __GLU_SWAP_2_BYTES(packedPixel);
5687 ushort= *(const GLushort *)packedPixel;
5696 extractComponents[0]= (float)((ushort & 0x000F) ) / 15.0;
5697 extractComponents[1]= (float)((ushort & 0x00F0) >> 4) / 15.0;
5698 extractComponents[2]= (float)((ushort & 0x0F00) >> 8) / 15.0;
5699 extractComponents[3]= (float)((ushort & 0xF000) >> 12) / 15.0;
5729 GLushort ushort;
5732 ushort= __GLU_SWAP_2_BYTES(packedPixel);
5735 ushort= *(const GLushort *)packedPixel;
5743 extractComponents[0]=(float)((ushort & 0xf800) >> 11) / 31.0;/* 31 = 2^5-1*/
5744 extractComponents[1]=(float)((ushort & 0x07c0) >> 6) / 31.0;
5745 extractComponents[2]=(float)((ushort & 0x003e) >> 1) / 31.0;
5746 extractComponents[3]=(float)((ushort & 0x0001) );
5776 GLushort ushort;
5779 ushort= __GLU_SWAP_2_BYTES(packedPixel);
5782 ushort= *(const GLushort *)packedPixel;
5791 extractComponents[0]= (float)((ushort & 0x001F) ) / 31.0;
5792 extractComponents[1]= (float)((ushort & 0x03E0) >> 5) / 31.0;
5793 extractComponents[2]= (float)((ushort & 0x7C00) >> 10) / 31.0;
5794 extractComponents[3]= (float)((ushort & 0x8000) >> 15);
8551 GLushort ushort;
8554 ushort= __GLU_SWAP_2_BYTES(uitem);
8557 ushort= *(const GLushort *)uitem;
8560 assert(ushort <= 65535);
8562 return (GLdouble)ushort;