Lines Matching refs:int
126 def bpp(self) -> int:
151 def ncolors(self) -> int:
307 w: int, h: int, argument
308 stride: int, argument
392 w: int = 0, argument
393 h: int = 0, argument
394 stride: int = 0, argument
395 align: int = 1, argument
396 flags: int = 0): argument
409 def stride_align(self, align: int) -> int: argument
423 def stride_default(self) -> int:
448 self.w = int.from_bytes(data[4:6], 'little')
449 self.h = int.from_bytes(data[6:8], 'little')
450 self.stride = int.from_bytes(data[8:10], 'little')
495 w: int = 0, argument
496 h: int = 0, argument
509 def adjust_stride(self, stride: int = 0, align: int = 1): argument
668 def data_len(self) -> int:
691 w: int, argument
692 h: int, argument
694 stride: int = 0): argument
842 background: int = 0x00_00_00, argument
974 rawdata += uint8_t(int(self.linear_to_sRGB(luma) * 255))
1087 def __init__(self, blksize: int, len: int): argument
1108 w: int = 0, argument
1109 h: int = 0, argument
1129 def rle_compress(self, data: bytearray, blksize: int, threshold=16): argument
1155 def get_repeat_count(self, data: bytearray, blksize: int): argument
1177 def get_nonrepeat_count(self, data: bytearray, blksize: int, threshold): argument
1260 background: int = 0x00, argument
1261 align: int = 1, argument
1344 type=int,
1350 type=lambda x: int(x, 0),