Mercurial > mplayer.hg
comparison DOCS/tech/mpcf.txt @ 12110:a34dc5a369ca
restrictions to ensure that O(log n) seeking and error recovery is possible
author | michael |
---|---|
date | Sat, 03 Apr 2004 13:23:44 +0000 |
parents | 68baf8877c07 |
children | e1e5e2124dae |
comparison
equal
deleted
inserted
replaced
12109:b888e3fd8cc8 | 12110:a34dc5a369ca |
---|---|
340 0 is indicated by (flags[frame_code]&1)==0 | 340 0 is indicated by (flags[frame_code]&1)==0 |
341 1 is indicated by (flags[frame_code]&1)==1 && !startcode | 341 1 is indicated by (flags[frame_code]&1)==1 && !startcode |
342 2 is indicated by (flags[frame_code]&1)==1 && startcode | 342 2 is indicated by (flags[frame_code]&1)==1 && startcode |
343 there SHOULD not be more then 0.5 seconds or 16kbyte of type 0 frames | 343 there SHOULD not be more then 0.5 seconds or 16kbyte of type 0 frames |
344 wihout a intervening frame of different frame_type | 344 wihout a intervening frame of different frame_type |
345 | 345 * type 2 frames MUST be decodeable independantly of any other frames |
346 this means they MUST be keyframes and they MUST use a full timestamp | |
347 * type 1 frames MUST not depend(1) upon any other frames, this means, | |
348 they MUST use a full timestamp | |
349 * type 0 frames MUST not depend(1) upon frames prior to the last type | |
350 1/2 frames | |
351 depend(1) means dependancy on the container level (NUT) not dependancy | |
352 on the codec level | |
353 | |
346 stream_id_plus1[frame_code] | 354 stream_id_plus1[frame_code] |
347 must be <250 | 355 must be <250 |
348 if its 0 then the stream_id is coded in the frame | 356 if its 0 then the stream_id is coded in the frame |
349 | 357 |
350 data_size_mul[frame_code] | 358 data_size_mul[frame_code] |
376 frame lsb_timestamp=255->timestamp=255 | 384 frame lsb_timestamp=255->timestamp=255 |
377 frame lsb_timestamp=0 -> timestamp=256 | 385 frame lsb_timestamp=0 -> timestamp=256 |
378 frame lsb_timestamp=4 -> timestamp=260 | 386 frame lsb_timestamp=4 -> timestamp=260 |
379 frame lsb_timestamp=2 -> timestamp=258 | 387 frame lsb_timestamp=2 -> timestamp=258 |
380 frame lsb_timestamp=3 -> timestamp=259 | 388 frame lsb_timestamp=3 -> timestamp=259 |
389 all timestamps of keyframes of a single stream MUST be monotone | |
381 | 390 |
382 width/height | 391 width/height |
383 MUST be set to the coded width/height | 392 MUST be set to the coded width/height |
384 | 393 |
385 sample_width/sample_height (aspect ratio) | 394 sample_width/sample_height (aspect ratio) |