docs: def __do_filter_up(self, scanline, result):
          """Up filter."""
          previous = self.prev
          for i in range(len(result)):
              x = scanline[i]
              b = previous[i]
              result[i] = (x - b) & 0xff