Searched defs:bytes_per_pixel (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/packer/
H A Dpack_pixels.c70 int bytes_per_pixel; local
73 bytes_per_pixel = crPixelSize(format, type);
74 if (bytes_per_pixel <= 0) {
82 bytes_per_row = width * bytes_per_pixel;
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDLTest.cpp292 int bytes_per_pixel = (guGuestBpp + 7) / 8; local
293 gPtrVRAM = malloc(guGuestXRes * guGuestYRes * bytes_per_pixel);
295 bytes_per_pixel * guGuestXRes,
/vbox/src/VBox/RDP/client-1.8.3/
H A Dcache.c362 cache_get_desktop(uint32 offset, int cx, int cy, int bytes_per_pixel) argument
364 int length = cx * cy * bytes_per_pixel;
380 cache_put_desktop(uint32 offset, int cx, int cy, int scanline, int bytes_per_pixel, uint8 * data) argument
382 int length = cx * cy * bytes_per_pixel;
389 cx *= bytes_per_pixel;
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dutils.c572 static const u_int8_t bytes_per_pixel[6] = { local
647 switch ( bytes_per_pixel[ index ] ) {
/vbox/src/libs/libpng-1.2.8/
H A Dpngrtran.c4130 int bytes_per_pixel; local
4138 bytes_per_pixel = 3;
4140 bytes_per_pixel = 4;
4144 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
4156 bytes_per_pixel = 6;
4158 bytes_per_pixel = 8;
4162 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)

Completed in 59 milliseconds