aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2024-08-06 18:04:45 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2024-08-06 18:04:45 +0200
commitc81af4dc7401b6db3d9be0c8e23abb31b2feeb79 (patch)
tree0dedd051bbe3d220c3f272e992794a36e5817e0a
parent3c0e662a0f2402137f4236d4b870a084013990c3 (diff)
downloadnihav-c81af4dc7401b6db3d9be0c8e23abb31b2feeb79.tar.gz
svq1: fix +-128 values in inter means codebook
Discovered by Peter Ross quite a while ago
-rw-r--r--nihav-qt/src/codecs/svq1data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nihav-qt/src/codecs/svq1data.rs b/nihav-qt/src/codecs/svq1data.rs
index fcfa47b..d5b0153 100644
--- a/nihav-qt/src/codecs/svq1data.rs
+++ b/nihav-qt/src/codecs/svq1data.rs
@@ -148,7 +148,7 @@ pub const SVQ_INTER_MEAN_CODES: [[u16; 2]; 512] = [
[ 0xA0, 22 ], [ 0xA1, 22 ], [ 0xA2, 22 ], [ 0xA3, 22 ],
[ 0xA4, 22 ], [ 0xA5, 22 ], [ 0xA6, 22 ], [ 0xA7, 22 ],
[ 0xA8, 22 ], [ 0xA9, 22 ], [ 0xAA, 22 ], [ 0xAB, 22 ],
- [ 0x7F, 22 ], [ 0x8F, 21 ], [ 0xAC, 22 ], [ 0xAD, 22 ],
+ [ 0x8E, 21 ], [ 0x8F, 21 ], [ 0xAC, 22 ], [ 0xAD, 22 ],
[ 0xAE, 22 ], [ 0xAF, 22 ], [ 0xB0, 22 ], [ 0xB1, 22 ],
[ 0x53, 20 ], [ 0x90, 21 ], [ 0xB2, 22 ], [ 0x91, 21 ],
[ 0xB3, 22 ], [ 0xB4, 22 ], [ 0x54, 20 ], [ 0xB5, 22 ],
@@ -212,7 +212,7 @@ pub const SVQ_INTER_MEAN_CODES: [[u16; 2]; 512] = [
[ 0x87, 21 ], [ 0x4F, 20 ], [ 0x35, 19 ], [ 0x4E, 20 ],
[ 0x33, 19 ], [ 0x32, 19 ], [ 0x4D, 20 ], [ 0x4C, 20 ],
[ 0x83, 22 ], [ 0x4B, 20 ], [ 0x81, 22 ], [ 0x80, 22 ],
- [ 0x8E, 21 ], [ 0x7E, 22 ], [ 0x7D, 22 ], [ 0x84, 21 ],
+ [ 0x7F, 22 ], [ 0x7E, 22 ], [ 0x7D, 22 ], [ 0x84, 21 ],
[ 0x8D, 21 ], [ 0x7A, 22 ], [ 0x79, 22 ], [ 0x4A, 20 ],
[ 0x77, 22 ], [ 0x76, 22 ], [ 0x89, 21 ], [ 0x74, 22 ],
[ 0x73, 22 ], [ 0x72, 22 ], [ 0x49, 20 ], [ 0x70, 22 ],