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

/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
H A DSDL_epocvideo.cpp436 const int numBytesPerPixel = ((bpp-1)>>3) + 1; local
437 current->pitch = numBytesPerPixel * width; // Number of bytes in scanline
458 const TInt surfacesize = width * height * numBytesPerPixel;
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocvideo.cpp562 int numBytesPerPixel = ((bpp-1)>>3) + 1; local
563 current->pitch = numBytesPerPixel * width; // Number of bytes in scanline
564 current->pixels = malloc(width * height * numBytesPerPixel);
565 memset(current->pixels, 0, width * height * numBytesPerPixel);

Completed in 53 milliseconds