Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 17800:7547340823a9
div8 -> div16
and a silly 10l typo (misstakely removed a field)
author | michael |
---|---|
date | Fri, 10 Mar 2006 14:34:30 +0000 |
parents | 02139a9b7c7b |
children | b16fbe54b2dc |
comparison
equal
deleted
inserted
replaced
17799:02139a9b7c7b | 17800:7547340823a9 |
---|---|
213 | 213 |
214 index: | 214 index: |
215 max_pts t | 215 max_pts t |
216 syncpoints v | 216 syncpoints v |
217 for(i=0; i<syncpoints; i++){ | 217 for(i=0; i<syncpoints; i++){ |
218 syncpoint_pos_div8 v | 218 syncpoint_pos_div16 v |
219 } | 219 } |
220 for(i=0; i<stream_count; i++){ | 220 for(i=0; i<stream_count; i++){ |
221 last_pts= -1 | 221 last_pts= -1 |
222 for(j=0; j<syncpoints; ){ | 222 for(j=0; j<syncpoints; ){ |
223 x v | 223 x v |
283 } | 283 } |
284 } | 284 } |
285 | 285 |
286 syncpoint: | 286 syncpoint: |
287 global_key_pts t | 287 global_key_pts t |
288 back_ptr_div16 v | |
288 | 289 |
289 Complete definition: | 290 Complete definition: |
290 | 291 |
291 file: | 292 file: |
292 file_id_string | 293 file_id_string |
598 checksum over the startcode and forward pointer | 599 checksum over the startcode and forward pointer |
599 | 600 |
600 Syncpoint tags: | 601 Syncpoint tags: |
601 --------------- | 602 --------------- |
602 | 603 |
603 back_ptr_div8 | 604 back_ptr_div16 |
604 back_ptr = back_ptr_div8 * 8 + 7 | 605 back_ptr = back_ptr_div16 * 16 + 15 |
605 back_ptr must point to a position within 8 bytes of a syncpoint | 606 back_ptr must point to a position within 16 bytes of a syncpoint |
606 startcode. This syncpoint MUST be the closest syncpoint such that at | 607 startcode. This syncpoint MUST be the closest syncpoint such that at |
607 least one keyframe with a pts lower or equal to the original syncpoint's | 608 least one keyframe with a pts lower or equal to the original syncpoint's |
608 global_key_pts for all streams lies between it and the current syncpoint. | 609 global_key_pts for all streams lies between it and the current syncpoint. |
609 | 610 |
610 A stream where EOR is set is to be ignored for back_ptr. | 611 A stream where EOR is set is to be ignored for back_ptr. |
620 ----------- | 621 ----------- |
621 | 622 |
622 max_pts | 623 max_pts |
623 The highest pts in the entire file | 624 The highest pts in the entire file |
624 | 625 |
625 syncpoint_pos_div8 | 626 syncpoint_pos_div16 |
626 offset from begginning of file to up to 7 bytes before the syncpoint | 627 offset from begginning of file to up to 15 bytes before the syncpoint |
627 referred to in this index entry. Relative to position of last | 628 referred to in this index entry. Relative to position of last |
628 syncpoint. | 629 syncpoint. |
629 | 630 |
630 has_keyframe | 631 has_keyframe |
631 indicates whether this stream has a keyframe between this syncpoint and | 632 indicates whether this stream has a keyframe between this syncpoint and |