Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 17730:a0d4f253e82b
cosmetics, rename max_size to max_frame_size
author | ods15 |
---|---|
date | Sun, 05 Mar 2006 07:06:34 +0000 |
parents | 541738aa3079 |
children | af02066c0706 |
comparison
equal
deleted
inserted
replaced
17729:9c3c78d21643 | 17730:a0d4f253e82b |
---|---|
164 fourcc vb | 164 fourcc vb |
165 time_base_nom v | 165 time_base_nom v |
166 time_base_denom v | 166 time_base_denom v |
167 msb_pts_shift v | 167 msb_pts_shift v |
168 max_pts_distance v | 168 max_pts_distance v |
169 max_size v | 169 max_frame_size v |
170 decode_delay v | 170 decode_delay v |
171 reserved u(7) | 171 reserved u(7) |
172 fixed_fps u(1) | 172 fixed_fps u(1) |
173 codec_specific_data vb | 173 codec_specific_data vb |
174 if(stream_class == video){ | 174 if(stream_class == video){ |
405 max absoloute difference of pts of new frame from last_pts in the | 405 max absoloute difference of pts of new frame from last_pts in the |
406 timebase of the stream, without a checksum after the frameheader | 406 timebase of the stream, without a checksum after the frameheader |
407 Note that last_pts is not necessarily the pts of the last frame | 407 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. | 408 on the same stream, as it is altered by syncpoint timestamps. |
409 | 409 |
410 max_size | 410 max_frame_size |
411 max frame size without a checksum after the frameheader. | 411 max frame size without a checksum after the frameheader. |
412 MUST be <=4*max_distance. If stored value is bigger than max_size MUST | 412 MUST be <=4*max_distance. If stored value is bigger then |
413 be set to 4*max_distance . | 413 max_frame_size MUST be set to 4*max_distance . |
414 | 414 |
415 stream_id | 415 stream_id |
416 Stream identifier | 416 Stream identifier |
417 stream_id MUST be < stream_count | 417 stream_id MUST be < stream_count |
418 | 418 |
510 EOR frames MUST be zero-length and must be set keyframe. | 510 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 | 511 All streams SHOULD end with EOR, where the pts of the EOR indicates the |
512 end presentation time of the final frame. | 512 end presentation time of the final frame. |
513 An EOR set stream is unset by the first content frames. | 513 An EOR set stream is unset by the first content frames. |
514 EOR can only be unset in streams with zero decode_delay . | 514 EOR can only be unset in streams with zero decode_delay . |
515 FLAG_CHECKSUM must be set if the frame is larger than max_size or its | 515 FLAG_CHECKSUM MUST be set if the frame is larger than max_frame_size or |
516 pts differs by more then max_pts_distance from the last frame | 516 its pts differs by more then max_pts_distance from the last frame |
517 | 517 |
518 stream_id_plus1[frame_code] | 518 stream_id_plus1[frame_code] |
519 must be <250 | 519 must be <250 |
520 if it is 0, then the stream_id is coded in the frame | 520 if it is 0, then the stream_id is coded in the frame |
521 | 521 |
567 Pts of all frames in all streams MUST be bigger or equal to dts of all | 567 Pts of all frames in all streams MUST be bigger or equal to dts of all |
568 previous frames in all streams, compared in common timebase. (EOR | 568 previous frames in all streams, compared in common timebase. (EOR |
569 frames are NOT exempt from this rule) | 569 frames are NOT exempt from this rule) |
570 | 570 |
571 width/height | 571 width/height |
572 MUST be set to the coded width/height, MUST not be 0 | 572 MUST be set to the coded width/height, MUST NOT be 0 |
573 | 573 |
574 sample_width/sample_height (aspect ratio) | 574 sample_width/sample_height (aspect ratio) |
575 sample_width is the horizontal distance between samples | 575 sample_width is the horizontal distance between samples |
576 sample_width and sample_height MUST be relatively prime if not zero | 576 sample_width and sample_height MUST be relatively prime if not zero |
577 MUST be 0 if unknown | 577 MUST be 0 if unknown |
582 2 ITU Rec 709 Y range: 16..235 Cb/Cr range: 16..240 | 582 2 ITU Rec 709 Y range: 16..235 Cb/Cr range: 16..240 |
583 17 ITU Rec 624 / ITU Rec 601 Y range: 0..255 Cb/Cr range: 0..255 | 583 17 ITU Rec 624 / ITU Rec 601 Y range: 0..255 Cb/Cr range: 0..255 |
584 18 ITU Rec 709 Y range: 0..255 Cb/Cr range: 0..255 | 584 18 ITU Rec 709 Y range: 0..255 Cb/Cr range: 0..255 |
585 | 585 |
586 samplerate_nom / samplerate_denom = samplerate | 586 samplerate_nom / samplerate_denom = samplerate |
587 the number of samples per second, MUST not be 0 | 587 the number of samples per second, MUST NOT be 0 |
588 | 588 |
589 crc32 checksum | 589 crc32 checksum |
590 Generator polynomial is 0x104C11DB7. Starting value is zero. | 590 Generator polynomial is 0x104C11DB7. Starting value is zero. |
591 | 591 |
592 checksum | 592 checksum |