Searched defs:bpp (Results 1 - 25 of 91) sorted by relevance

1234

/vbox/src/VBox/Frontends/VBoxFB/
H A DHelper.h27 uint32_t bpp; member in struct:videoMode
32 DFBEnumerationResult enumVideoModesHandler(int width, int height, int bpp, void *callbackdata);
33 int32_t getBestVideoMode(uint32_t width, uint32_t height, uint32_t bpp);
H A DHelper.cpp34 * @param bpp bits per pixel of the current video mode
37 DFBEnumerationResult enumVideoModesHandler(int width, int height, int bpp, void *callbackdata) argument
44 if (bpp >= 16)
48 int32_t existingMode = getBestVideoMode(width, height, bpp);
52 (videoModes[existingMode].bpp != (uint32_t)bpp)))
56 videoModes[numVideoModes].bpp = (uint32_t)bpp;
69 * @param bpp requested bit depth
71 int32_t getBestVideoMode(uint32_t width, uint32_t height, uint32_t bpp) argument
[all...]
H A DFramebuffer.cpp290 (videoModes[bestMode].bpp != bitsPerPixel))
300 videoModes[bestMode].bpp));
321 NS_IMETHODIMP VBoxDirectFB::VideoModeSupported(PRUint32 w, PRUint32 h, PRUint32 bpp, PRBool *supported) argument
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dmap_v4v6.c112 _map_v4v6_hostent(struct hostent *hp, char **bpp, int *lenp) argument
121 int i = (int)(sizeof(align) - ((size_t)*bpp % sizeof(align)));
128 *bpp += i;
130 _map_v4v6_address(*ap, *bpp);
131 *ap = *bpp;
132 *bpp += IN6ADDRSZ;
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/common/
H A DVBoxMPUtils.cpp121 bool VBoxLikesVideoMode(uint32_t display, uint32_t width, uint32_t height, uint32_t bpp) argument
141 req2->bpp = bpp;
160 req->bpp = bpp;
175 LOG(("width: %d, height: %d, bpp: %d -> %s", width, height, bpp, (bRC == 1) ? "OK" : "FALSE"));
180 bool VBoxQueryDisplayRequest(uint32_t *xres, uint32_t *yres, uint32_t *bpp, uint32_t *pDisplayId) argument
205 if (bpp)
206 *bpp
[all...]
H A DVBoxMPVidModes.cpp36 VBoxMPValidateVideoModeParamsGuest(PVBOXMP_DEVEXT pExt, uint32_t iDisplay, uint32_t xres, uint32_t yres, uint32_t bpp) argument
38 switch (bpp)
61 WARN(("Unexpected bpp (%d)", bpp));
82 VBoxFillVidModeInfo(VIDEO_MODE_INFORMATION *pMode, ULONG xres, ULONG yres, ULONG bpp, ULONG index, ULONG yoffset) argument
84 LOGF(("%dx%d:%d (idx=%d, yoffset=%d)", xres, yres, bpp, index, yoffset));
93 pMode->ScreenStride = xres * ((bpp + 7) / 8);
95 pMode->BitsPerPlane = bpp;
105 switch (bpp)
291 /* there are 4 color depths: 8, 16, 24 and 32bpp an
409 uint32_t xres, yres, bpp = 0; local
520 VBoxMPIsSupportedBpp(uint32_t bpp) argument
530 VBoxMPAdjustBpp(uint32_t bpp) argument
543 VBoxMPValidateVideoModeParams(PVBOXMP_DEVEXT pExt, uint32_t iDisplay, uint32_t &xres, uint32_t &yres, uint32_t &bpp) argument
657 uint32_t xres=0, yres=0, bpp=0, display=0; local
785 uint32_t xres=0, yres=0, bpp=0; local
[all...]
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDLTest.cpp64 static void bench(unsigned long w, unsigned long h, unsigned long bpp);
134 RTPrintf(" Optimal bpp mode: %d\n", videoInfo->vfmt->BitsPerPixel);
159 static void bench(unsigned long w, unsigned long h, unsigned long bpp) argument
167 guGuestBpp = bpp;
/vbox/src/VBox/Additions/haiku/VBoxVideo/driver/
H A Ddriver.cpp205 uint16_t width, height, vwidth, bpp, flags; local
206 VBoxVideoGetModeRegisters(&width, &height, &vwidth, &bpp, &flags);
208 gDeviceInfo.sharedInfo->currentMode.space = get_color_space_for_depth(bpp);
/vbox/src/VBox/Additions/linux/drm/
H A Dvbox_fb.c107 int bpp = (afbdev->afb.base.bits_per_pixel + 7)/8; local
175 src_offset = dst_offset = i * afbdev->afb.base.pitches[0] + (x * bpp);
176 memcpy_toio(bo->kmap.virtual + src_offset, afbdev->sysram + src_offset, (x2 - x + 1) * bpp);
242 u32 bpp, depth; local
253 drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp);
284 mode_cmd.bpp = sizes->surface_bpp;
/vbox/src/VBox/Devices/Graphics/BIOS/
H A Dvbe.c123 static void dispi_set_bpp(uint16_t bpp) argument
126 printf("vbe_set_bpp: %02x\n", bpp);
129 out_w(VBE_DISPI_IOPORT_DATA, bpp);
516 uint8_t bpp; local
520 bpp = in_byte(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, info.BitsPerPixel) /*&cur_info->info.BitsPerPixel*/);
524 printf("\txres%x yres%x bpp%x\n", xres, yres, bpp);
533 printf("\txres%x yres%x bpp%x\n",
544 if (bpp == 4)
553 dispi_set_bpp(bpp);
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/
H A DVBoxDbgGl.c126 GLint bpp = dbglFmtGetBpp(format, type); local
169 pvImage = dbglAlloc(((bpp*dstw + 7) >> 3)*dsth);
208 void dbglDumpImage2D(const char* pszDesc, const void *pvData, uint32_t width, uint32_t height, uint32_t bpp, uint32_t pitch) argument
211 pvData, width, height, bpp, pitch,
213 pvData, width, height, bpp, pitch);
235 GLint bpp = dbglFmtGetBpp(format, type); local
240 pitch = ((bpp * width + 7) >> 3)/8;
241 texPitch = ((bpp * w + 7) >> 3)/8;
246 dbglDumpImage2D("expected texture data:", pvImage, width, height, bpp, pitch);
247 dbglDumpImage2D("stored texture data:", pvTexImg, w, h, bpp, texPitc
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/
H A DVBoxDbgGl.c135 GLint bpp = dbglFmtGetBpp(format, type); local
178 pvImage = dbglAlloc(((bpp*dstw + 7) >> 3)*dsth);
217 void dbglDumpImage2D(const char* pszDesc, const void *pvData, uint32_t width, uint32_t height, uint32_t bpp, uint32_t pitch) argument
220 pvData, width, height, bpp, pitch,
222 pvData, width, height, bpp, pitch);
244 GLint bpp = dbglFmtGetBpp(format, type); local
249 pitch = ((bpp * width + 7) >> 3)/8;
250 texPitch = ((bpp * w + 7) >> 3)/8;
255 dbglDumpImage2D("expected texture data:", pvImage, width, height, bpp, pitch);
256 dbglDumpImage2D("stored texture data:", pvTexImg, w, h, bpp, texPitc
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/vbox/
H A DVBoxDbgGl.c126 GLint bpp = dbglFmtGetBpp(format, type); local
169 pvImage = dbglAlloc(((bpp*dstw + 7) >> 3)*dsth);
208 void dbglDumpImage2D(const char* pszDesc, const void *pvData, uint32_t width, uint32_t height, uint32_t bpp, uint32_t pitch) argument
211 pvData, width, height, bpp, pitch,
213 pvData, width, height, bpp, pitch);
235 GLint bpp = dbglFmtGetBpp(format, type); local
240 pitch = ((bpp * width + 7) >> 3)/8;
241 texPitch = ((bpp * w + 7) >> 3)/8;
246 dbglDumpImage2D("expected texture data:", pvImage, width, height, bpp, pitch);
247 dbglDumpImage2D("stored texture data:", pvTexImg, w, h, bpp, texPitc
[all...]
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_blitter.h47 GLuint bpp; member in struct:CR_BLITTER_IMG
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageControlVM.cpp1374 ULONG width, height, bpp; local
1377 CHECK_ERROR_BREAK(pDisplay, GetScreenResolution(iScreen, &width, &height, &bpp, &xOrigin, &yOrigin, &monitorStatus));
/vbox/src/VBox/RDP/client-1.8.3/
H A Dorders.c931 uint8 cache_id, width, height, bpp, Bpp; local
939 in_uint8(s, bpp);
940 Bpp = (bpp + 7) / 8;
964 uint8 cache_id, width, height, bpp, Bpp; local
975 in_uint8(s, bpp);
976 Bpp = (bpp + 7) / 8;
997 DEBUG(("BMPCACHE(cx=%d,cy=%d,id=%d,idx=%d,bpp=%d,size=%d,pad1=%d,bufsize=%d,pad2=%d,rs=%d,fs=%d)\n", width, height, cache_id, cache_idx, bpp, size, pad1, bufsize, pad2, row_size, final_size));
/vbox/src/libs/libpng-1.2.8/
H A Dpnggccrd.c201 * - fixed bug in png_read_filter_row_mmx_avg(), bpp == 2 case; three errors:
739 } /* end 8 bpp */
892 } /* end 16 bpp */
1060 } /* end 24 bpp */
1235 } /* end 32 bpp */
1427 } /* end 48 bpp */
1467 } /* end 64 bpp */
2776 int bpp; local
2781 bpp = (row_info->pixel_depth + 7) >> 3; // get # bytes per pixel
2793 //pre "subl bpp,
3444 int bpp; local
4498 int bpp; local
5166 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
5225 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
5264 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
[all...]
H A Dpngvcrd.c20 * [png_read_filter_row_mmx_avg() bpp == 2 bugfix, GRR 20000916]
407 } // end 8 bpp
523 } // end 16 bpp
532 __int64 mask2=0x0101010202020404, //24bpp
658 } // end 24 bpp
667 __int64 mask3=0x0101010102020202, //32bpp
802 } // end 32 bpp
964 } // end 48 bpp
1931 int bpp; local
1937 bpp
2367 int bpp; local
3260 int bpp; local
3750 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
3809 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
3848 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3; local
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dfb.h605 unsigned char win32bpp; /* window bpp for 32-bpp images */
606 unsigned char pix32bpp; /* pixmap bpp for 32-bpp images */
625 unsigned char bpp; /* current drawable bpp */ member in struct:__anon6773
676 #define fbGetPixmapBitsData(pixmap, pointer, stride, bpp) { \
679 (bpp) = (pixmap)->drawable.bitsPerPixel; (void)(bpp); \
682 #define fbGetPixmapStipData(pixmap, pointer, stride, bpp) { \
[all...]
H A Dvbe.h319 int bpp; member in struct:_vbeModeInfoRec
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dfb.h436 unsigned char win32bpp; /* window bpp for 32-bpp images */
437 unsigned char pix32bpp; /* pixmap bpp for 32-bpp images */
455 unsigned char bpp; /* current drawable bpp */ member in struct:__anon7094
506 #define fbGetPixmapBitsData(pixmap, pointer, stride, bpp) { \
509 (bpp) = (pixmap)->drawable.bitsPerPixel; (void)(bpp); \
512 #define fbGetPixmapStipData(pixmap, pointer, stride, bpp) { \
[all...]
H A Dvbe.h319 int bpp; member in struct:_vbeModeInfoRec
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dfb.h71 /* whether to bother to include 24bpp support */
77 * Unless otherwise instructed, fb includes code to advertise 24bpp
78 * windows with 32bpp image format for application compatibility
597 unsigned char win32bpp; /* window bpp for 32-bpp images */
598 unsigned char pix32bpp; /* pixmap bpp for 32-bpp images */
622 unsigned char bpp; /* current drawable bpp */ member in struct:__anon7397
666 #define fbGetDrawable(pDrawable, pointer, stride, bpp, xof
[all...]
H A Dvbe.h305 int bpp; member in struct:_vbeModeInfoRec
314 DisplayModePtr mode, int bpp);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dfb.h106 /* whether to bother to include 24bpp support */
112 * Unless otherwise instructed, fb includes code to advertise 24bpp
113 * windows with 32bpp image format for application compatibility
648 unsigned char win32bpp; /* window bpp for 32-bpp images */
649 unsigned char pix32bpp; /* pixmap bpp for 32-bpp images */
668 unsigned char bpp; /* current drawable bpp */ member in struct:__anon7772
705 #define fbGetDrawable(pDrawable, pointer, stride, bpp, xof
[all...]

Completed in 2723 milliseconds

1234