Searched refs:pixelsPerByte (Results 1 – 1 of 1) sorted by relevance
187 uint8 pixelsPerByte = 8 / bitsperpixel; in get_padding() local188 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() local231 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 …]