Searched refs:numBytesPerPixel (Results 1 - 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/epoc/
H A DSDL_epocvideo.cpp371 int numBytesPerPixel = ((bpp-1)>>3) + 1; local
372 current->pitch = numBytesPerPixel * width; // Number of bytes in scanline
373 current->pixels = SDL_malloc(width * height * numBytesPerPixel);
374 SDL_memset(current->pixels, 0, width * height * numBytesPerPixel);

Completed in 42 milliseconds