Lines Matching defs:heightin
102 static void scale_internal(GLint components, GLint widthin, GLint heightin,
108 GLint heightin, const GLubyte *datain,
113 GLint heightin, const GLbyte *datain,
118 GLint heightin, const GLushort *datain,
124 GLint heightin, const GLshort *datain,
130 GLint heightin, const GLuint *datain,
136 GLint heightin, const GLint *datain,
142 GLint heightin, const GLfloat *datain,
1289 static void scale_internal(GLint components, GLint widthin, GLint heightin,
1304 if (widthin == widthout*2 && heightin == heightout*2) {
1305 halveImage(components, widthin, heightin, datain, dataout);
1308 convy = (float) heightin/heightout;
1314 if (heightin > heightout) {
1342 yindex = (yint + heightin) % heightin;
1386 GLint heightin, const GLubyte *datain,
1411 if (widthin == widthout*2 && heightin == heightout*2) {
1412 halveImage_ubyte(components, widthin, heightin,
1417 convy = (float) heightin/heightout;
1433 if (highy_int >= heightin)
1434 highy_int = heightin - 1;
1603 GLint heightin, const GLbyte *datain,
1628 if (widthin == widthout*2 && heightin == heightout*2) {
1629 halveImage_byte(components, widthin, heightin,
1634 convy = (float) heightin/heightout;
1650 if (highy_int >= heightin)
1651 highy_int = heightin - 1;
1820 GLint heightin, const GLushort *datain,
1846 if (widthin == widthout*2 && heightin == heightout*2) {
1847 halveImage_ushort(components, widthin, heightin,
1852 convy = (float) heightin/heightout;
1868 if (highy_int >= heightin)
1869 highy_int = heightin - 1;
2100 GLint heightin, const GLshort *datain,
2128 if (widthin == widthout*2 && heightin == heightout*2) {
2129 halveImage_short(components, widthin, heightin,
2134 convy = (float) heightin/heightout;
2150 if (highy_int >= heightin)
2151 highy_int = heightin - 1;
2394 GLint heightin, const GLuint *datain,
2420 if (widthin == widthout*2 && heightin == heightout*2) {
2421 halveImage_uint(components, widthin, heightin,
2426 convy = (float) heightin/heightout;
2442 if (highy_int >= heightin)
2443 highy_int = heightin - 1;
2681 GLint heightin, const GLint *datain,
2709 if (widthin == widthout*2 && heightin == heightout*2) {
2710 halveImage_int(components, widthin, heightin,
2715 convy = (float) heightin/heightout;
2731 if (highy_int >= heightin)
2732 highy_int = heightin - 1;
2977 GLint heightin, const GLfloat *datain,
3005 if (widthin == widthout*2 && heightin == heightout*2) {
3006 halveImage_float(components, widthin, heightin,
3011 convy = (float) heightin/heightout;
3027 if (highy_int >= heightin)
3028 highy_int = heightin - 1;
3498 gluScaleImage(GLenum format, GLsizei widthin, GLsizei heightin,
3508 if (widthin == 0 || heightin == 0 || widthout == 0 || heightout == 0) {
3511 if (widthin < 0 || heightin < 0 || widthout < 0 || heightout < 0) {
3524 malloc(image_size(widthin, heightin, format, GL_UNSIGNED_SHORT));
3534 fill_image(&psm,widthin, heightin, format, typein, is_index(format),
3537 scale_internal(components, widthin, heightin, beforeImage,