/haiku/src/build/libbe/interface/ |
H A D | GraphicsDefs.cpp | 56 int32 bytesPerPixel = 0; in get_pixel_size_for() local 61 bytesPerPixel = 8; in get_pixel_size_for() 65 bytesPerPixel = 6; in get_pixel_size_for() 76 bytesPerPixel = 4; in get_pixel_size_for() 82 bytesPerPixel = 3; in get_pixel_size_for() 87 bytesPerPixel = 2; in get_pixel_size_for() 91 bytesPerPixel = 1; in get_pixel_size_for() 95 bytesPerPixel = 1; in get_pixel_size_for() 99 bytesPerPixel = 4; in get_pixel_size_for() 103 bytesPerPixel = 12; in get_pixel_size_for() [all …]
|
/haiku/src/kits/interface/ |
H A D | GraphicsDefs.cpp | 101 int32 bytesPerPixel = 0; in get_pixel_size_for() local 106 bytesPerPixel = 8; in get_pixel_size_for() 110 bytesPerPixel = 6; in get_pixel_size_for() 121 bytesPerPixel = 4; in get_pixel_size_for() 127 bytesPerPixel = 3; in get_pixel_size_for() 132 bytesPerPixel = 2; in get_pixel_size_for() 136 bytesPerPixel = 1; in get_pixel_size_for() 140 bytesPerPixel = 1; in get_pixel_size_for() 144 bytesPerPixel = 4; in get_pixel_size_for() 148 bytesPerPixel = 12; in get_pixel_size_for() [all …]
|
/haiku/src/add-ons/translators/avif/ |
H A D | AVIFTranslator.cpp | 217 int32 bytesPerPixel; in _TranslateFromBits() local 225 bytesPerPixel = 4; in _TranslateFromBits() 231 bytesPerPixel = 4; in _TranslateFromBits() 236 bytesPerPixel = 4; in _TranslateFromBits() 241 bytesPerPixel = 4; in _TranslateFromBits() 246 bytesPerPixel = 3; in _TranslateFromBits() 251 bytesPerPixel = 3; in _TranslateFromBits() 255 bytesPerPixel = 3; in _TranslateFromBits() 260 bytesPerPixel = 1; in _TranslateFromBits() 302 } else if (bytesPerPixel == 3) { in _TranslateFromBits()
|
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | 3dfx_draw.cpp | 31 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; in TDFX_FillRectangle() 60 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; in TDFX_FillSpan() 89 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; in TDFX_InvertRectangle() 116 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; in TDFX_ScreenToScreenBlit()
|
H A D | overlay.cpp | 63 uint32 bytesPerPixel; in AllocateOverlayBuffer() local 68 bytesPerPixel = 2; in AllocateOverlayBuffer() 78 uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff; in AllocateOverlayBuffer() 125 + (si.displayMode.virtual_width * si.displayMode.bytesPerPixel in AllocateOverlayBuffer() 149 ovBuff->bytes_per_row = width * bytesPerPixel; in AllocateOverlayBuffer()
|
H A D | mode.cpp | 31 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; in IsThereEnoughFBMemory() local 33 return (maxWidth * maxHeight * bytesPerPixel in IsThereEnoughFBMemory() 185 mode.bytesPerPixel = (mode.bitsPerPixel + 7) / 8; in SetDisplayMode() 186 mode.bytesPerRow = mode.timing.h_display * mode.bytesPerPixel; in SetDisplayMode() 287 * si.displayMode.bytesPerPixel; in GetFrameBufferConfig()
|
H A D | 3dfx_mode.cpp | 298 | (mode.bytesPerPixel - 1) << DESKTOP_PIXEL_FORMAT_SHIFT in TDFX_SetDisplayMode() 299 | (mode.bytesPerPixel > 1 ? DESKTOP_CLUT_BYPASS : 0); in TDFX_SetDisplayMode() 369 + mode.h_display_start) * mode.bytesPerPixel; in TDFX_AdjustFrame()
|
/haiku/src/add-ons/accelerants/intel_810/ |
H A D | mode.cpp | 31 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; in IsThereEnoughFBMemory() local 33 return (maxWidth * maxHeight * bytesPerPixel in IsThereEnoughFBMemory() 182 mode.bytesPerPixel = (mode.bitsPerPixel + 7) / 8; in SetDisplayMode() 183 mode.bytesPerRow = mode.timing.h_display * mode.bytesPerPixel; in SetDisplayMode() 282 * si.displayMode.bytesPerPixel; in GetFrameBufferConfig()
|
H A D | i810_mode.cpp | 258 + mode.h_display_start) * mode.bytesPerPixel) >> 2; in I810_AdjustFrame()
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | mode.cpp | 69 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; in IsThereEnoughFBMemory() local 71 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory() 272 int bytesPerPixel = (mode.bitsPerPixel + 7) / 8; in SetDisplayMode() local 273 mode.bytesPerRow = mode.timing.h_display * bytesPerPixel; in SetDisplayMode() 372 uint32 bytesPerPixel = (si.displayMode.bitsPerPixel + 7) / 8; in GetFrameBufferConfig() local 373 pFBC->bytes_per_row = si.displayMode.virtual_width * bytesPerPixel; in GetFrameBufferConfig()
|
H A D | overlay.cpp | 80 uint32 bytesPerPixel = 2; // B_YCbCr422 uses 2 bytes per pixel in AllocateOverlayBuffer() local 83 uint32 buffSize = (width * bytesPerPixel * height + 0x3ff) & ~0x3ff; in AllocateOverlayBuffer() 145 ovBuff->bytes_per_row = width * bytesPerPixel; in AllocateOverlayBuffer()
|
H A D | rage128_mode.cpp | 155 int bytesPerPixel = (mode.bitsPerPixel + 7) / 8; in CalculateDDARegisters() local 158 vClkFreq * bytesPerPixel * 8); in CalculateDDARegisters() 164 vClkFreq * bytesPerPixel * 8); in CalculateDDARegisters()
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | overlay.cpp | 355 uint32 bytesPerPixel; in intel_allocate_overlay_buffer() local 359 bytesPerPixel = 2; in intel_allocate_overlay_buffer() 362 bytesPerPixel = 2; in intel_allocate_overlay_buffer() 365 bytesPerPixel = 4; in intel_allocate_overlay_buffer() 368 bytesPerPixel = 2; in intel_allocate_overlay_buffer() 390 buffer->bytes_per_row = (width * bytesPerPixel + alignment) & ~alignment; in intel_allocate_overlay_buffer() 558 uint32 bytesPerPixel = 2; in intel_configure_overlay() local 569 bytesPerPixel = 4; in intel_configure_overlay() 625 + left * bytesPerPixel; in intel_configure_overlay()
|
H A D | mode.cpp | 48 uint32 bytesPerPixel; in get_color_space_format() local 57 bytesPerPixel = 4; in get_color_space_format() 66 bytesPerPixel = 2; in get_color_space_format() 75 bytesPerPixel = 2; in get_color_space_format() 85 bytesPerPixel = 1; in get_color_space_format() 90 bytesPerRow = mode.virtual_width * bytesPerPixel; in get_color_space_format()
|
/haiku/src/add-ons/accelerants/s3/ |
H A D | mode.cpp | 163 uint32 bytesPerPixel = (bitsPerPixel + 7) / 8; in IsThereEnoughFBMemory() local 165 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory() 354 int bytesPerPixel = (mode.bpp + 7) / 8; in SetDisplayMode() local 355 mode.bytesPerRow = mode.timing.h_display * bytesPerPixel; in SetDisplayMode() 449 uint32 bytesPerPixel = (si.displayMode.bpp + 7) / 8; in GetFrameBufferConfig() local 450 pFBC->bytes_per_row = si.displayMode.virtual_width * bytesPerPixel; in GetFrameBufferConfig()
|
/haiku/src/add-ons/accelerants/et6x00/ |
H A D | SetDisplayMode.c | 58 si->bytesPerPixel = bpp; in SET_DISPLAY_MODE()
|
H A D | Acceleration.c | 80 uint8 bpp = si->bytesPerPixel; in SCREEN_TO_SCREEN_BLIT() 170 uint8 bpp = si->bytesPerPixel; in FILL_RECTANGLE()
|
/haiku/headers/private/graphics/intel_810/ |
H A D | DriverInterface.h | 65 uint8 bytesPerPixel; member
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/uvc/ |
H A D | USB_video.h | 31 uint8 bytesPerPixel; member
|
H A D | UVCCamDevice.cpp | 198 descriptor->uncompressed.bytesPerPixel, in _ParseVideoStreaming()
|
/haiku/headers/private/graphics/et6x00/ |
H A D | DriverInterface.h | 73 uint8 bytesPerPixel; /* bytes(!) per pixel at current display mode */ member
|
/haiku/headers/private/graphics/3dfx/ |
H A D | DriverInterface.h | 89 uint8 bytesPerPixel; member
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | display.cpp | 712 uint32 bytesPerPixel; in display_crtc_fb_set() local 717 bytesPerPixel = 1; in display_crtc_fb_set() 729 bytesPerPixel = 2; in display_crtc_fb_set() 740 bytesPerPixel = 2; in display_crtc_fb_set() 772 bytesPerPixel = 4; in display_crtc_fb_set() 836 switch (bytesPerPixel) { in display_crtc_fb_set() 896 gInfo->shared_info->bytes_per_row = widthAligned * bytesPerPixel; in display_crtc_fb_set()
|
/haiku/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.cpp | 184 uint8 bytesPerPixel = bitsperpixel / 8; in get_padding() local 185 padding = (width * bytesPerPixel) % 4; in get_padding() 227 uint8 bytesPerPixel = bitsperpixel / 8; in get_rowbytes() local 228 rowbytes = (width * bytesPerPixel) + padding; in get_rowbytes()
|
/haiku/src/tools/html5_remote_desktop/ |
H A D | HaikuRemoteDesktop.js | 1724 var bytesPerPixel = 3; 1725 var bytesPerRow = (width * bytesPerPixel + 3) & ~7; 1726 var padding = bytesPerRow - width * bytesPerPixel;
|