Searched refs:sizeX (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/samples/
H A Dloadppm.c3 size_t sizeX, sizeY; member in struct:__anon85d8c66c0108
45 result->sizeX = w;
57 result->data = (GLubyte *) malloc(3 * result->sizeX * result->sizeY);
64 if (fread(result->data, 3 * result->sizeX, result->sizeY, fp) != result->sizeY)
H A Dstretch.c74 glDrawPixels(image->sizeX, image->sizeY, GL_RGB, GL_UNSIGNED_BYTE,
83 glDrawPixels(image->sizeX, image->sizeY, GL_RGB, GL_UNSIGNED_BYTE,
144 static void ScaleImage(int sizeX, int sizeY) argument
148 buf = (GLubyte *)malloc(3*sizeX*sizeY);
149 gluScaleImage(GL_RGB, image->sizeX, image->sizeY, GL_UNSIGNED_BYTE,
150 image->data, sizeX, sizeY, GL_UNSIGNED_BYTE, buf);
153 image->sizeX = sizeX;
348 imageSizeX = (int)pow(2.0, (float)((int)(log(image->sizeX)/log(2.0))));
375 glTexImage2D(GL_TEXTURE_2D, 0, 3, image->sizeX, imag
[all...]
H A Dcopy.c104 src[0] = (int) ((windW / 2.0) - (image->sizeX / 2.0));
111 glDrawPixels(image->sizeX, image->sizeY, GL_RGB, GL_UNSIGNED_BYTE,
121 image->sizeX, image->sizeY, GL_COLOR);
H A Dtexture.c276 gluBuild2DMipmaps(GL_TEXTURE_2D, 3, image->sizeX, image->sizeY,
H A Dquad.c152 gluBuild2DMipmaps(GL_TEXTURE_2D, 3, image->sizeX, image->sizeY,
/xsrc/external/mit/mesa-demos/dist/src/util/
H A Dreadtex.c28 GLint sizeX, sizeY; member in struct:_TK_RGBImageRec
41 unsigned short sizeX, sizeY, sizeZ; member in struct:_rawImageRec
125 ConvertShort(&raw->sizeX, 1);
130 raw->tmp = (unsigned char *)malloc(raw->sizeX*256);
131 raw->tmpR = (unsigned char *)malloc(raw->sizeX*256);
132 raw->tmpG = (unsigned char *)malloc(raw->sizeX*256);
133 raw->tmpB = (unsigned char *)malloc(raw->sizeX*256);
135 raw->tmpA = (unsigned char *)malloc(raw->sizeX*256);
229 fseek(raw->file, 512+(y*raw->sizeX)+(z*raw->sizeX*ra
[all...]
/xsrc/external/mit/fonttosfnt/dist/
H A Dstruct.c79 makeStrike(FontPtr font, int sizeX, int sizeY) argument
86 if(strike->sizeX == sizeX && strike->sizeY == sizeY)
103 .sizeX = sizeX,
460 (((float)bitmap->advanceWidth) / strike->sizeX) *
464 ((float)bitmap->horiBearingX / strike->sizeX) *
473 / strike->sizeX) * TWO_SIXTEENTH;
H A Dfonttosfnt.h120 int sizeX; member in struct:_Strike
H A Dwrite.c697 writeBYTE(out, strike->sizeX); /* ppemX */
/xsrc/external/mit/xf86-video-vboxvideo/dist/src/
H A DVBoxVideo.h446 uint32_t sizeX; member in struct:VBOXVHWA_SURFACEDESC

Completed in 13 milliseconds