Lines Matching defs:pixels
45 * Determine the minimum and maximum values of a group of pixels.
55 static GLubyte *pixels;
81 GLubyte* pixels;
101 pixels = (GLubyte *) malloc( n * sizeof( GLubyte ));
102 if ( !pixels ) {
103 fprintf( stderr, "Unable to malloc() bytes for pixels\n" );
108 num_read = fread( pixels, sizeof( GLubyte ), n, infile );
113 return pixels;
136 glDrawPixels(width, height, GL_RGB, GL_UNSIGNED_BYTE, pixels);
168 pixels = readImage("leeds.bin", &width, &height);