Searched refs:bytesPerRow (Results 51 - 73 of 73) sorted by path

123

/haiku/src/build/libbe/interface/
H A DBitmap.cpp1431 \param bytesPerRow The number of bytes per row the bitmap should use.
1437 int32 bytesPerRow, screen_id screenID)
1450 InitObject(bounds, colorSpace, flags, bytesPerRow, screenID);
2036 \param bytesPerRow The number of bytes per row the bitmap should use.
2043 int32 bytesPerRow, screen_id screenID)
2046 // bounds.left, bounds.top, bounds.right, bounds.bottom, colorSpace, flags, bytesPerRow);
2066 if (bytesPerRow < 0)
2067 bytesPerRow = bpr;
2068 else if (bytesPerRow < bpr)
2077 int32 size = bytesPerRow * (bound
1436 BBitmap(BRect bounds, uint32 flags, color_space colorSpace, int32 bytesPerRow, screen_id screenID) argument
2042 InitObject(BRect bounds, color_space colorSpace, uint32 flags, int32 bytesPerRow, screen_id screenID) argument
[all...]
/haiku/src/kits/interface/
H A DBitmap.cpp173 \param bytesPerRow The number of bytes per row the bitmap should use.
179 int32 bytesPerRow, screen_id screenID)
194 _InitObject(bounds, colorSpace, flags, bytesPerRow, screenID);
312 uint32 flags, color_space colorSpace, int32 bytesPerRow,
329 bytesPerRow, screenID, area, areaOffset);
1035 \param bytesPerRow The number of bytes per row the bitmap should use.
1042 int32 bytesPerRow, screen_id screenID, area_id area, ptrdiff_t areaOffset)
1045 // bounds.left, bounds.top, bounds.right, bounds.bottom, colorSpace, flags, bytesPerRow);
1073 if (bytesPerRow < 0)
1074 bytesPerRow
178 BBitmap(BRect bounds, uint32 flags, color_space colorSpace, int32 bytesPerRow, screen_id screenID) argument
311 BBitmap(area_id area, ptrdiff_t areaOffset, BRect bounds, uint32 flags, color_space colorSpace, int32 bytesPerRow, screen_id screenID) argument
1041 _InitObject(BRect bounds, color_space colorSpace, uint32 flags, int32 bytesPerRow, screen_id screenID, area_id area, ptrdiff_t areaOffset) argument
[all...]
H A DPictureDataWriter.cpp671 const int32& width, const int32& height, const int32& bytesPerRow,
675 if (length != height * bytesPerRow)
683 Write<int32>(bytesPerRow);
670 WriteDrawBitmap(const BRect& srcRect, const BRect& dstRect, const int32& width, const int32& height, const int32& bytesPerRow, const int32& colorSpace, const int32& flags, const void* data, const int32& length) argument
H A DPicturePlayer.cpp162 uint32 height, size_t bytesPerRow, color_space pixelFormat, uint32 options,
174 height, bytesPerRow, pixelFormat, options, data);
1249 const uint32* bytesPerRow; local
1256 || !reader.Get(height) || !reader.Get(bytesPerRow)
1263 *width, *height, *bytesPerRow, (color_space)*colorSpace,
161 draw_pixels(void* _context, const BRect& src, const BRect& dest, uint32 width, uint32 height, size_t bytesPerRow, color_space pixelFormat, uint32 options, const void* _data, size_t length) argument
H A DView.cpp1460 uint32 bytesPerRow = bitmap->BytesPerRow(); local
1465 memset(bits, 0x00, height * bytesPerRow);
/haiku/src/kits/print/
H A DPictureIterator.cpp52 static void _DrawPixels(void *p, BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) argument
53 { return ((PictureIterator *) p)->DrawPixels(src, dest, width, height, bytesPerRow, pixelFormat, flags, data); }
112 (void *)_DrawPixels, // 18 DrawPixels(void *user, BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data)
H A DPicturePrinter.cpp198 void PicturePrinter::DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) { argument
H A DTemplate.cpp104 void Template::DrawPixels(BRect src, BRect dest, int32 width, int32 height, int32 bytesPerRow, int32 pixelFormat, int32 flags, void *data) { argument
/haiku/src/libs/icon/
H A DIconUtils.cpp359 uint32 bytesPerRow = temp.BytesPerRow(); local
361 bytesPerRow, icon);
/haiku/src/servers/app/
H A DBitmapManager.cpp81 \param bytesPerRow Number of bytes per row.
88 int32 bytesPerRow, int32 screen, uint8* _allocationFlags)
109 bytesPerRow);
195 BRect bounds, color_space space, uint32 flags, int32 bytesPerRow)
201 bytesPerRow), true);
86 CreateBitmap(ClientMemoryAllocator* allocator, HWInterface& hwInterface, BRect bounds, color_space space, uint32 flags, int32 bytesPerRow, int32 screen, uint8* _allocationFlags) argument
194 CloneFromClient(area_id clientArea, int32 areaOffset, BRect bounds, color_space space, uint32 flags, int32 bytesPerRow) argument
H A DCursorManager.cpp133 int32 flags, BPoint hotspot, int32 bytesPerRow)
139 hotspot, bytesPerRow);
132 CreateCursor(team_id clientTeam, BRect r, color_space format, int32 flags, BPoint hotspot, int32 bytesPerRow) argument
H A DCursorManager.h40 BPoint hotspot, int32 bytesPerRow = -1);
H A DServerApp.cpp754 int32 bytesPerRow; local
760 link.Read<int32>(&bytesPerRow);
766 bytesPerRow, screenID, &allocationFlags), true);
864 int32 bytesPerRow; local
872 link.Read<int32>(&bytesPerRow);
879 frame, colorSpace, flags, bytesPerRow), true);
1213 int32 size = 0, bytesPerRow = 0; local
1222 && link.Read<int32>(&bytesPerRow) == B_OK
1235 cursor->ImportBits(byteArray, size, bytesPerRow, colorspace);
H A DServerBitmap.cpp60 int32 bytesPerRow, screen_id screen)
79 fBytesPerRow = max_c(bytesPerRow, minBytesPerRow);
134 ServerBitmap::ImportBits(const void *bits, int32 bitsLength, int32 bytesPerRow, argument
137 if (!bits || bitsLength < 0 || bytesPerRow <= 0)
141 bytesPerRow, fBytesPerRow, colorSpace, fSpace, fWidth, fHeight);
146 ServerBitmap::ImportBits(const void *bits, int32 bitsLength, int32 bytesPerRow, argument
149 if (!bits || bitsLength < 0 || bytesPerRow <= 0 || width < 0 || height < 0)
153 bytesPerRow, fBytesPerRow, colorSpace, fSpace, from, to, width,
219 int32 bytesPerRow, screen_id screen)
221 ServerBitmap(rect, space, flags, bytesPerRow, scree
59 ServerBitmap(BRect rect, color_space space, uint32 flags, int32 bytesPerRow, screen_id screen) argument
218 UtilityBitmap(BRect rect, color_space space, uint32 flags, int32 bytesPerRow, screen_id screen) argument
[all...]
H A DServerBitmap.h76 int32 bytesPerRow, color_space colorSpace);
78 int32 bytesPerRow, color_space colorSpace,
88 uint32 flags, int32 bytesPerRow = -1,
H A DServerCursor.cpp44 BPoint hotspot, int32 bytesPerRow, screen_id screen)
46 ServerBitmap(r, format, flags, bytesPerRow, screen),
43 ServerCursor(BRect r, color_space format, int32 flags, BPoint hotspot, int32 bytesPerRow, screen_id screen) argument
H A DServerPicture.cpp569 uint32 height, size_t bytesPerRow, color_space pixelFormat, uint32 options,
575 (color_space)pixelFormat, 0, bytesPerRow); local
580 memcpy(bitmap.Bits(), data, std::min(height * bytesPerRow, length));
568 draw_pixels(void* _canvas, const BRect& src, const BRect& _dest, uint32 width, uint32 height, size_t bytesPerRow, color_space pixelFormat, uint32 options, const void* data, size_t length) argument
/haiku/src/servers/app/drawing/
H A DDrawingEngine.cpp1549 uint32 bytesPerRow = buffer->BytesPerRow(); local
1561 bits += (ssize_t)src.left * 4 + (ssize_t)src.top * bytesPerRow;
1566 _CopyRect(buffer->IsGraphicsMemory(), bits, width, height, bytesPerRow,
1586 uint32 bytesPerRow, int32 xOffset, int32 yOffset) const
1594 yIncrement = -bytesPerRow;
1595 src += (height - 1) * bytesPerRow;
1598 yIncrement = bytesPerRow;
1601 uint8* dst = src + (ssize_t)yOffset * bytesPerRow + (ssize_t)xOffset * 4;
1585 _CopyRect(bool isGraphicsMemory, uint8* src, uint32 width, uint32 height, uint32 bytesPerRow, int32 xOffset, int32 yOffset) const argument
H A DDrawingEngine.h207 uint32 width, uint32 height, uint32 bytesPerRow,
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteMessage.cpp337 int32 width, height, bytesPerRow; local
341 Read(bytesPerRow);
358 BRect(0, 0, width - 1, height - 1), flags, colorSpace, bytesPerRow);
/haiku/src/system/boot/platform/bios_ia32/
H A Dvideo.cpp778 uint32 bytesPerRow = 80; local
780 bits[9 * bytesPerRow + i + 2] = 0x55;
781 bits[30 * bytesPerRow + i + 2] = 0xaa;
787 bits[32 * bytesPerRow + i*2 + 2] = i;
791 bits[y * bytesPerRow + i*2 + 2] = 0xff;
792 bits[y * bytesPerRow + i*2 + 3] = 0xff;
796 bits[y * bytesPerRow + i*2 + 2] = 0xff;
797 bits[y * bytesPerRow + i*2 + 3] = 0xff;
801 bits[y * bytesPerRow + i*2 + 2] = 0xff;
802 bits[y * bytesPerRow
[all...]
/haiku/src/system/kernel/debug/
H A Dframe_buffer_console.cpp416 int32 bytesPerRow)
419 "depth = %ld, bytesPerRow = %ld)\n", (void*)baseAddress, width, height,
420 depth, bytesPerRow));
435 sConsole.bytes_per_row = bytesPerRow;
520 int32 depth, int32 bytesPerRow)
529 return frame_buffer_update(baseAddress, width, height, depth, bytesPerRow);
415 frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int32 depth, int32 bytesPerRow) argument
519 _user_frame_buffer_update(addr_t baseAddress, int32 width, int32 height, int32 depth, int32 bytesPerRow) argument
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js645 this.bytesPerRow = remoteMessage.dataView.readUint32();
697 var line = new Uint8Array(this.bytesPerRow);
714 var lineBuffer = new Uint8Array(this.bytesPerRow);
732 var line = new Uint8Array(this.bytesPerRow);
1725 var bytesPerRow = (width * bytesPerPixel + 3) & ~7;
1726 var padding = bytesPerRow - width * bytesPerPixel;
1727 var bitsLength = height * bytesPerRow;
1736 reply.dataView.writeInt32(bytesPerRow);

Completed in 201 milliseconds

123