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

/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dpixel.c1622 char *swapRow = NULL; local
1631 swapRow = (char *) crAlloc(width * srcBytesPerPixel);
1632 if (!swapRow) {
1643 crMemcpy(swapRow, src, bytes);
1645 swap2((GLushort *) swapRow, bytes / 2);
1647 swap4((GLuint *) swapRow, bytes / 4);
1648 get_row(swapRow, srcFormat, srcType, width, tmpRow);
1674 if (swapRow)
1675 crFree(swapRow);

Completed in 39 milliseconds