aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2023-07-18 18:17:41 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2023-07-18 18:17:41 +0200
commite45d6119baa02c9a94ce5a430400546d778c0df3 (patch)
tree36dfed9701aaa363463bfbec85f9de42f957112b
parentfafc32ef4ac761d2219881a6ab750ce913aa318a (diff)
downloadnihav-e45d6119baa02c9a94ce5a430400546d778c0df3.tar.gz
truemotion1data: signal delta table sizes
-rw-r--r--nihav-duck/src/codecs/truemotion1data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nihav-duck/src/codecs/truemotion1data.rs b/nihav-duck/src/codecs/truemotion1data.rs
index 2254bc3..8b048df 100644
--- a/nihav-duck/src/codecs/truemotion1data.rs
+++ b/nihav-duck/src/codecs/truemotion1data.rs
@@ -50,7 +50,7 @@ pub const DUCK_Y_DELTAS: [[i32; 8]; 4] = [
];
const DUCK_Y_FAT_DELTA3: [i32; 8] = [ 0, -15, 50, -50, 115, -115, 235, -235 ];
const DUCK_Y_FAT_DELTA4: [i32; 8] = [ 0, 40, 80, -76, 160, -154, 236, -236 ];
-pub const DUCK_Y_FAT_DELTAS: [&[i32]; 4] = [
+pub const DUCK_Y_FAT_DELTAS: [&[i32; 8]; 4] = [
&DUCK_Y_FAT_DELTA3, &DUCK_Y_FAT_DELTA3, &DUCK_Y_FAT_DELTA3, &DUCK_Y_FAT_DELTA4
];
@@ -61,7 +61,7 @@ pub const DUCK_C_DELTAS: [[i32; 8]; 4] = [
[ 0, -2, 2, -8, 8, -18, 18, -40 ]
];
const DUCK_C_FAT_DELTA3: [i32; 8] = [ 0, -20, 15, -80, 100, -160, 180, -160 ];
-pub const DUCK_C_FAT_DELTAS: [&[i32]; 4] = [
+pub const DUCK_C_FAT_DELTAS: [&[i32; 8]; 4] = [
&DUCK_C_FAT_DELTA3, &DUCK_C_FAT_DELTA3, &DUCK_C_FAT_DELTA3, &DUCK_Y_FAT_DELTA4
];