This section discusses the details of the pixel-storage and -transfer modes, including how to set up an arbitrary mapping to convert pixel data as it's transferred. Remember that you need to use these modes only if you need to convert pixel data from one format to another.
OpenGL Programming Guide