[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.58,1.59
D Richard Felker III
dalias at aerifal.cx
Wed May 5 02:10:57 CEST 2004
On Tue, May 04, 2004 at 03:29:19AM +0200, Michael Niedermayer CVS wrote:
> CVS change done by Michael Niedermayer CVS
>
> Update of /cvsroot/mplayer/main/DOCS/tech
> In directory mail:/var2/tmp/cvs-serv19291
>
> Modified Files:
> mpcf.txt
> Log Message:
> 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
>
>
> Index: mpcf.txt
> ===================================================================
> RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
> retrieving revision 1.58
> retrieving revision 1.59
> diff -u -r1.58 -r1.59
> --- mpcf.txt 2 May 2004 01:37:49 -0000 1.58
> +++ mpcf.txt 4 May 2004 01:29:17 -0000 1.59
> @@ -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<count; j++, i++){
> flags[i]= tmp_flag;
> stream_id_plus1[i]= tmp_stream;
> data_size_mul[i]= tmp_mul;
> data_size_lsb[i]= tmp_size;
> + timestamp_delta[i]= tmp_timestamp;
> + reserved_v[i]= tmp_res;
> if(++tmp_size >= tmp_mul){
> tmp_size=0;
> tmp_stream++;
Michael, this is useful too I suppose, but not exactly what I had in
mind. I was thinking more along the lines of a field that says "each
entry of the framecode table has N vlc fields". Then new properties
could be added to framecodes, and older demuxers could just ignore the
extra vlcs when reading the header.
BTW, right now not much of the "flags" field is used, but if we add
additional flags in the future (e.g. a droppable flag for B frames and
stuff) then eventually there'll be so many flags that a
non-specialized muxer has to waste a huge chunk of the framecode table
on flags. IMO there should be a way to vlc-code the flags in the
packet header, if desired.
Rich
More information about the MPlayer-cvslog
mailing list