Home | History | Annotate | Download | only in directfb

Lines Matching defs:pixelformat

166   if (bytes == DFB_BYTES_PER_PIXEL(dlc.pixelformat) && bytes > 1)
167 return dlc.pixelformat;
316 static int DFBToSDLPixelFormat (DFBSurfacePixelFormat pixelformat, SDL_PixelFormat *format)
321 switch (pixelformat)
359 fprintf (stderr, "SDL_DirectFB: Unsupported pixelformat (0x%08x)!\n", pixelformat);
363 format->BitsPerPixel = DFB_BYTES_PER_PIXEL(pixelformat) * 8;
364 format->BytesPerPixel = DFB_BYTES_PER_PIXEL(pixelformat);
419 /* Query layer configuration to determine the current mode and pixelformat */
423 if (DFBToSDLPixelFormat (dlc.pixelformat, vformat))
505 dlc.pixelformat = DSPF_RGB32;
594 pixelformat;
660 dsc.pixelformat = GetFormatForBpp (bpp, HIDDEN->layer);
690 surface->GetPixelFormat (surface, &pixelformat);
692 DFBToSDLPixelFormat (pixelformat, current->format);
695 if (DFB_PIXELFORMAT_IS_INDEXED( pixelformat ))
819 /* find the right pixelformat */
820 dsc.pixelformat = SDLToDFBPixelFormat (surface->format);
821 if (dsc.pixelformat == DSPF_UNKNOWN)