Searched refs:bitsPerPixel (Results 26 - 43 of 43) sorted by relevance

12

/haiku/src/add-ons/accelerants/ati/
H A Drage128_mode.cpp83 switch (mode.bitsPerPixel) {
97 TRACE("Unsupported color depth: %d bits/pixel\n", mode.bitsPerPixel);
155 int bytesPerPixel = (mode.bitsPerPixel + 7) / 8;
378 uint16 vesaMode = GetVesaModeNumber(display_mode(mode), mode.bitsPerPixel);
415 + mode.h_display_start) * ((mode.bitsPerPixel + 1) / 8);
H A Drage128_draw.cpp68 TRACE("Rage128_EngineInit() bits/pixel: %d\n", mode.bitsPerPixel);
75 switch (mode.bitsPerPixel) {
89 TRACE("Unsupported color depth: %d bits/pixel\n", mode.bitsPerPixel);
H A Drage128_overlay.cpp42 switch (si.displayMode.bitsPerPixel) {
H A Dmach64_overlay.cpp88 switch (si.displayMode.bitsPerPixel) {
H A Daccelerant.h185 uint16 GetVesaModeNumber(const display_mode& mode, uint8 bitsPerPixel);
H A Dmach64_draw.cpp50 switch (mode.bitsPerPixel) {
H A Doverlay.cpp121 * ((si.displayMode.bitsPerPixel + 7) / 8) // bytes per pixel
/haiku/src/add-ons/accelerants/intel_extreme/
H A DPorts.cpp1036 uint32 bitsPerPixel = 0; local
1037 link->PreTrain(&target->timing, &linkBandwidth, &lanes, &bitsPerPixel);
1038 fPipe->SetFDILink(target->timing, linkBandwidth, lanes, bitsPerPixel);
1281 uint32 bitsPerPixel = 0; local
1282 link->PreTrain(&hardwareTarget, &linkBandwidth, &lanes, &bitsPerPixel);
1283 fPipe->SetFDILink(hardwareTarget, linkBandwidth, lanes, bitsPerPixel);
1484 uint32 bitsPerPixel = 0; local
1485 link->PreTrain(&target->timing, &linkBandwidth, &lanes, &bitsPerPixel);
1486 fPipe->SetFDILink(target->timing, linkBandwidth, lanes, bitsPerPixel);
1853 uint32 bitsPerPixel local
1926 uint32 bitsPerPixel = local
2072 uint32 bitsPerPixel = 0; local
2524 uint32 bitsPerPixel = (pipeFunc & PIPE_DDI_BPC_MASK) >> PIPE_DDI_COLOR_SHIFT; local
[all...]
H A Dmode.cpp46 uint32 &bytesPerRow, uint32 &bitsPerPixel)
58 bitsPerPixel = 32;
67 bitsPerPixel = 16;
76 bitsPerPixel = 15;
86 bitsPerPixel = 8;
352 uint32 colorMode, bytesPerRow, bitsPerPixel;
353 get_color_space_format(target, colorMode, bytesPerRow, bitsPerPixel);
515 sharedInfo.bits_per_pixel = bitsPerPixel;
45 get_color_space_format(const display_mode &mode, uint32 &colorMode, uint32 &bytesPerRow, uint32 &bitsPerPixel) argument
H A DPipes.cpp222 Pipe::SetFDILink(const display_timing& timing, uint32 linkBandwidth, uint32 lanes, uint32 bitsPerPixel) argument
231 if ((bitsPerPixel < 18) || (bitsPerPixel > 36)) {
235 TRACE("%s: FDI/PIPE link colordepth: %" B_PRIu32 "\n", __func__, bitsPerPixel);
252 uint64 ret_m = timing.pixel_clock * ret_n * bitsPerPixel / linkspeed;
/haiku/headers/private/graphics/ati/
H A DDriverInterface.h155 uint8 bitsPerPixel; member in struct:VesaMode
160 uint8 bitsPerPixel; member in struct:DisplayModeEx
/haiku/headers/private/graphics/3dfx/
H A DDriverInterface.h88 uint8 bitsPerPixel; member in struct:DisplayModeEx
/haiku/src/add-ons/accelerants/3dfx/
H A D3dfx_overlay.cpp29 if (si.displayMode.bitsPerPixel == 16) {
H A Daccelerant.h137 uint16 GetVesaModeNumber(const display_mode& mode, uint8 bitsPerPixel);
/haiku/src/kits/game/
H A DWindowScreen.cpp821 uint32 bitsPerPixel;
824 bitsPerPixel = 8;
827 bitsPerPixel = 15;
830 bitsPerPixel = 16;
833 bitsPerPixel = 32;
836 bitsPerPixel = 0;
842 fCardInfo.bits_per_pixel = bitsPerPixel;
/haiku/src/add-ons/accelerants/radeon_hd/
H A Ddisplay.cpp713 uint32 bitsPerPixel; local
718 bitsPerPixel = 8;
730 bitsPerPixel = 15;
741 bitsPerPixel = 16;
773 bitsPerPixel = 32;
852 mode->timing.h_display, mode->timing.v_display, bitsPerPixel);
898 gInfo->shared_info->bits_per_pixel = bitsPerPixel;
H A Ddisplayport.cpp366 uint32 bitsPerPixel = (pixelChunk / pixelsPerChunk) * 8; local
377 bitsPerPixel);
405 uint32 bitsPerPixel = (pixelChunk / pixelsPerChunk) * 8; local
409 = dp_get_pixel_clock_max(162000, laneCount, bitsPerPixel);
413 maxPixelClock = dp_get_pixel_clock_max(270000, laneCount, bitsPerPixel);
420 maxPixelClock = dp_get_pixel_clock_max(540000, laneCount, bitsPerPixel);
/haiku/src/add-ons/translators/bmp/
H A DBMPTranslator.cpp1329 uint16 bitsPerPixel = msheader.bitsperpixel; local
1337 mask = (mask << bitsPerPixel) - 1;
1372 (bitsPerPixel * ((pixelsPerByte - 1) -
1458 uint16 bitsPerPixel = msheader.bitsperpixel; local
1459 uint8 mask = (1 << bitsPerPixel) - 1;
1506 index = (indices >> (bitsPerPixel * ((pixelsPerByte - 1) -
1634 (bitsPerPixel * ((pixelsPerByte - 1) -

Completed in 98 milliseconds

12