From e45d6119baa02c9a94ce5a430400546d778c0df3 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 18 Jul 2023 18:17:41 +0200 Subject: [PATCH] truemotion1data: signal delta table sizes --- nihav-duck/src/codecs/truemotion1data.rs | 4 ++-- 1 file 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 ]; -- 2.39.5