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