aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-codec-support/src/codecs/h263/data.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-04-03 15:23:11 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-04-03 15:23:11 +0200
commit401b2b60a38e3eb19ae19aee9e652f7c8c0cf6f8 (patch)
treea8a5f9c72bdcc70bf23ed08c828868cf7abd5c67 /nihav-codec-support/src/codecs/h263/data.rs
parent7f73eeeeff30f6319d5ff3fe6b945d64ce2c8fef (diff)
downloadnihav-401b2b60a38e3eb19ae19aee9e652f7c8c0cf6f8.tar.gz
h263-based codecs: use proper motion compensation
Diffstat (limited to 'nihav-codec-support/src/codecs/h263/data.rs')
-rw-r--r--nihav-codec-support/src/codecs/h263/data.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/nihav-codec-support/src/codecs/h263/data.rs b/nihav-codec-support/src/codecs/h263/data.rs
index 9a2d4a2..40d5cc8 100644
--- a/nihav-codec-support/src/codecs/h263/data.rs
+++ b/nihav-codec-support/src/codecs/h263/data.rs
@@ -63,6 +63,8 @@ pub const H263_MBTYPE_B: &[(u8, u8)] = &[
(7, 6), (4, 6), (5, 6), (1, 6), (1, 7), (1, 8), (1, 10)
];
+pub const H263_CHROMA_ROUND: [i16; 16] = [ 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1 ];
+
// 0x1 - direct, 0x2 - has quant, 0x4 - has CBP, 0x8 - has dquant, 0x10 - has fwd, 0x20 - has bwd, 0x40 - intra
pub const H263_MBB_CAP_CODED: u8 = 0x2;