Commit Graph

147 Commits

Author SHA1 Message Date
ods15 5e791e8cd5 strings without terminating NUL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17836 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 20:44:22 +00:00
ods15 7719914fa1 bump neglected date
more consistent notation (usually in specs there are only arrays, no structs...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17828 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 17:40:32 +00:00
ods15 6557c02bc4 revert last change
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17827 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 17:35:51 +00:00
ods15 20a1d14b63 better max for frame code values, still allowing compact implementation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17826 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 13:30:45 +00:00
ods15 9d6ad5ab21 10l to me, misarrangment of flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17825 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 13:21:04 +00:00
ods15 695dfad372 change max_distance back to 64kb and set max frame size to 2*max_distance.
If anyone is against, speak up...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17824 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 13:08:10 +00:00
ods15 05b2368382 change max_distance max to 128kb instead of 65kb
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17812 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 19:47:05 +00:00
ods15 9dd489f4bc move bit flags to be more convinient...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17810 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 15:26:39 +00:00
ods15 c43a1f00e9 clarify, header_checksum is not included in forward_ptr and in packet checksum
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17809 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-11 10:19:02 +00:00
michael 8895e7c64c SHOULD NOT be higher than 1/timebase limit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17802 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:44:31 +00:00
michael e44e52167a div8 -> div16
and a silly 10l typo (misstakely removed a field)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17801 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:34:30 +00:00
michael 7f204aec11 drop max_frame_size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17800 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:28:11 +00:00
michael 09053751fd double muxing examples (cant hurt to explictly mention the most common)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17799 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:23:22 +00:00
michael 578eb12df3 limit stuffing to prevent header_checksum from endup being useless due to a gb of 0x80 after a 'N'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17798 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:18:59 +00:00
michael 7f157e2d58 universal timestamp (= stream_id + timestamp in stream timebase)
-> simplify
add that thing to info packets as type too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17797 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 14:10:07 +00:00
michael f25911feec little clarification of sample_width/sample_height
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17796 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 13:54:39 +00:00
michael 370aaee121 0x00 and 0xFF should be invalid (libnut does that already and it seems like a good idea to recommand)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17795 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 13:50:35 +00:00
ods15 3d312d86fe push back userdata stream_class
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17794 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 11:52:58 +00:00
michael 2c222ee63b header_checksum
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17793 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-10 02:49:29 +00:00
michael df89f6c831 cosmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:49:35 +00:00
michael 1b8e9839b0 remove info streams
add new rules

awaiting flames and comments


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:37:10 +00:00
ods15 1a2d562981 cosmetics, rename max_size to max_frame_size
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17731 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-05 07:06:34 +00:00
ods15 0a163ed4e4 return index_ptr to inside index
add max_size
disallow reserved headers after index


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17727 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 16:30:25 +00:00
ods15 a6401e400b typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17724 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-04 10:26:46 +00:00
michael bd4f01c6ab slightly better max_distance rule
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17723 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-03 22:43:49 +00:00
michael d87111a794 the return of the monolithic index
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17721 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-03 22:33:30 +00:00
michael de159845f9 update tmp_field numbers (pretty much just cosmetic)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17720 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-03 22:31:46 +00:00
michael 608b2793cd simplify flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17719 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-03 22:30:17 +00:00
michael 8ba0c6444c syncpoint_start description
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17715 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-02 10:34:09 +00:00
michael 56dbc658e4 add forward_ptr to syncpoint (+0.006% overhead)
give syncpoint and frameheader their own checksums (worst case overhead increase <0.006%)
fix filestructure so that extendability is restored
move index_ptr to the fileend so that index packets arent a special case with their reserved_bytes position
-> all packets follow the same structure now

remove "optional" word from info packets, they are not more optional then index packets

split index packets
note, this is entirely optional and a muxer which has difficulty with it can always output a single index packet

remove the index MUST be at the file end if anywher rule, its not needed anymore as index_ptr will always be at the end

info frames must be keyframes

last info frame is the most correct

comments, flames?


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17712 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 14:19:37 +00:00
michael 0b975eab56 leading coeff for crc polynom
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17711 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 13:37:09 +00:00
michael f1da7ec701 width/height/samplerate MUST not be 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17710 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 13:36:33 +00:00
michael 74e4530832 remove chapter_id == 0 special case
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17709 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 13:35:09 +00:00
ods15 2479fa73aa cosmetic, trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17687 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-25 20:06:21 +00:00
ods15 4d7c002b5a use short 'type' names
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17686 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-25 18:51:46 +00:00
ods15 7468841b68 allow rationals with denom of '1'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17685 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-25 18:48:52 +00:00
ods15 e4d25db909 CRC32 stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17684 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-25 16:16:47 +00:00
ods15 d2b49efc98 fix bit specification for fixed_fps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17672 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 14:41:02 +00:00
ods15 37cf77372a info packet stuff, chapters...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17670 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 05:41:35 +00:00
ods15 362b6d13dd fields should be in english...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17654 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-20 04:49:06 +00:00
ods15 db8d9b1dc2 more cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17641 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 20:05:25 +00:00
ods15 01856feb63 some cleanup. enforce decode_delay to not be too high.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17640 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-17 19:45:35 +00:00
ods15 3b7240c575 fix index, first keyframe cannot be written with pts=0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17616 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 07:29:11 +00:00
ods15 94884f5dee Make 'N' frame code implictly invalid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17613 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 17:40:02 +00:00
ods15 8d1e356de1 Put index_ptr within index to avoid it popping out of nowhere.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17586 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 09:56:49 +00:00
ods15 3271803e22 Add syncpoint_checksum after frame header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17585 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-11 09:51:08 +00:00
ods15 d6d942d8dd change checksum to crc32
add max_pts_distance to avoid overly big pts difference


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17578 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 10:42:40 +00:00
ods15 0a7fab7bab EOR can only be (un)set for non delayed streams.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17552 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 16:52:05 +00:00
ods15 e6611b7251 Allow headers to be repeated anywhere
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17548 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 04:03:11 +00:00
ods15 e966401eba Index repetition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17534 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-04 08:54:31 +00:00