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

12

/haiku/src/add-ons/accelerants/intel_810/
H A Di810_init.cpp23 I810_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel, argument
32 bitsPerPixel = 16;
37 bitsPerPixel = 8;
H A Dmode.cpp18 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
31 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8;
48 uint8 bitsPerPixel; local
51 if (!I810_GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock))
56 if (!IsThereEnoughFBMemory(mode, bitsPerPixel))
176 if (!I810_GetColorSpaceParams(mode.space, mode.bitsPerPixel, maxPixelClock))
182 mode.bytesPerPixel = (mode.bitsPerPixel + 7) / 8;
187 if ( ! IsThereEnoughFBMemory(&mode, mode.bitsPerPixel))
193 mode.virtual_width, mode.virtual_height, mode.bitsPerPixel);
293 uint8 bitsPerPixel; local
[all...]
H A Di810_mode.cpp173 if (mode.bitsPerPixel != 8 && mode.bitsPerPixel != 16) {
175 TRACE("Unsupported color depth: %d bpp\n", mode.bitsPerPixel);
225 temp |= (mode.bitsPerPixel == 8 ? COLEXP_8BPP : COLEXP_16BPP);
233 (mode.bitsPerPixel == 8 ? DISPLAY_8BPP_MODE : DISPLAY_16BPP_MODE));
H A Di810_watermark.cpp117 switch (mode.bitsPerPixel) {
/haiku/src/add-ons/translators/ico/
H A DICO.cpp127 get_bytes_per_row(int32 width, int32 bitsPerPixel) argument
129 return (((bitsPerPixel * width + 7) / 8) + 3) & ~3;
275 uint16 bitsPerPixel = header.bits_per_pixel; local
280 if (bitsPerPixel != 32)
294 if (bitsPerPixel != 32) {
308 if (bitsPerPixel != 32) {
324 switch (bitsPerPixel) {
339 switch (bitsPerPixel) {
361 if (bitsPerPixel != 32) {
387 int32 bitsPerPixel local
499 identify(BMessage *settings, BPositionIO &stream, uint8 &type, int32 &bitsPerPixel) argument
[all...]
H A DICOTranslator.cpp111 int32 bitsPerPixel;
113 if (ICO::identify(ioExtension, *stream, type, bitsPerPixel) != B_OK)
123 bitsPerPixel);
H A DICO.h87 extern status_t identify(BMessage *settings, BPositionIO &stream, uint8 &type, int32 &bitsPerPixel);
/haiku/src/add-ons/print/drivers/pcl6/
H A DRasterizer.h76 // BPP = bitsPerPixel and padBytes number of pad bytes.
77 static int RowBufferSize(int widthInPixels, int bitsPerPixel, argument
80 int sizeInBytes = (widthInPixels * bitsPerPixel + 7)
/haiku/src/add-ons/accelerants/ati/
H A Drage128_init.cpp33 Rage128_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel, uint32& maxPixelClock) argument
41 bitsPerPixel = 32;
44 bitsPerPixel = 16;
47 bitsPerPixel = 15;
50 bitsPerPixel = 8;
H A Dmach64_init.cpp127 Mach64_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel, uint32& maxPixelClock) argument
137 bitsPerPixel = 32;
140 bitsPerPixel = 16;
143 bitsPerPixel = 15;
146 bitsPerPixel = 8;
161 if (bitsPerPixel == 8)
H A Dmode.cpp56 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
69 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8;
77 GetVesaModeNumber(const display_mode& mode, uint8 bitsPerPixel) argument
91 && vesaMode.bitsPerPixel == bitsPerPixel)
110 uint8 bitsPerPixel; local
113 if (!gInfo.GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock))
118 if (!IsThereEnoughFBMemory(mode, bitsPerPixel))
160 if (GetVesaModeNumber(*mode, bitsPerPixel) == 0)
266 if ( ! gInfo.GetColorSpaceParams(mode.space, mode.bitsPerPixel, maxPixelCloc
384 uint8 bitsPerPixel; local
[all...]
H A Dmach64_mode.cpp166 divider *= ((mode.bitsPerPixel + 1) / 4);
270 switch (mode.bitsPerPixel) {
284 TRACE("Undefined color depth, bitsPerPixel: %d\n", mode.bitsPerPixel);
340 uint16 vesaMode = GetVesaModeNumber(display_mode(mode), mode.bitsPerPixel);
380 + mode.h_display_start) * ((mode.bitsPerPixel + 1) / 8);
/haiku/src/add-ons/accelerants/3dfx/
H A Dmode.cpp18 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
31 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8;
48 uint8 bitsPerPixel; local
50 if (!TDFX_GetColorSpaceParams(mode->space, bitsPerPixel))
55 if (!IsThereEnoughFBMemory(mode, bitsPerPixel))
179 if (!TDFX_GetColorSpaceParams(mode.space, mode.bitsPerPixel))
185 mode.bytesPerPixel = (mode.bitsPerPixel + 7) / 8;
190 if ( ! IsThereEnoughFBMemory(&mode, mode.bitsPerPixel))
196 mode.virtual_width, mode.virtual_height, mode.bitsPerPixel);
299 uint8 bitsPerPixel; local
[all...]
H A D3dfx_mode.cpp174 TDFX_GetColorSpaceParams(int colorSpace, uint8& bitsPerPixel) argument
181 bitsPerPixel = 32;
184 bitsPerPixel = 16;
187 bitsPerPixel = 15;
190 bitsPerPixel = 8;
/haiku/src/add-ons/translators/pcx/
H A DPCX.cpp46 TRACE("manufacturer:%u version:%u encoding:%u bitsPerPixel:%u numPlanes:%u bytesPerLine:%u\n", manufacturer, version, encoding, bitsPerPixel, numPlanes, bytesPerLine);
50 && (bitsPerPixel == 1 || bitsPerPixel == 4 || bitsPerPixel == 8)
52 && (bitsPerPixel == 8 || numPlanes == 1)
78 uint16 bitsPerPixel = header.bitsPerPixel; local
133 if (bitsPerPixel == 8 && numPlanes == 1) {
153 if (bitsPerPixel
230 identify(BMessage *settings, BPositionIO &stream, uint8 &type, int32 &bitsPerPixel) argument
[all...]
H A DPCXTranslator.cpp102 int32 bitsPerPixel;
104 if (PCX::identify(ioExtension, *stream, type, bitsPerPixel) != B_OK)
112 bitsPerPixel);
H A DPCX.h23 uint8 bitsPerPixel; member in struct:PCX::pcx_header
53 extern status_t identify(BMessage *settings, BPositionIO &stream, uint8 &type, int32 &bitsPerPixel);
/haiku/src/add-ons/accelerants/s3/
H A Dtrio64_init.cpp39 Trio64_GetColorSpaceParams(int colorSpace, uint32& bitsPerPixel, uint32& maxPixelClock) argument
47 bitsPerPixel = 16;
51 bitsPerPixel = 8;
H A Dvirge_init.cpp47 Virge_GetColorSpaceParams(int colorSpace, uint32& bitsPerPixel, uint32& maxPixelClock) argument
59 bitsPerPixel = 16;
63 bitsPerPixel = 8;
H A Dsavage_init.cpp21 Savage_GetColorSpaceParams(int colorSpace, uint32& bitsPerPixel, uint32& maxPixelClock) argument
29 bitsPerPixel = 32;
33 bitsPerPixel = 16;
37 bitsPerPixel = 8;
H A Dmode.cpp150 IsThereEnoughFBMemory(const display_mode* mode, uint32 bitsPerPixel) argument
163 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8;
180 uint32 bitsPerPixel; local
183 if ( ! gInfo.GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock))
188 if ( ! IsThereEnoughFBMemory(mode, bitsPerPixel))
461 uint32 bitsPerPixel; local
464 if ( ! gInfo.GetColorSpaceParams(mode->space, bitsPerPixel, maxPixelClock))
/haiku/headers/private/graphics/intel_810/
H A DDriverInterface.h64 uint8 bitsPerPixel; member in struct:DisplayModeEx
/haiku/src/add-ons/accelerants/intel_extreme/
H A DPipes.h47 uint32 bitsPerPixel);
H A DFlexibleDisplayInterface.h72 uint32* bitsPerPixel);
H A DFlexibleDisplayInterface.cpp247 FDILink::PreTrain(display_timing* target, uint32* linkBandwidth, uint32* lanes, uint32* bitsPerPixel) argument
255 *bitsPerPixel = ((read32(rxControl) & FDI_RX_LINK_BPC_MASK) >> FDI_RX_LINK_COLOR_SHIFT);
256 switch (*bitsPerPixel) {
258 *bitsPerPixel = 24;
261 *bitsPerPixel = 30;
264 *bitsPerPixel = 18;
267 *bitsPerPixel = 36;
270 *bitsPerPixel = 0;
275 TRACE("%s: FDI Link Colordepth: %" B_PRIu32 "\n", __func__, *bitsPerPixel);
280 uint32 bps = target->pixel_clock * *bitsPerPixel * 2
[all...]

Completed in 107 milliseconds

12