comparison DOCS/tech/mpcf.txt @ 17577:0f6b020f867d

change checksum to crc32 add max_pts_distance to avoid overly big pts difference
author ods15
date Fri, 10 Feb 2006 10:42:40 +0000
parents 6c3ca4e1fceb
children 187260c06b4f
comparison
equal deleted inserted replaced
17576:ed90229407c6 17577:0f6b020f867d
170 stream_class v 170 stream_class v
171 fourcc vb 171 fourcc vb
172 time_base_nom v 172 time_base_nom v
173 time_base_denom v 173 time_base_denom v
174 msb_pts_shift v 174 msb_pts_shift v
175 max_pts_distance v
175 decode_delay v 176 decode_delay v
176 fixed_fps u(1) 177 fixed_fps u(1)
177 reserved u(7) 178 reserved u(7)
178 codec_specific_data vb 179 codec_specific_data vb
179 180
369 370
370 SHOULD be set to <=32768 or at least <=65536 unless there is a very 371 SHOULD be set to <=32768 or at least <=65536 unless there is a very
371 good reason to set it higher, otherwise reasonable error recovery will 372 good reason to set it higher, otherwise reasonable error recovery will
372 be impossible 373 be impossible
373 374
375 max_pts_distance
376 max absoloute difference of pts of new frame from last_pts in the
377 timebase of the stream, without a syncpoint immediately before the
378 frame. Note that last_pts is not necessarily the pts of the last frame
379 on the same stream, as it is altered by syncpoint timestamps.
380
374 stream_id 381 stream_id
375 Stream identifier 382 Stream identifier
376 stream_id MUST be < stream_count 383 stream_id MUST be < stream_count
377 384
378 stream_class 385 stream_class
544 551
545 samplerate_nom / samplerate_denom = samplerate 552 samplerate_nom / samplerate_denom = samplerate
546 the number of samples per second 553 the number of samples per second
547 554
548 checksum 555 checksum
549 adler32 checksum 556 crc32 checksum
550 checksum is calculated for the area pointed to by forward_ptr not 557 checksum is calculated for the area pointed to by forward_ptr not
551 including the checksum itself (from first byte after the 558 including the checksum itself (from first byte after the
552 forward_ptr until last byte before the checksum). 559 forward_ptr until last byte before the checksum).
553 560
554 back_ptr_div8 561 back_ptr_div8