Lines Matching defs:bpr

87 	int32 bpr = 0;
91 bpr = 8 * width;
94 bpr = 6 * width;
104 bpr = 4 * width;
109 bpr = 3 * width;
113 bpr = 2 * width;
116 bpr = width;
119 bpr = (width + 7) / 8;
122 bpr = (width + 3) / 4 * 8;
125 bpr = (width + 3) / 4 * 6;
128 bpr = (width + 3) / 4 * 12;
131 bpr = (width + 3) / 4 * 6;
134 bpr = (width + 15) / 16 * 18;
141 return bpr;
157 int32 bpr = get_raw_bytes_per_row(colorSpace, width);
159 bpr = (bpr + 3) & 0x7ffffffc;
160 return bpr;
685 is supposed to contain data of that color space. \a bpr specifies how
694 \param bpr The number of bytes per row in the source data.
701 - \c B_BAD_VALUE: \c NULL \a data, invalid \a bpr or \a offset, or
705 BBitmap::ImportBits(const void* data, int32 length, int32 bpr, int32 offset,
717 if (bpr <= 0) {
718 if (bpr == B_ANY_BYTES_PER_ROW)
719 bpr = get_bytes_per_row(colorSpace, width);
725 fSize - offset, bpr, fBytesPerRow, colorSpace, fColorSpace, width,
741 \param bpr The number of bytes per row in the source data.
748 - \c B_BAD_VALUE: \c NULL \a data, invalid \a bpr, unsupported
752 BBitmap::ImportBits(const void* data, int32 length, int32 bpr,
763 if (bpr <= 0) {
764 if (bpr == B_ANY_BYTES_PER_ROW)
765 bpr = get_bytes_per_row(colorSpace, fBounds.IntegerWidth() + 1);
770 return BPrivate::ConvertBits(data, fBasePointer, length, fSize, bpr,
777 BBitmap::ImportBits(const void* data, int32 length, int32 bpr,
780 return ImportBits(data, length, bpr, colorSpace, from, to, BSize(width - 1, height - 1));
1044 //printf("BBitmap::InitObject(bounds: BRect(%.1f, %.1f, %.1f, %.1f), format: %ld, flags: %ld, bpr: %ld\n",
1072 int32 bpr = get_bytes_per_row(colorSpace, bounds.IntegerWidth() + 1);
1074 bytesPerRow = bpr;
1075 else if (bytesPerRow < bpr)