Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 17799:02139a9b7c7b
drop max_frame_size
author | michael |
---|---|
date | Fri, 10 Mar 2006 14:28:11 +0000 |
parents | 2d02868030f0 |
children | 7547340823a9 |
comparison
equal
deleted
inserted
replaced
17798:2d02868030f0 | 17799:02139a9b7c7b |
---|---|
168 fourcc vb | 168 fourcc vb |
169 time_base_nom v | 169 time_base_nom v |
170 time_base_denom v | 170 time_base_denom v |
171 msb_pts_shift v | 171 msb_pts_shift v |
172 max_pts_distance v | 172 max_pts_distance v |
173 max_frame_size v | |
174 decode_delay v | 173 decode_delay v |
175 reserved u(7) | 174 reserved u(7) |
176 fixed_fps u(1) | 175 fixed_fps u(1) |
177 codec_specific_data vb | 176 codec_specific_data vb |
178 if(stream_class == video){ | 177 if(stream_class == video){ |
399 non-keyframe - keyframe transitions are very frequent | 398 non-keyframe - keyframe transitions are very frequent |
400 | 399 |
401 SHOULD be set to <=32768 | 400 SHOULD be set to <=32768 |
402 if the stored value is >65536 then max_distance MUST be set to 65536 | 401 if the stored value is >65536 then max_distance MUST be set to 65536 |
403 | 402 |
403 this is also the max frame size without a checksum after the frameheader. | |
404 | |
405 | |
404 max_pts_distance | 406 max_pts_distance |
405 max absoloute difference of pts of new frame from last_pts in the | 407 max absoloute difference of pts of new frame from last_pts in the |
406 timebase of the stream, without a checksum after the frameheader | 408 timebase of the stream, without a checksum after the frameheader |
407 Note that last_pts is not necessarily the pts of the last frame | 409 Note that last_pts is not necessarily the pts of the last frame |
408 on the same stream, as it is altered by syncpoint timestamps. | 410 on the same stream, as it is altered by syncpoint timestamps. |
409 | |
410 max_frame_size | |
411 max frame size without a checksum after the frameheader. | |
412 MUST be <=4*max_distance. If stored value is bigger then | |
413 max_frame_size MUST be set to 4*max_distance . | |
414 | 411 |
415 stream_id | 412 stream_id |
416 Stream identifier | 413 Stream identifier |
417 stream_id MUST be < stream_count | 414 stream_id MUST be < stream_count |
418 | 415 |
510 EOR frames MUST be zero-length and must be set keyframe. | 507 EOR frames MUST be zero-length and must be set keyframe. |
511 All streams SHOULD end with EOR, where the pts of the EOR indicates the | 508 All streams SHOULD end with EOR, where the pts of the EOR indicates the |
512 end presentation time of the final frame. | 509 end presentation time of the final frame. |
513 An EOR set stream is unset by the first content frames. | 510 An EOR set stream is unset by the first content frames. |
514 EOR can only be unset in streams with zero decode_delay . | 511 EOR can only be unset in streams with zero decode_delay . |
515 FLAG_CHECKSUM MUST be set if the frame is larger than max_frame_size or | 512 FLAG_CHECKSUM MUST be set if the frame is larger than max_distance or |
516 its pts differs by more then max_pts_distance from the last frame | 513 its pts differs by more then max_pts_distance from the last frame |
517 | 514 |
518 stream_id_plus1[frame_code] | 515 stream_id_plus1[frame_code] |
519 must be <250 | 516 must be <250 |
520 if it is 0, then the stream_id is coded in the frame | 517 if it is 0, then the stream_id is coded in the frame |