docs: def __undo_filter_up(self, scanline):
          """Undo up filter."""
          previous = self.prev
          for i in range(len(scanline)):
              x = scanline[i]
              b = previous[i]
              scanline[i] = (x + b) & 0xff