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
158 /* Default values for the BMP format */
213 palette = (surface->format)->palette;
361 if ( saveme->format->palette ) {
362 if ( saveme->format->BitsPerPixel == 8 ) {
366 saveme->format->BitsPerPixel);
369 else if ( (saveme->format->BitsPerPixel == 24) &&
371 (saveme->format->Rmask == 0x00FF0000) &&
372 (saveme->format->Gmask == 0x0000FF00) &&
373 (saveme->format->Bmask == 0x000000FF)
375 (saveme->format->Rmask == 0x000000FF) &&
376 (saveme->format->Gmask == 0x0000FF00) &&
377 (saveme->format->Bmask == 0x00FF0000)
410 const int bw = surface->w*surface->format->BytesPerPixel;
432 biBitCount = surface->format->BitsPerPixel;
437 if ( surface->format->palette ) {
438 biClrUsed = surface->format->palette->ncolors;
458 if ( surface->format->palette ) {
462 colors = surface->format->palette->colors;
463 ncolors = surface->format->palette->ncolors;