# HG changeset patch # User michael # Date 1083634157 0 # Node ID 87a6dc69b65ae27439b1f55f57d9efffb9ceccbe # Parent 57157e702e48a910424bfc8df034364e23f5b151 proposals by rich: remove predicted delta timestamps delta timestamp in the frame_code table reserved vlc count in the frame_code table global timestamp after frame_startcode diff -r 57157e702e48 -r 87a6dc69b65a DOCS/tech/mpcf.txt --- a/DOCS/tech/mpcf.txt Mon May 03 18:19:16 2004 +0000 +++ b/DOCS/tech/mpcf.txt Tue May 04 01:29:17 2004 +0000 @@ -89,17 +89,24 @@ version v stream_count v max_distance v + global_time_base_nom v + global_time_base_denom v + short_startcode v for(i=0; i<256; ){ tmp_flag v tmp_stream v tmp_mul v tmp_size v + tmp_timestamp s + tmp_res v count v for(j=0; j= tmp_mul){ tmp_size=0; tmp_stream++; @@ -120,7 +127,6 @@ time_base_nom v time_base_denom v msb_timestamp_shift v - initial_timestamp_predictor v(3) decode_delay v fixed_fps u(1) index_flag u(1) @@ -155,12 +161,14 @@ if(stream_id_plus1[frame_code]==0){ stream_id v } - if((flags[frame_code]&3)==3){ + if(timestamp_delta[frame_code]==0){ coded_timestamp v } - if(flags[frame_code]&4){ + if(flags[frame_code]&1){ data_size_msb v } + for(i=0; i no keyframe, 1-> keyframe, - flags=16 can be used to mark illegal frame_code bytes - frame_code=78 must have flags=16 + flags=4 can be used to mark illegal frame_code bytes + frame_code=78 must have flags=4 * frames MUST not depend(1) upon frames prior to the last frame_startcode depend(1) means dependancy on the container level (NUT) not dependancy @@ -373,6 +392,9 @@ data_size_lsb[frame_code] must be <16384 +timestamp_delta[frame_code] + must be <16384 and >-16384 + data_size data_size= data_size_lsb + data_size_msb*data_size_mul;