]> git.nihav.org Git - nihav.git/commit
qdraw: refactor RLE decoding
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 25 Sep 2026 10:31:45 +0000 (12:31 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 25 Sep 2026 10:31:45 +0000 (12:31 +0200)
commit008e13349937d002885e788ef214193b9fed4283
tree7553c99ea2260046228e2433232956b0257e9663
parentf8ab2f646c18608cd86c129ce393b83f285ad440
qdraw: refactor RLE decoding

Now it will call the same decoding routine for all possible cases and
reconstruct proper data later (the only exception is now supported
16-bit RLE).

As a side effect it will handle properly the situations when encoded
line size is greater than the expected width.
nihav-qt/src/codecs/qdraw.rs