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

123

/haiku/src/add-ons/kernel/file_systems/udf/
H A DArray.h41 const uint8 bytesPerRow = 8; local
48 if (i % bytesPerRow == 0)
50 i, i + bytesPerRow - 1));
52 if ((i + 1) % bytesPerRow == 0 || i + 1 == arrayLength)
68 const uint8 bytesPerRow = 8; local
75 if (i % bytesPerRow == 0)
77 i, i + bytesPerRow - 1));
79 if ((i + 1) % bytesPerRow == 0 || i + 1 == arrayLength)
/haiku/src/servers/app/
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 DBitmapManager.h32 int32 bytesPerRow = -1,
39 int32 bytesPerRow = -1);
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 DServerCursor.h27 int32 bytesPerRow = -1,
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
/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp277 uint32 bytesPerRow)
287 buffer += bytesPerRow;
294 uint32 bytesPerRow)
306 buffer += bytesPerRow;
313 uint32 width, uint32 bytesPerRow)
326 inBuffer += bytesPerRow;
334 uint32 width, uint32 bytesPerRow)
347 inBuffer += bytesPerRow;
355 uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel)
370 inBuffer += bytesPerRow;
276 convert_buffer_bgra_rgba(uint8* buffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
293 convert_buffer_argb_rgba(uint8* buffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
312 convert_buffers_bgra_rgba(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
333 convert_buffers_argb_rgba(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
354 convert_buffers_bgrX_rgb(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel) argument
377 convert_buffers_rgbX_rgb(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow, uint32 samplesPerPixel) argument
398 convert_buffers_cmap(uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
412 convert_buffer(color_space format, uint8* buffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
443 convert_buffers(color_space format, uint8* inBuffer, uint8* outBuffer, uint32 rows, uint32 width, uint32 bytesPerRow) argument
481 write_tif_stream(TIFF* tif, BPositionIO* inSource, color_space format, uint32 width, uint32 height, uint32 bytesPerRow, uint32 rowsPerStrip, uint32 dataSize) argument
669 uint32 bytesPerRow = bitsHeader.rowBytes; local
[all...]
/haiku/headers/private/kernel/
H A Dframe_buffer_console.h35 int32 depth, int32 bytesPerRow);
40 int32 height, int32 depth, int32 bytesPerRow);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A Dyuv_converter.h177 "c" (bytesPerRow), "S" (bitsLength), "D" (bytesPerRow));
H A DVideoIn.cpp366 int bytesPerRow, int * sequence, short * number, bigtime_t * when)
383 /*PRINT(("colorSpace:%x, bitsLength: %d, fBufferLength: %d, bytesPerRow: %d, fBufferBytesPerRow: %d\n",
384 colorSpace, bitsLength, fBufferLength, bytesPerRow, fBufferBytesPerRow ));*/
388 if (colorSpace == B_YCbCr422 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
392 else if (colorSpace == B_RGB32 && bitsLength <= 2 * fBufferLength && bytesPerRow == 2 * fBufferBytesPerRow) {
401 else if (colorSpace == B_RGB16 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
410 else if (colorSpace == B_RGB15 && bitsLength <= fBufferLength && bytesPerRow == fBufferBytesPerRow) {
418 else if (colorSpace == B_GRAY8 && 2 * bitsLength <= fBufferLength && 2 * bytesPerRow == fBufferBytesPerRow) {
365 Capture(color_space colorSpace, void * bits, int bitsLength, int bytesPerRow, int * sequence, short * number, bigtime_t * when) argument
/haiku/src/apps/mediaplayer/supplier/
H A DMediaTrackVideoSupplier.h51 uint32 bytesPerRow);
53 color_space format, uint32 bytesPerRow);
H A DMediaTrackVideoSupplier.cpp290 MediaTrackVideoSupplier::_SwitchFormat(color_space format, uint32 bytesPerRow) argument
322 bytesPerRow = max_c(bytesPerRow, minBytesPerRow);
324 ret = _SetDecodedFormat(width, height, format, bytesPerRow);
330 bytesPerRow = max_c(bytesPerRow, width * 4);
332 ret = _SetDecodedFormat(width, height, format, bytesPerRow);
370 color_space format, uint32 bytesPerRow)
382 fFormat.u.raw_video.display.bytes_per_row = bytesPerRow;
369 _SetDecodedFormat(uint32 width, uint32 height, color_space format, uint32 bytesPerRow) argument
/haiku/headers/os/interface/
H A DIconUtils.h48 uint32 bytesPerRow, BBitmap* result);
52 uint32 bytesPerRow, BBitmap* result);
H A DBitmap.h49 int32 bytesPerRow = B_ANY_BYTES_PER_ROW,
62 int32 bytesPerRow = B_ANY_BYTES_PER_ROW,
141 int32 bytesPerRow, screen_id screenID,
/haiku/src/add-ons/translators/sgi/
H A DSGITranslator.cpp289 uint32 bytesPerRow = bitsHeader.rowBytes; local
328 uint8* rowBuffer = new(nothrow) uint8[bytesPerRow];
336 ret = inSource->Read(rowBuffer, bytesPerRow);
474 uint32 bytesPerRow = 0; local
479 // bytesPerRow = width;
481 bytesPerRow = width * 4;
485 bytesPerRow = width * 4;
488 bytesPerRow = width * 4;
491 bytesPerRow = width * 4;
503 bitsHeader.rowBytes = bytesPerRow;
[all...]
/haiku/src/add-ons/accelerants/s3/
H A Dsavage_mode.cpp61 (((mode.bytesPerRow * 2) << 16) & 0x3FFFE000) |
62 (mode.bytesPerRow & 0x00001fff));
107 (((mode.bytesPerRow * 2) << 16) & 0x3FFFE000) |
108 (mode.bytesPerRow & 0x00001fff));
171 (((mode.bytesPerRow * 2) << 16) & 0x3FFF0000) |
172 (mode.bytesPerRow & 0x00003fff));
174 (((mode.bytesPerRow * 2) << 16) & 0x3FFF0000) |
175 (mode.bytesPerRow & 0x00003fff));
222 (((mode.bytesPerRow * 2) << 16) & 0x3FFF0000) |
223 (mode.bytesPerRow
[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];
/haiku/src/add-ons/translators/wonderbrush/
H A DWonderBrushTranslator.cpp217 uint32 bytesPerRow = bitmap->BytesPerRow(); local
227 bitsHeader.rowBytes = bytesPerRow;
243 ret = outDestination->Write(row, bytesPerRow);
244 row += bytesPerRow;
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DUtilities.h211 uint32 bytesPerRow = pixelChunk * videoWidth / pixelsPerChunk;
212 uint32 numberOfUnalignedBytes = bytesPerRow % rowAlignment;
215 return bytesPerRow;
218 bytesPerRow += numberOfBytesNeededForAlignment;
220 return bytesPerRow;
/haiku/headers/build/os/interface/
H A DBitmap.h39 int32 bytesPerRow = B_ANY_BYTES_PER_ROW,
90 int32 bytesPerRow, screen_id screenID);
/haiku/headers/private/graphics/intel_810/
H A DDriverInterface.h66 uint16 bytesPerRow; // number of bytes in one line/row member in struct:DisplayModeEx
/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...]
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/
H A Dframebuffer.cpp98 uint32 height, int8 depth, uint32 bytesPerRow, bool initializing)
105 size_t size = bytesPerRow * height;
128 bytesPerRow);
150 sharedInfo.bytes_per_row = bytesPerRow;
97 remap_frame_buffer(framebuffer_info& info, addr_t physicalBase, uint32 width, uint32 height, int8 depth, uint32 bytesPerRow, bool initializing) argument
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dmode.cpp46 uint32 &bytesPerRow, uint32 &bitsPerPixel)
90 bytesPerRow = mode.virtual_width * bytesPerPixel;
92 // Make sure bytesPerRow is a multiple of 64
93 if ((bytesPerRow & 63) != 0)
94 bytesPerRow = (bytesPerRow + 63) & ~63;
352 uint32 colorMode, bytesPerRow, bitsPerPixel;
353 get_color_space_format(target, colorMode, bytesPerRow, bitsPerPixel);
373 if (intel_allocate_memory(bytesPerRow * target.virtual_height, 0,
390 memset((uint8*)base, 0, bytesPerRow * targe
45 get_color_space_format(const display_mode &mode, uint32 &colorMode, uint32 &bytesPerRow, uint32 &bitsPerPixel) argument
[all...]

Completed in 219 milliseconds

123