Lines Matching refs:ImgHeight
14 static int ImgWidth, ImgHeight;
65 fmt, ImgWidth, ImgHeight, 0,
71 ImgWidth, ImgHeight / 2,
75 0, ImgHeight / 2, /* pos */
76 ImgWidth, ImgHeight / 2,
89 buffer = (GLubyte *) malloc(3 * ImgWidth * ImgHeight);
114 image = LoadRGBImage( file, &ImgWidth, &ImgHeight, &ImgFormat );
119 printf("Image is %d x %d\n", ImgWidth, ImgHeight);
123 assert(ImgWidth == 128 || ImgHeight == 256 || ImgHeight == 512);
132 for (i = 0; i < ImgWidth * ImgHeight; i++) {
148 glTexImage2D(Target, 0, CompFormat, ImgWidth, ImgHeight, 0,
158 printf("Original size: %d bytes\n", ImgWidth * ImgHeight * 3);