Struct question

Can someone tell me what these are? I know bitspp and bytespp, but the
rest?

-Benjamin Meyer

typedef struct SDL_PixelFormat {
SDL_Palette *palette;
Uint8 BitsPerPixel;
Uint8 BytesPerPixel;
Uint8 Rloss;
Uint8 Gloss;
Uint8 Bloss;
Uint8 Aloss;
Uint8 Rshift;
Uint8 Gshift;
Uint8 Bshift;
Uint8 Ashift;
Uint32 Rmask;
Uint32 Gmask;
Uint32 Bmask;
Uint32 Amask;

     /* RGB color key information */
     Uint32 colorkey;
     /* Alpha value information ( per-surface alpha ) */
     Uint8  alpha;

} SDL_PixelFormat;

Can someone tell me what these are? I know bitspp and bytespp, but the
rest?

RTFSource. The {RGB}{loss,shift,mask} are to extract/construct the RGB
bit fields that make up a pixel value, as there is no “standard” order
and/or size of the RGB components.
colorkey is the pixel value considered to be “transparent”; alpha is
an opacity value for the surface.