/haiku/src/add-ons/translators/avif/ |
H A D | AVIFTranslator.cpp | 287 int bitsSize = height * bitsHeader.rowBytes; 291 rgb.rowBytes = bitsHeader.rowBytes; 308 int bitsSize = height * bitsHeader.rowBytes; 327 image->yuvRowBytes[0] = bitsHeader.rowBytes / 3; 328 image->yuvRowBytes[1] = bitsHeader.rowBytes / 3; 329 image->yuvRowBytes[2] = bitsHeader.rowBytes / 3; 334 int bitsSize = height * bitsHeader.rowBytes; 343 image->yuvRowBytes[0] = bitsHeader.rowBytes; 445 uint32_t rowBytes; local [all...] |
/haiku/src/kits/translation/ |
H A D | BitmapStream.cpp | 40 fHeader.rowBytes = fBitmap->BytesPerRow(); 43 ((fHeader.bounds.Height() + 1) * fHeader.rowBytes); 143 || (uint32)fBitmap->BytesPerRow() != fHeader.rowBytes)) { 153 0, fHeader.colors, fHeader.rowBytes); 162 if ((uint32)fBitmap->BytesPerRow() != fHeader.rowBytes) { 165 fBitmap->BytesPerRow(), fHeader.rowBytes);
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDLoader.cpp | 200 int32 rowBytes = (fWidth * fDepth) / 8; local 201 int32 channelBytes = rowBytes * fHeight; 272 bitsHeader.rowBytes = rowBytes; 276 bitsHeader.rowBytes = sizeof(uint32) * fWidth; 278 bitsHeader.dataSize = bitsHeader.rowBytes * fHeight; 293 int32 rowBytes = (fWidth / 8 ) * fHeight; local 294 for (int32 i = 0; i < rowBytes; i++) 296 target->Write(imageData[0], rowBytes);
|
H A D | PSDWriter.cpp | 35 fInRowBytes = B_BENDIAN_TO_HOST_INT32(header.rowBytes);
|
/haiku/src/tools/translation/bitsinfo/ |
H A D | bitsinfo.cpp | 103 static_cast<unsigned int>(header.rowBytes)); 191 uint8 *prow = new uint8[header.rowBytes]; 200 while ((ret = file.Read(prow, header.rowBytes)) > 0) {
|
/haiku/src/add-ons/translators/icns/ |
H A D | ICNSLoader.h | 55 ICNSSaver(BPositionIO *stream, uint32 rowBytes,
|
H A D | ICNSLoader.cpp | 154 bitsHeader.rowBytes = sizeof(uint32) * iconImage.imageWidth; 156 bitsHeader.dataSize = bitsHeader.rowBytes * iconImage.imageHeight; 186 ICNSSaver::ICNSSaver(BPositionIO *stream, uint32 rowBytes, icns_type_t type) argument 199 stream->Read(rowPtr, rowBytes);
|
H A D | ICNSTranslator.cpp | 180 ICNSSaver icnsFile(source, bitsHeader.rowBytes, type);
|
/haiku/headers/os/translation/ |
H A D | TranslatorFormats.h | 73 uint32 rowBytes; member in struct:TranslatorBitmap
|
/haiku/src/add-ons/translators/ico/ |
H A D | ICO.cpp | 120 get_data_row(uint8 *data, int32 dataSize, int32 rowBytes, int32 row) argument 122 return data + dataSize - (row + 1) * rowBytes; 203 data += bitsHeader.rowBytes * y; 637 bitsHeader.rowBytes = entry.width * 4; 639 bitsHeader.dataSize = bitsHeader.rowBytes * entry.height; 694 uint8 *bitsData = (uint8 *)dataAllocator.Allocate(bitsHeader.rowBytes * height); 698 ssize_t bytesRead = source.Read(bitsData, bitsHeader.rowBytes * height); 707 width, height, bitsHeader.rowBytes)) {
|
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | WonderBrushTranslator.cpp | 227 bitsHeader.rowBytes = bytesPerRow; 229 bitsHeader.dataSize = bitsHeader.rowBytes * height;
|
/haiku/src/add-ons/translators/exr/ |
H A D | EXRTranslator.cpp | 144 bitsHeader.rowBytes = 4 * displayWidth; 146 bitsHeader.dataSize = bitsHeader.rowBytes * displayHeight;
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFTranslator.cpp | 168 header.rowBytes = B_BENDIAN_TO_HOST_INT32(header.rowBytes);
|
/haiku/src/add-ons/translators/png/ |
H A D | PNGTranslator.cpp | 416 bitsHeader.rowBytes = 4 * width; 421 bitsHeader.dataSize = bitsHeader.rowBytes * height; 857 pbitsrow = new(std::nothrow) uint8[bitsHeader.rowBytes]; 901 inSource->Read(pbitsrow, bitsHeader.rowBytes); 910 inSource->Read(pbitsrow, bitsHeader.rowBytes);
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGITranslator.cpp | 289 uint32 bytesPerRow = bitsHeader.rowBytes; 503 bitsHeader.rowBytes = bytesPerRow; 505 bitsHeader.dataSize = bitsHeader.rowBytes * height;
|
/haiku/src/add-ons/translators/shared/ |
H A D | BaseTranslator.cpp | 303 if (header.rowBytes * (header.bounds.Height() + 1) != header.dataSize) 330 pheader->rowBytes = header.rowBytes;
|
/haiku/src/add-ons/translators/pcx/ |
H A D | PCX.cpp | 284 bitsHeader.rowBytes = width * 4; 286 bitsHeader.dataSize = bitsHeader.rowBytes * height;
|
/haiku/src/add-ons/translators/webp/ |
H A D | WebPTranslator.cpp | 276 int stride = bitsHeader.rowBytes; 348 bitmapHeader.rowBytes = width * 4;
|
/haiku/src/add-ons/translators/raw/ |
H A D | RAWTranslator.cpp | 326 header.rowBytes = data.output_width * 3; 329 header.rowBytes = data.output_width * 4;
|
/haiku/src/add-ons/translators/jpeg/ |
H A D | JPEGTranslator.cpp | 855 int32 in_row_bytes = B_BENDIAN_TO_HOST_INT32(header.rowBytes); 1172 int32 rowBytes = (bounds.IntegerWidth() + 1) * outColorComponents; local 1184 header.rowBytes = B_HOST_TO_BENDIAN_INT32(rowBytes); 1210 JPOOL_PERMANENT, needAll ? dataSize : rowBytes); 1225 ssize_t bytesWritten = out->Write(destLine, rowBytes); 1226 if (bytesWritten < rowBytes) {
|
/haiku/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 399 hdr.rowBytes = B_HOST_TO_BENDIAN_INT32(out_rowbytes); 402 dprintf(("rowBytes is %d, width %d, out_space %x, space %x\n", 788 hdr.rowBytes = B_BENDIAN_TO_HOST_INT32(hdr.rowBytes); 798 if (hdr.rowBytes * (hdr.bounds.Height() + 1) > hdr.dataSize) 802 *rowbytes = hdr.rowBytes;
|
/haiku/src/add-ons/translators/tiff/ |
H A D | TIFFTranslator.cpp | 669 uint32 bytesPerRow = bitsHeader.rowBytes; 854 bitsHeader.rowBytes = 4 * width; 856 bitsHeader.dataSize = bitsHeader.rowBytes * height;
|
/haiku/src/tests/kits/translation/ |
H A D | BitmapStreamTest.cpp | 211 sheader.rowBytes = width * 4; 213 sheader.dataSize = sheader.rowBytes * height;
|
/haiku/src/kits/interface/ |
H A D | Bitmap.cpp | 374 int32 rowBytes; local 375 if (data->FindInt32("_rowbytes", &rowBytes) != B_OK) { 376 rowBytes = -1; 384 _InitObject(bounds, cspace, flags, rowBytes, B_MAIN_SCREEN_ID);
|
/haiku/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.cpp | 1165 bitsHeader.rowBytes, msheader); 1179 bitsHeader.rowBytes, msheader); 1793 bitsHeader.rowBytes = msheader.width * 4; 1795 int32 datasize = bitsHeader.rowBytes * abs(msheader.height);
|