[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.30,1.31

Michael Niedermayer michaelni at gmx.at
Fri Sep 12 00:31:45 CEST 2003


Hi

On Friday 12 September 2003 00:11, Alex Beregszaszi wrote:
> Hi,
>
> > > Imho the variable len b-type is better for the fourcc field.
> > > So you can have 2 (audio) and 4 byte (video) fccs (and later others)
> >
> > agree
>
> so leave it as it is?
yes, exactly

>
> > > 4 bits for stream_class (that means 16 diff. values)
> > > 12 bits for stream_id (that means 4096 diff. values)
> > >
> > > _or_
> > >
> > > 3 bits for class ? (8 diff)
> > > 5 bits for id ? (32 diff)
> > >
> > > That would mean 2 bytes instead the current 4 bytes.
> >
> > ehh?
> > if the value is < 128 then v needs 1 byte, so its 2 bytes for
> > stream_id & stream_class together not 4 ...
>
> Ahh yes, i've interchanged it with get_b, as today we're talking about
> get_b vs get_bi. Btw, I still don't get the idea about stream_class == 0
> for video and == 32 for audio.
me neither, but i probably had some reason for it, anyway feel free to change 
it to 0,1,2,...

-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en



More information about the MPlayer-cvslog mailing list