Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 9421:4baee69b8e39
subpacket_base_size isnt needed for fixed sized subpackets
author | michael |
---|---|
date | Fri, 14 Feb 2003 11:37:38 +0000 |
parents | 8a1a8f5e9c91 |
children | 5e990417accf |
comparison
equal
deleted
inserted
replaced
9420:8a1a8f5e9c91 | 9421:4baee69b8e39 |
---|---|
132 if(msb_timestamp_flag) | 132 if(msb_timestamp_flag) |
133 msb_timestamp v | 133 msb_timestamp v |
134 if(sub_packet_type==00) | 134 if(sub_packet_type==00) |
135 sub_packet[0] | 135 sub_packet[0] |
136 else{ | 136 else{ |
137 subpacket_base_size v | |
138 subpacket_count v | 137 subpacket_count v |
139 shuffle_type v | 138 shuffle_type v |
140 if(subpacket_type==10){ | 139 if(subpacket_type==10){ |
140 subpacket_base_size v | |
141 for(i=0; i<subpacket_count; i++) | 141 for(i=0; i<subpacket_count; i++) |
142 subpacket_size_diff[i] v | 142 subpacket_size_diff[i] v |
143 } | 143 } |
144 for(i=0; i<subpacket_count; i++) | 144 for(i=0; i<subpacket_count; i++) |
145 subpacket[i] | 145 subpacket[i] |
293 Note, if multiple subpackets are stored in one frame then the resulting | 293 Note, if multiple subpackets are stored in one frame then the resulting |
294 framesize SHOULD be < 16kbyte and not more then 0.5 sec of data SHOULD | 294 framesize SHOULD be < 16kbyte and not more then 0.5 sec of data SHOULD |
295 be put in a single packet | 295 be put in a single packet |
296 | 296 |
297 subpacket_base_size | 297 subpacket_base_size |
298 the size of the subpackets for fixed fize subpackets | |
299 an offset which should be added to the subpacket_size_diff of each | 298 an offset which should be added to the subpacket_size_diff of each |
300 subpacket to get the actual size, so its normally the size of the | 299 subpacket to get the actual size, so its normally the size of the |
301 smallest subpacket | 300 smallest subpacket |
301 for fixed length subpackets, the size is calculated from the | |
302 subpacket_count | |
302 | 303 |
303 subpacket_count | 304 subpacket_count |
304 the number of subpackets, if not pressent then 1 | 305 the number of subpackets, if not pressent then 1 |
305 | 306 |
306 subpacket_size_diff | 307 subpacket_size_diff |