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

/haiku/src/build/libbe/interface/
H A DGraphicsDefs.cpp56 int32 bytesPerPixel = 0; local
61 bytesPerPixel = 8;
65 bytesPerPixel = 6;
76 bytesPerPixel = 4;
82 bytesPerPixel = 3;
87 bytesPerPixel = 2;
91 bytesPerPixel = 1;
95 bytesPerPixel = 1;
99 bytesPerPixel = 4;
103 bytesPerPixel
[all...]
/haiku/src/kits/interface/
H A DGraphicsDefs.cpp101 int32 bytesPerPixel = 0; local
106 bytesPerPixel = 8;
110 bytesPerPixel = 6;
121 bytesPerPixel = 4;
127 bytesPerPixel = 3;
132 bytesPerPixel = 2;
136 bytesPerPixel = 1;
140 bytesPerPixel = 1;
144 bytesPerPixel = 4;
148 bytesPerPixel
[all...]
/haiku/src/add-ons/accelerants/3dfx/
H A D3dfx_draw.cpp31 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1];
60 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1];
89 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1];
116 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1];
H A Dmode.cpp31 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; local
33 return (maxWidth * maxHeight * bytesPerPixel
185 mode.bytesPerPixel = (mode.bitsPerPixel + 7) / 8;
186 mode.bytesPerRow = mode.timing.h_display * mode.bytesPerPixel;
287 * si.displayMode.bytesPerPixel;
H A Doverlay.cpp63 uint32 bytesPerPixel; local
68 bytesPerPixel = 2;
78 uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff;
125 + (si.displayMode.virtual_width * si.displayMode.bytesPerPixel
149 ovBuff->bytes_per_row = width * bytesPerPixel;
H A D3dfx_mode.cpp298 | (mode.bytesPerPixel - 1) << DESKTOP_PIXEL_FORMAT_SHIFT
299 | (mode.bytesPerPixel > 1 ? DESKTOP_CLUT_BYPASS : 0);
369 + mode.h_display_start) * mode.bytesPerPixel;
/haiku/src/add-ons/accelerants/et6x00/
H A DSetDisplayMode.c58 si->bytesPerPixel = bpp;
H A DAcceleration.c80 uint8 bpp = si->bytesPerPixel;
170 uint8 bpp = si->bytesPerPixel;
/haiku/src/add-ons/translators/avif/
H A DAVIFTranslator.cpp217 int32 bytesPerPixel; local
225 bytesPerPixel = 4;
231 bytesPerPixel = 4;
236 bytesPerPixel = 4;
241 bytesPerPixel = 4;
246 bytesPerPixel = 3;
251 bytesPerPixel = 3;
255 bytesPerPixel = 3;
260 bytesPerPixel = 1;
302 } else if (bytesPerPixel
[all...]
/haiku/src/add-ons/accelerants/intel_810/
H A Dmode.cpp31 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; local
33 return (maxWidth * maxHeight * bytesPerPixel
182 mode.bytesPerPixel = (mode.bitsPerPixel + 7) / 8;
183 mode.bytesPerRow = mode.timing.h_display * mode.bytesPerPixel;
282 * si.displayMode.bytesPerPixel;
H A Di810_mode.cpp258 + mode.h_display_start) * mode.bytesPerPixel) >> 2;
/haiku/headers/private/graphics/et6x00/
H A DDriverInterface.h73 uint8 bytesPerPixel; /* bytes(!) per pixel at current display mode */ member in struct:__anon774
/haiku/headers/private/graphics/intel_810/
H A DDriverInterface.h65 uint8 bytesPerPixel; member in struct:DisplayModeEx
/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp355 uint32 bytesPerPixel; local
359 bytesPerPixel = 2;
362 bytesPerPixel = 2;
365 bytesPerPixel = 4;
368 bytesPerPixel = 2;
390 buffer->bytes_per_row = (width * bytesPerPixel + alignment) & ~alignment;
558 uint32 bytesPerPixel = 2; local
569 bytesPerPixel = 4;
625 + left * bytesPerPixel;
H A Dmode.cpp48 uint32 bytesPerPixel; local
57 bytesPerPixel = 4;
66 bytesPerPixel = 2;
75 bytesPerPixel = 2;
85 bytesPerPixel = 1;
90 bytesPerRow = mode.virtual_width * bytesPerPixel;
/haiku/src/add-ons/accelerants/ati/
H A Dmode.cpp69 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; local
71 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize);
272 int bytesPerPixel = (mode.bitsPerPixel + 7) / 8; local
273 mode.bytesPerRow = mode.timing.h_display * bytesPerPixel;
372 uint32 bytesPerPixel = (si.displayMode.bitsPerPixel + 7) / 8; local
373 pFBC->bytes_per_row = si.displayMode.virtual_width * bytesPerPixel;
H A Doverlay.cpp80 uint32 bytesPerPixel = 2; // B_YCbCr422 uses 2 bytes per pixel local
83 uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff;
145 ovBuff->bytes_per_row = width * bytesPerPixel;
H A Drage128_mode.cpp155 int bytesPerPixel = (mode.bitsPerPixel + 7) / 8; local
158 vClkFreq * bytesPerPixel * 8);
164 vClkFreq * bytesPerPixel * 8);
/haiku/src/add-ons/accelerants/s3/
H A Dmode.cpp163 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; local
165 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize);
354 int bytesPerPixel = (mode.bpp + 7) / 8; local
355 mode.bytesPerRow = mode.timing.h_display * bytesPerPixel;
449 uint32 bytesPerPixel = (si.displayMode.bpp + 7) / 8; local
450 pFBC->bytes_per_row = si.displayMode.virtual_width * bytesPerPixel;
/haiku/headers/private/graphics/3dfx/
H A DDriverInterface.h89 uint8 bytesPerPixel; member in struct:DisplayModeEx
/haiku/src/add-ons/accelerants/radeon_hd/
H A Ddisplay.cpp712 uint32 bytesPerPixel; local
717 bytesPerPixel = 1;
729 bytesPerPixel = 2;
740 bytesPerPixel = 2;
772 bytesPerPixel = 4;
836 switch (bytesPerPixel) {
896 gInfo->shared_info->bytes_per_row = widthAligned * bytesPerPixel;
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/
H A DUSB_video.h171 uint8 bytesPerPixel; member in struct:usbvc_format_descriptor::__anon2593::__anon2594
H A DUVCCamDevice.cpp193 descriptor->uncompressed.bytesPerPixel,
/haiku/src/add-ons/translators/bmp/
H A DBMPTranslator.cpp184 uint8 bytesPerPixel = bitsperpixel / 8; local
185 padding = (width * bytesPerPixel) % 4;
227 uint8 bytesPerPixel = bitsperpixel / 8; local
228 rowbytes = (width * bytesPerPixel) + padding;
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js1724 var bytesPerPixel = 3;
1725 var bytesPerRow = (width * bytesPerPixel + 3) & ~7;
1726 var padding = bytesPerRow - width * bytesPerPixel;

Completed in 172 milliseconds