Difference between revisions of "Cine/Specifications"

Jump to navigation Jump to search
m
Fixed typo.
(Added note about the order of outputting the unpacked data.)
m (Fixed typo.)
Line 148: Line 148:


Because of the way the Delphine's decompressor routine handled the bit stream the first
Because of the way the Delphine's decompressor routine handled the bit stream the first
chunk acts in a sort a peculiar way (Take a look at the functions rcr
chunk acts in a sort of a peculiar way (Take a look at the functions rcr
([http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/cine/unpack.h?revision=32689&view=markup#l_62 Declaration],
([http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/cine/unpack.h?revision=32689&view=markup#l_62 Declaration],
[http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/cine/unpack.cpp?revision=32689&view=markup#l_43 Definition])
[http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/cine/unpack.cpp?revision=32689&view=markup#l_43 Definition])
Line 160: Line 160:
because its highest set bit is at bit position 2, 110101b contains 5 bits, 1b contains 0 bits etc).
because its highest set bit is at bit position 2, 110101b contains 5 bits, 1b contains 0 bits etc).
So all the less significant bits than the first chunk's highest set bit are valid source stream
So all the less significant bits than the first chunk's highest set bit are valid source stream
bits (That means the highest set bit in the first chunk is always discarded).  
bits (That means the highest set bit in the first chunk is always discarded).


=====Command length=====
=====Command length=====
417

edits

Navigation menu