Home | History | Annotate | Download | only in video

Lines Matching refs:format

25    Code to load and save surfaces in Windows BMP format.
27 Why support BMP format? Well, it's a native format for Windows, and
29 to be able to have at least one image format that we can natively load
177 /* Default values for the BMP format */
232 palette = (surface->format)->palette;
390 if ( saveme->format->palette ) {
391 if ( saveme->format->BitsPerPixel == 8 ) {
395 saveme->format->BitsPerPixel);
398 else if ( (saveme->format->BitsPerPixel == 24) &&
400 (saveme->format->Rmask == 0x00FF0000) &&
401 (saveme->format->Gmask == 0x0000FF00) &&
402 (saveme->format->Bmask == 0x000000FF)
404 (saveme->format->Rmask == 0x000000FF) &&
405 (saveme->format->Gmask == 0x0000FF00) &&
406 (saveme->format->Bmask == 0x00FF0000)
439 const int bw = surface->w*surface->format->BytesPerPixel;
461 biBitCount = surface->format->BitsPerPixel;
466 if ( surface->format->palette ) {
467 biClrUsed = surface->format->palette->ncolors;
487 if ( surface->format->palette ) {
491 colors = surface->format->palette->colors;
492 ncolors = surface->format->palette->ncolors;