Lines Matching refs:width
34 uint32_t width, height;
70 width = CGDisplayPixelsWide(displayIDs[0]);
73 buffer = malloc(width * height * sizeof(uint32_t));
76 bcopy(screen + j * rowBytes, buffer + j * width, width * sizeof(uint32_t));
80 printf("copy Mbs %f\n", ((double) width * height * sizeof(uint32_t)) / 1024.0 / 1024.0 / ((end - start) * scale / NSEC_PER_SEC) );
85 compressBuffer = malloc(width * height * sizeof(uint32_t) * 2);
88 //rowBytes = width;
93 width, height, rowBytes << 2,
94 (UInt8 *) compressBuffer, width * height * sizeof(uint32_t) * 2 );
99 DEBG(thisIndex, " compressed to %d%%\n", (compressLen * 100) / (width * height * sizeof(uint32_t)));
103 uint16_t * sc0 = malloc((width+2) * sizeof(uint16_t));
104 uint16_t * sc1 = malloc((width+2) * sizeof(uint16_t));
105 uint16_t * sc2 = malloc((width+2) * sizeof(uint16_t));
106 uint16_t * sc3 = malloc((width+2) * sizeof(uint16_t));
109 bzero(sc0, (width+2) * sizeof(uint16_t));
110 bzero(sc1, (width+2) * sizeof(uint16_t));
111 bzero(sc2, (width+2) * sizeof(uint16_t));
112 bzero(sc3, (width+2) * sizeof(uint16_t));
120 for (i = 0; i < width; i++)
144 for (i = 0; i < (width + 2); i++)
146 if (i < width)