Lines Matching refs:ImgWidth
19 static int ImgWidth, ImgHeight;
67 BPosX = APosX + ImgWidth + 5; BPosY = 20;
68 CPosX = BPosX + ImgWidth + 5; CPosY = 20;
138 glPixelStorei(GL_PACK_ROW_LENGTH, ImgWidth);
160 glDrawPixels(ImgWidth, ImgHeight, ImgFormat, GL_UNSIGNED_BYTE, Image);
165 glViewport(APosX, APosY, ImgWidth, ImgHeight);
225 glReadPixels(APosX, APosY, ImgWidth, ImgHeight,
231 mpixels = reads * (ImgWidth * ImgHeight / (1000.0 * 1000.0));
239 memset(TempImage, 255, ImgWidth * ImgHeight * 4);
241 glReadPixels(APosX, APosY, ImgWidth, ImgHeight,
246 ComplexReadPixels(APosX, APosY, ImgWidth, ImgHeight,
253 glDrawPixels(ImgWidth, ImgHeight, ReadFormat, ReadType, TempImage);
261 glCopyPixels(APosX, APosY, ImgWidth, ImgHeight, GL_COLOR);
328 Image = LoadRGBImage( IMAGE_FILE, &ImgWidth, &ImgHeight, &ImgFormat );
336 GLubyte *indexImage = (GLubyte *) malloc( ImgWidth * ImgHeight );
338 for (i=0; i<ImgWidth*ImgHeight; i++) {
366 printf("Loaded %d by %d image\n", ImgWidth, ImgHeight );
368 glPixelStorei(GL_UNPACK_ROW_LENGTH, ImgWidth);
369 glPixelStorei(GL_PACK_ROW_LENGTH, ImgWidth);
376 TempImage = (GLubyte *) malloc(ImgWidth * ImgHeight * 4 * 4