comparison DOCS/tech/mpcf.txt @ 17808:278206dd6fbd

clarify, header_checksum is not included in forward_ptr and in packet checksum
author ods15
date Sat, 11 Mar 2006 10:19:02 +0000
parents b16fbe54b2dc
children abf69918ec6c
comparison
equal deleted inserted replaced
17807:764d224f2cb4 17808:278206dd6fbd
384 version 384 version
385 NUT version. The current value is 2. 385 NUT version. The current value is 2.
386 386
387 forward_ptr 387 forward_ptr
388 size of the packet data (exactly the distance from the first byte 388 size of the packet data (exactly the distance from the first byte
389 after the forward_ptr to the first byte of the next packet) 389 after the packet_header to the first byte of the next packet)
390 390
391 max_distance 391 max_distance
392 max distance of syncpoints, the distance may only be larger if 392 max distance of syncpoints, the distance may only be larger if
393 there is no more than a single frame between the two syncpoints. This can 393 there is no more than a single frame between the two syncpoints. This can
394 be used by the demuxer to detect damaged frame headers if the damage 394 be used by the demuxer to detect damaged frame headers if the damage
590 590
591 checksum 591 checksum
592 crc32 checksum 592 crc32 checksum
593 checksum is calculated for the area pointed to by forward_ptr not 593 checksum is calculated for the area pointed to by forward_ptr not
594 including the checksum itself (from first byte after the 594 including the checksum itself (from first byte after the
595 forward_ptr until last byte before the checksum). 595 packet_header until last byte before the checksum).
596 for frame headers the checksum contains the framecode byte and all 596 for frame headers the checksum contains the framecode byte and all
597 following bytes upto the checksum itself 597 following bytes upto the checksum itself
598 598
599 header_checksum 599 header_checksum
600 checksum over the startcode and forward pointer 600 checksum over the startcode and forward pointer