Lines Matching refs:GLushort
97 const void *userdata, GLushort *newimage);
101 const GLushort *oldimage, void *userdata);
103 const GLushort *datain,
105 GLushort *dataout);
118 GLint heightin, const GLushort *datain,
120 GLushort *dataout, GLint element_size,
228 static void halve1Dimage_ushort(GLint, GLuint, GLuint, const GLushort *,
229 GLushort *, GLint, GLint, GLint, GLint);
241 GLenum, GLboolean, const void *, GLushort *);
245 const GLushort *, void *);
246 static void scaleInternal3D(GLint, GLint, GLint, GLint, const GLushort *,
247 GLint, GLint, GLint, GLushort *);
332 (GLushort)(((GLushort)((const GLubyte*)(s))[1])<<8 | ((const GLubyte*)(s))[0])
340 const GLushort *datain, GLushort *dataout)
345 GLushort *s;
346 const GLushort *t;
570 const GLushort *datain, GLushort *dataout,
577 GLushort *s;
599 s[0] = (*(const GLushort*)t +
600 *(const GLushort*)(t+group_size) +
601 *(const GLushort*)(t+ysize) +
602 *(const GLushort*)(t+ysize+group_size) + 2) / 4;
628 const GLushort *dataIn, GLushort *dataOut,
635 GLushort *dest= dataOut;
649 GLushort ushort[BOX2];
655 ushort[0]= *(const GLushort*)src;
656 ushort[1]= *(const GLushort*)(src+group_size);
681 GLushort ushort[BOX2];
687 ushort[0]= *(const GLushort*)src;
688 ushort[1]= *(const GLushort*)(src+ysize);
753 GLushort b;
1290 const GLushort *datain,
1292 GLushort *dataout)
1820 GLint heightin, const GLushort *datain,
1822 GLushort *dataout, GLint element_size,
1848 (const GLushort *)datain, (GLushort *)dataout,
1895 totals[k] += *(const GLushort*)temp_index * percent;
1907 totals[k] += *(const GLushort*)temp_index * y_percent;
1919 totals[k] += *(const GLushort*)temp_index * percent;
1932 totals[k] += *(const GLushort*)temp_index * percent;
1943 totals[k] += *(const GLushort*)temp_index * y_percent;
1954 totals[k] += *(const GLushort*)temp_index * percent;
1969 totals[k] += *(const GLushort*)left * (1-lowx_float)
1970 + *(const GLushort*)right * highx_float;
1983 totals[k] += *(const GLushort*)temp_index * percent;
1994 totals[k] += *(const GLushort*)temp_index * x_percent;
2005 totals[k] += *(const GLushort*)temp_index * percent;
2017 totals[k] += *(const GLushort*)temp_index * percent;
2028 totals[k] += *(const GLushort*)temp_index * y_percent;
2039 totals[k] += *(const GLushort*)temp_index * percent;
2050 totals[k] += *(const GLushort*)temp_index * percent;
2066 totals[k] += *(const GLushort*)temp_index;
2126 GLushort swapbuf; /* unsigned buffer */
3504 GLushort *beforeImage;
3505 GLushort *afterImage;
3556 GLushort *newImage;
3558 GLushort *otherImage;
3559 GLushort *imageTemp;
3575 newImage = (GLushort *)
3603 otherImage = (GLushort *) malloc(memreq);
3702 GLushort *newImage;
3705 GLushort *otherImage;
3706 GLushort *imageTemp;
3728 newImage = (GLushort *)
3758 otherImage = (GLushort *) malloc(memreq);
3904 dstImage = (GLushort *)malloc(memreq);
3928 dstImage = (GLushort *)malloc(memreq);
3961 (const GLushort *)usersImage, (GLushort *)dstImage,
4069 dstImage = (GLushort *)malloc(memreq);
4093 dstImage = (GLushort *)malloc(memreq);
4125 dstImage = (GLushort *)malloc(memreq);
4149 dstImage = (GLushort *)malloc(memreq);
4185 (const GLushort *)usersImage, newwidth, newheight,
4186 (GLushort *)dstImage, element_size,
4312 dstImage = (GLushort *)malloc(memreq);
4336 dstImage = (GLushort *)malloc(memreq);
4382 (GLushort *)srcImage, (GLushort *)dstImage, element_size,
4816 return(sizeof(GLushort));
4838 return(sizeof(GLushort));
4881 const void *userdata, GLushort *newimage)
4892 GLushort *iter2;
4971 *iter2++ = (GLushort)(extractComponents[k]*65535);
4977 *iter2++ = (GLushort)(extractComponents[k]*65535);
4998 *iter2++ = (GLushort)(extractComponents[k]*65535);
5004 *iter2++ = (GLushort)(extractComponents[k]*65535);
5010 *iter2++ = (GLushort)(extractComponents[k]*65535);
5016 *iter2++ = (GLushort)(extractComponents[k]*65535);
5022 *iter2++ = (GLushort)(extractComponents[k]*65535);
5028 *iter2++ = (GLushort)(extractComponents[k]*65535);
5054 *iter2++ = (GLushort)(extractComponents[k]*65535);
5060 *iter2++ = (GLushort)(extractComponents[k]*65535);
5066 *iter2++ = (GLushort)(extractComponents[k]*65535);
5072 *iter2++ = (GLushort)(extractComponents[k]*65535);
5144 const GLushort *oldimage, void *userdata)
5155 const GLushort *iter2;
5277 *(GLushort *)iter = widget.us[0];
5290 *(GLushort *)iter = widget.us[0];
5302 *(GLushort *)iter = widget.us[0];
5314 *(GLushort *)iter = widget.us[0];
5326 *(GLushort *)iter = widget.us[0];
5338 *(GLushort *)iter = widget.us[0];
5557 GLushort ushort;
5563 ushort= *(const GLushort *)packedPixel;
5587 ((GLushort *)packedPixel)[index] =
5588 ((GLushort)((shoveComponents[0] * 31)+0.5) << 11) & 0xf800;
5589 ((GLushort *)packedPixel)[index]|=
5590 ((GLushort)((shoveComponents[1] * 63)+0.5) << 5) & 0x07e0;
5591 ((GLushort *)packedPixel)[index]|=
5592 ((GLushort)((shoveComponents[2] * 31)+0.5) ) & 0x001f;
5598 GLushort ushort;
5604 ushort= *(const GLushort *)packedPixel;
5628 ((GLushort *)packedPixel)[index] =
5629 ((GLushort)((shoveComponents[0] * 31.0)+0.5) ) & 0x001F;
5630 ((GLushort *)packedPixel)[index]|=
5631 ((GLushort)((shoveComponents[1] * 63.0)+0.5) << 5) & 0x07E0;
5632 ((GLushort *)packedPixel)[index]|=
5633 ((GLushort)((shoveComponents[2] * 31.0)+0.5) << 11) & 0xF800;
5639 GLushort ushort;
5645 ushort= *(const GLushort *)packedPixel;
5668 ((GLushort *)packedPixel)[index] =
5669 ((GLushort)((shoveComponents[0] * 15)+0.5) << 12) & 0xf000;
5670 ((GLushort *)packedPixel)[index]|=
5671 ((GLushort)((shoveComponents[1] * 15)+0.5) << 8) & 0x0f00;
5672 ((GLushort *)packedPixel)[index]|=
5673 ((GLushort)((shoveComponents[2] * 15)+0.5) << 4) & 0x00f0;
5674 ((GLushort *)packedPixel)[index]|=
5675 ((GLushort)((shoveComponents[3] * 15)+0.5) ) & 0x000f;
5681 GLushort ushort;
5687 ushort= *(const GLushort *)packedPixel;
5716 ((GLushort *)packedPixel)[index] =
5717 ((GLushort)((shoveComponents[0] * 15)+0.5) ) & 0x000F;
5718 ((GLushort *)packedPixel)[index]|=
5719 ((GLushort)((shoveComponents[1] * 15)+0.5) << 4) & 0x00F0;
5720 ((GLushort *)packedPixel)[index]|=
5721 ((GLushort)((shoveComponents[2] * 15)+0.5) << 8) & 0x0F00;
5722 ((GLushort *)packedPixel)[index]|=
5723 ((GLushort)((shoveComponents[3] * 15)+0.5) << 12) & 0xF000;
5729 GLushort ushort;
5735 ushort= *(const GLushort *)packedPixel;
5763 ((GLushort *)packedPixel)[index] =
5764 ((GLushort)((shoveComponents[0] * 31)+0.5) << 11) & 0xf800;
5765 ((GLushort *)packedPixel)[index]|=
5766 ((GLushort)((shoveComponents[1] * 31)+0.5) << 6) & 0x07c0;
5767 ((GLushort *)packedPixel)[index]|=
5768 ((GLushort)((shoveComponents[2] * 31)+0.5) << 1) & 0x003e;
5769 ((GLushort *)packedPixel)[index]|=
5770 ((GLushort)((shoveComponents[3])+0.5) ) & 0x0001;
5776 GLushort ushort;
5782 ushort= *(const GLushort *)packedPixel;
5811 ((GLushort *)packedPixel)[index] =
5812 ((GLushort)((shoveComponents[0] * 31)+0.5) ) & 0x001F;
5813 ((GLushort *)packedPixel)[index]|=
5814 ((GLushort)((shoveComponents[1] * 31)+0.5) << 5) & 0x03E0;
5815 ((GLushort *)packedPixel)[index]|=
5816 ((GLushort)((shoveComponents[2] * 31)+0.5) << 10) & 0x7C00;
5817 ((GLushort *)packedPixel)[index]|=
5818 ((GLushort)((shoveComponents[3])+0.5) << 15) & 0x8000;
6096 totals[k] += *(const GLushort*)temp_index * percent;
6115 totals[k] += *(const GLushort*)temp_index * y_percent;
6134 totals[k] += *(const GLushort*)temp_index * percent;
6155 totals[k] += *(const GLushort*)temp_index * percent;
6173 totals[k] += *(const GLushort*)temp_index * y_percent;
6192 totals[k] += *(const GLushort*)temp_index * percent;
6214 totals[k] += *(const GLushort*)left * (1-lowx_float)
6215 + *(const GLushort*)right * highx_float;
6237 totals[k] += *(const GLushort*)temp_index * percent;
6255 totals[k] += *(const GLushort*)temp_index * x_percent;
6273 totals[k] += *(const GLushort*)temp_index * percent;
6292 totals[k] += *(const GLushort*)temp_index * percent;
6310 totals[k] += *(const GLushort*)temp_index * y_percent;
6328 totals[k] += *(const GLushort*)temp_index * percent;
6346 totals[k] += *(const GLushort*)temp_index * percent;
6368 totals[k] += *(const GLushort*)temp_index;
6688 const void *userImage, GLushort *newImage)
6701 GLushort *iter2;
6769 *iter2++ = (GLushort)(extractComponents[k]*65535);
6775 *iter2++ = (GLushort)(extractComponents[k]*65535);
6781 *iter2++ = (GLushort)(extractComponents[k]*65535);
6787 *iter2++ = (GLushort)(extractComponents[k]*65535);
6793 *iter2++ = (GLushort)(extractComponents[k]*65535);
6799 *iter2++ = (GLushort)(extractComponents[k]*65535);
6805 *iter2++ = (GLushort)(extractComponents[k]*65535);
6811 *iter2++ = (GLushort)(extractComponents[k]*65535);
6837 *iter2++ = (GLushort)(extractComponents[k]*65535);
6843 *iter2++ = (GLushort)(extractComponents[k]*65535);
6849 *iter2++ = (GLushort)(extractComponents[k]*65535);
6855 *iter2++ = (GLushort)(extractComponents[k]*65535);
6923 const GLushort *dataIn,
6925 GLushort *dataOut)
7053 const GLushort *oldImage, void *userImage)
7064 const GLushort *iter2;
7154 *(GLushort *)iter = widget.us[0];
7167 *(GLushort *)iter = widget.us[0];
7179 *(GLushort *)iter = widget.us[0];
7191 *(GLushort *)iter = widget.us[0];
7203 *(GLushort *)iter = widget.us[0];
7215 *(GLushort *)iter = widget.us[0];
7363 GLushort *beforeImage, *afterImage;
7843 dstImage = (GLushort *)malloc(memReq);
7867 dstImage = (GLushort *)malloc(memReq);
8062 dstImage = (GLushort *)malloc(memReq);
8086 dstImage = (GLushort *)malloc(memReq);
8120 dstImage = (GLushort *)malloc(memReq);
8144 dstImage = (GLushort *)malloc(memReq);
8197 dstImage = (GLushort *)malloc(memReq);
8221 dstImage = (GLushort *)malloc(memReq);
8551 GLushort ushort;
8557 ushort= *(const GLushort *)uitem;
8569 ((GLushort *)data)[index]= (GLushort)value;