Lines Matching refs:widthin
102 static void scale_internal(GLint components, GLint widthin, GLint heightin,
107 static void scale_internal_ubyte(GLint components, GLint widthin,
112 static void scale_internal_byte(GLint components, GLint widthin,
117 static void scale_internal_ushort(GLint components, GLint widthin,
123 static void scale_internal_short(GLint components, GLint widthin,
129 static void scale_internal_uint(GLint components, GLint widthin,
135 static void scale_internal_int(GLint components, GLint widthin,
141 static void scale_internal_float(GLint components, GLint widthin,
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);
1309 convx = (float) widthin/widthout;
1323 if (widthin > widthout) {
1353 xindex = (xint + widthin) % widthin;
1362 temp = (xindex + (yindex * widthin)) * components;
1385 static void scale_internal_ubyte(GLint components, GLint widthin,
1411 if (widthin == widthout*2 && heightin == heightout*2) {
1412 halveImage_ubyte(components, widthin, heightin,
1418 convx = (float) widthin/widthout;
1602 static void scale_internal_byte(GLint components, GLint widthin,
1628 if (widthin == widthout*2 && heightin == heightout*2) {
1629 halveImage_byte(components, widthin, heightin,
1635 convx = (float) widthin/widthout;
1819 static void scale_internal_ushort(GLint components, GLint widthin,
1846 if (widthin == widthout*2 && heightin == heightout*2) {
1847 halveImage_ushort(components, widthin, heightin,
1853 convx = (float) widthin/widthout;
2099 static void scale_internal_short(GLint components, GLint widthin,
2128 if (widthin == widthout*2 && heightin == heightout*2) {
2129 halveImage_short(components, widthin, heightin,
2135 convx = (float) widthin/widthout;
2393 static void scale_internal_uint(GLint components, GLint widthin,
2420 if (widthin == widthout*2 && heightin == heightout*2) {
2421 halveImage_uint(components, widthin, heightin,
2427 convx = (float) widthin/widthout;
2680 static void scale_internal_int(GLint components, GLint widthin,
2709 if (widthin == widthout*2 && heightin == heightout*2) {
2710 halveImage_int(components, widthin, heightin,
2716 convx = (float) widthin/widthout;
2976 static void scale_internal_float(GLint components, GLint widthin,
3005 if (widthin == widthout*2 && heightin == heightout*2) {
3006 halveImage_float(components, widthin, heightin,
3012 convx = (float) widthin/widthout;
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,