summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/mpcf.txt
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-03 13:23:44 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-03 13:23:44 +0000
commit0b7f6c6b3c344957276fdacc67e51b4c534ca7e0 (patch)
treec6c08add86ce6b68158c5263c22d0002ad9af2e8 /DOCS/tech/mpcf.txt
parentbfec28353645ec4035268e8093535aeb67e5d058 (diff)
downloadmpv-0b7f6c6b3c344957276fdacc67e51b4c534ca7e0.tar.bz2
mpv-0b7f6c6b3c344957276fdacc67e51b4c534ca7e0.tar.xz
restrictions to ensure that O(log n) seeking and error recovery is possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12111 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/mpcf.txt')
-rw-r--r--DOCS/tech/mpcf.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt
index 33e818e82c..275d42c4a0 100644
--- a/DOCS/tech/mpcf.txt
+++ b/DOCS/tech/mpcf.txt
@@ -342,7 +342,15 @@ frame_type
2       is indicated by (flags[frame_code]&1)==1 && startcode
there SHOULD not be more then 0.5 seconds or 16kbyte of type 0 frames
wihout a intervening frame of different frame_type
-
+ * type 2 frames MUST be decodeable independantly of any other frames
+ this means they MUST be keyframes and they MUST use a full timestamp
+ * type 1 frames MUST not depend(1) upon any other frames, this means,
+ they MUST use a full timestamp
+ * type 0 frames MUST not depend(1) upon frames prior to the last type
+ 1/2 frames
+ depend(1) means dependancy on the container level (NUT) not dependancy
+ on the codec level
+
stream_id_plus1[frame_code]
must be <250
if its 0 then the stream_id is coded in the frame
@@ -378,6 +386,7 @@ lsb_timestamp
frame lsb_timestamp=4 -> timestamp=260
frame lsb_timestamp=2 -> timestamp=258
frame lsb_timestamp=3 -> timestamp=259
+ all timestamps of keyframes of a single stream MUST be monotone
width/height
MUST be set to the coded width/height