Home
last modified time | relevance | path

Searched refs:pixelsPerByte (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/translators/bmp/
H A DBMPTranslator.cpp187 uint8 pixelsPerByte = 8 / bitsperpixel; in get_padding() local
188 if (!(width % pixelsPerByte)) in get_padding()
189 padding = (width / pixelsPerByte) % 4; in get_padding()
191 padding = ((width + pixelsPerByte - in get_padding()
192 (width % pixelsPerByte)) / in get_padding()
193 pixelsPerByte) % 4; in get_padding()
230 uint8 pixelsPerByte = 8 / bitsperpixel; in get_rowbytes() local
231 rowbytes = (width / pixelsPerByte) + in get_rowbytes()
232 ((width % pixelsPerByte) ? 1 : 0) + padding; in get_rowbytes()
876 uint8 pixelsPerByte = 8 / msheader.bitsperpixel; in translate_from_bits1_to_bmp1() local
[all …]