From 00bfb6bd27de46518e924d2e2e220b80b0b69025 Mon Sep 17 00:00:00 2001 From: Thomas Spurden Date: Wed, 13 Jan 2021 18:53:36 +0000 Subject: [PATCH] Tweak readme to avoid bad formatting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2be7496..012c73f 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,8 @@ Compression is line based. Each line starts with a config byte. If the byte is `0xFF` then the line is not compressed and the next 40 bytes in the stream are the raw line pixel data. Otherwise the byte describes two things: the most-significant bit is set if the line is an exact match, not otherwise. The -lower 7 bits encode a pixel offset in x & y in the range -4..4, in the form ((x -+ 4) * 9) + (y + 4) (i.e. x/y offsets are biased by 4 to make them in the range +lower 7 bits encode a pixel offset in x & y in the range -4..4, in the form +((x + 4) * 9) + (y + 4) (i.e. x/y offsets are biased by 4 to make them in the range 0..9). The offset selects the line in the previous frame (relative to the current line's y coordinate) and an x shift (in pixels, i.e. multiples of 2 bits). 0s are always shifted in to fill the whole line when shifting in x. This -- 2.45.2