Lines Matching defs:shoveComponents

5219 	float shoveComponents[4];
5243 shoveComponents[k]= *iter2++ / 65535.0;
5245 shove332(shoveComponents,0,(void *)iter);
5249 shoveComponents[k]= *iter2++ / 65535.0;
5251 shove233rev(shoveComponents,0,(void *)iter);
5269 shoveComponents[k]= *iter2++ / 65535.0;
5271 shove565(shoveComponents,0,(void *)&widget.us[0]);
5282 shoveComponents[k]= *iter2++ / 65535.0;
5284 shove565rev(shoveComponents,0,(void *)&widget.us[0]);
5295 shoveComponents[k]= *iter2++ / 65535.0;
5297 shove4444(shoveComponents,0,(void *)&widget.us[0]);
5307 shoveComponents[k]= *iter2++ / 65535.0;
5309 shove4444rev(shoveComponents,0,(void *)&widget.us[0]);
5319 shoveComponents[k]= *iter2++ / 65535.0;
5321 shove5551(shoveComponents,0,(void *)&widget.us[0]);
5331 shoveComponents[k]= *iter2++ / 65535.0;
5333 shove1555rev(shoveComponents,0,(void *)&widget.us[0]);
5362 shoveComponents[k]= *iter2++ / 65535.0;
5364 shove8888(shoveComponents,0,(void *)&widget.ui);
5377 shoveComponents[k]= *iter2++ / 65535.0;
5379 shove8888rev(shoveComponents,0,(void *)&widget.ui);
5391 shoveComponents[k]= *iter2++ / 65535.0;
5393 shove1010102(shoveComponents,0,(void *)&widget.ui);
5405 shoveComponents[k]= *iter2++ / 65535.0;
5407 shove2101010rev(shoveComponents,0,(void *)&widget.ui);
5498 static void shove332(const GLfloat shoveComponents[],
5505 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5506 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5507 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5511 ((GLubyte)((shoveComponents[0] * 7)+0.5) << 5) & 0xe0;
5513 ((GLubyte)((shoveComponents[1] * 7)+0.5) << 2) & 0x1c;
5515 ((GLubyte)((shoveComponents[2] * 3)+0.5) ) & 0x03;
5534 static void shove233rev(const GLfloat shoveComponents[],
5541 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5542 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5543 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5547 ((GLubyte)((shoveComponents[0] * 7.0)+0.5) ) & 0x07;
5549 ((GLubyte)((shoveComponents[1] * 7.0)+0.5) << 3) & 0x38;
5551 ((GLubyte)((shoveComponents[2] * 3.0)+0.5) << 6) & 0xC0;
5575 static void shove565(const GLfloat shoveComponents[],
5582 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5583 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5584 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5588 ((GLushort)((shoveComponents[0] * 31)+0.5) << 11) & 0xf800;
5590 ((GLushort)((shoveComponents[1] * 63)+0.5) << 5) & 0x07e0;
5592 ((GLushort)((shoveComponents[2] * 31)+0.5) ) & 0x001f;
5616 static void shove565rev(const GLfloat shoveComponents[],
5623 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5624 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5625 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5629 ((GLushort)((shoveComponents[0] * 31.0)+0.5) ) & 0x001F;
5631 ((GLushort)((shoveComponents[1] * 63.0)+0.5) << 5) & 0x07E0;
5633 ((GLushort)((shoveComponents[2] * 31.0)+0.5) << 11) & 0xF800;
5659 static void shove4444(const GLfloat shoveComponents[],
5662 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5663 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5664 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5665 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5669 ((GLushort)((shoveComponents[0] * 15)+0.5) << 12) & 0xf000;
5671 ((GLushort)((shoveComponents[1] * 15)+0.5) << 8) & 0x0f00;
5673 ((GLushort)((shoveComponents[2] * 15)+0.5) << 4) & 0x00f0;
5675 ((GLushort)((shoveComponents[3] * 15)+0.5) ) & 0x000f;
5702 static void shove4444rev(const GLfloat shoveComponents[],
5710 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5711 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5712 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5713 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5717 ((GLushort)((shoveComponents[0] * 15)+0.5) ) & 0x000F;
5719 ((GLushort)((shoveComponents[1] * 15)+0.5) << 4) & 0x00F0;
5721 ((GLushort)((shoveComponents[2] * 15)+0.5) << 8) & 0x0F00;
5723 ((GLushort)((shoveComponents[3] * 15)+0.5) << 12) & 0xF000;
5749 static void shove5551(const GLfloat shoveComponents[],
5757 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5758 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5759 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5760 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5764 ((GLushort)((shoveComponents[0] * 31)+0.5) << 11) & 0xf800;
5766 ((GLushort)((shoveComponents[1] * 31)+0.5) << 6) & 0x07c0;
5768 ((GLushort)((shoveComponents[2] * 31)+0.5) << 1) & 0x003e;
5770 ((GLushort)((shoveComponents[3])+0.5) ) & 0x0001;
5797 static void shove1555rev(const GLfloat shoveComponents[],
5805 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5806 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5807 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5808 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5812 ((GLushort)((shoveComponents[0] * 31)+0.5) ) & 0x001F;
5814 ((GLushort)((shoveComponents[1] * 31)+0.5) << 5) & 0x03E0;
5816 ((GLushort)((shoveComponents[2] * 31)+0.5) << 10) & 0x7C00;
5818 ((GLushort)((shoveComponents[3])+0.5) << 15) & 0x8000;
5845 static void shove8888(const GLfloat shoveComponents[],
5853 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5854 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5855 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5856 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5860 ((GLuint)((shoveComponents[0] * 255)+0.5) << 24) & 0xff000000;
5862 ((GLuint)((shoveComponents[1] * 255)+0.5) << 16) & 0x00ff0000;
5864 ((GLuint)((shoveComponents[2] * 255)+0.5) << 8) & 0x0000ff00;
5866 ((GLuint)((shoveComponents[3] * 255)+0.5) ) & 0x000000ff;
5893 static void shove8888rev(const GLfloat shoveComponents[],
5901 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5902 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5903 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5904 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5908 ((GLuint)((shoveComponents[0] * 255)+0.5) ) & 0x000000FF;
5910 ((GLuint)((shoveComponents[1] * 255)+0.5) << 8) & 0x0000FF00;
5912 ((GLuint)((shoveComponents[2] * 255)+0.5) << 16) & 0x00FF0000;
5914 ((GLuint)((shoveComponents[3] * 255)+0.5) << 24) & 0xFF000000;
5941 static void shove1010102(const GLfloat shoveComponents[],
5949 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
5950 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
5951 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
5952 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
5956 ((GLuint)((shoveComponents[0] * 1023)+0.5) << 22) & 0xffc00000;
5958 ((GLuint)((shoveComponents[1] * 1023)+0.5) << 12) & 0x003ff000;
5960 ((GLuint)((shoveComponents[2] * 1023)+0.5) << 2) & 0x00000ffc;
5962 ((GLuint)((shoveComponents[3] * 3)+0.5) ) & 0x00000003;
5991 static void shove2101010rev(const GLfloat shoveComponents[],
5999 assert(0.0 <= shoveComponents[0] && shoveComponents[0] <= 1.0);
6000 assert(0.0 <= shoveComponents[1] && shoveComponents[1] <= 1.0);
6001 assert(0.0 <= shoveComponents[2] && shoveComponents[2] <= 1.0);
6002 assert(0.0 <= shoveComponents[3] && shoveComponents[3] <= 1.0);
6006 ((GLuint)((shoveComponents[0] * 1023)+0.5) ) & 0x000003FF;
6008 ((GLuint)((shoveComponents[1] * 1023)+0.5) << 10) & 0x000FFC00;
6010 ((GLuint)((shoveComponents[2] * 1023)+0.5) << 20) & 0x3FF00000;
6012 ((GLuint)((shoveComponents[3] * 3)+0.5) << 30) & 0xC0000000;
7115 float shoveComponents[4];
7134 shoveComponents[k]= *iter2++ / 65535.0;
7136 shove332(shoveComponents,0,(void *)iter);
7140 shoveComponents[k]= *iter2++ / 65535.0;
7142 shove233rev(shoveComponents,0,(void *)iter);
7146 shoveComponents[k]= *iter2++ / 65535.0;
7148 shove565(shoveComponents,0,(void *)&widget.us[0]);
7159 shoveComponents[k]= *iter2++ / 65535.0;
7161 shove565rev(shoveComponents,0,(void *)&widget.us[0]);
7172 shoveComponents[k]= *iter2++ / 65535.0;
7174 shove4444(shoveComponents,0,(void *)&widget.us[0]);
7184 shoveComponents[k]= *iter2++ / 65535.0;
7186 shove4444rev(shoveComponents,0,(void *)&widget.us[0]);
7196 shoveComponents[k]= *iter2++ / 65535.0;
7198 shove5551(shoveComponents,0,(void *)&widget.us[0]);
7208 shoveComponents[k]= *iter2++ / 65535.0;
7210 shove1555rev(shoveComponents,0,(void *)&widget.us[0]);
7239 shoveComponents[k]= *iter2++ / 65535.0;
7241 shove8888(shoveComponents,0,(void *)&widget.ui);
7253 shoveComponents[k]= *iter2++ / 65535.0;
7255 shove8888rev(shoveComponents,0,(void *)&widget.ui);
7267 shoveComponents[k]= *iter2++ / 65535.0;
7269 shove1010102(shoveComponents,0,(void *)&widget.ui);
7281 shoveComponents[k]= *iter2++ / 65535.0;
7283 shove2101010rev(shoveComponents,0,(void *)&widget.ui);