[XviD-devel] Transcode module

peter ross xvid-devel@xvid.org
Wed, 02 Oct 2002 19:56:33 +1000


> > #define VIDOBJ_START_CODE	0x00000100	/* ..0x0000011f  */
> > #define VIDOBJLAY_START_CODE	0x00000120	/* ..0x0000012f */
>                                                 ^^^^^^^^^^^
>                                                   what's this?

the video-object start code falls in the range [0x110,0x11f]
the video-object-layer start code falls in the range [0x120,0x12f]

in both cases, the 4 lowest bits specify the object id.
eg.
        vo_id = vo_start & 0xf
        vol_id = vol_start_code & 0xf

xvid does do anything with these ids, however they can be used to
identiyu multiple objects (e.g. multiple videos or meshes) within the
one bit stream.

iam yet to see a stream containing multiple objects. i recall
someone was asking about it awhile ago on the www-xvid forums.

-- pete

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com