X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-codec-support%2Fsrc%2Fcodecs%2Fh263%2Fdata.rs;h=40d5cc8c08bcea02228c7495558bba0098db4482;hp=9a2d4a226edf0ea64313011c2f6075d305508708;hb=401b2b60a38e3eb19ae19aee9e652f7c8c0cf6f8;hpb=7f73eeeeff30f6319d5ff3fe6b945d64ce2c8fef 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;