[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.30,1.31
Alex Beregszaszi
alex at fsn.hu
Fri Sep 12 00:00:24 CEST 2003
Hi,
> > And imho let first discuss the ordering and such, before applying.
> ok, more discussions:
> change fourcc from b type (variable length string/binary) to f(32) (32
> bit)?
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)
Btw, one new idea!
Current:
stream_header:
...
stream_id v
stream_class v
...
Proposed:
...
stream_id f(16)
...
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.
And imho the current v-type for stream_class is an unneeded overhead.
stream_class:
0 -> unknown
1 -> video
2 -> audio
3 -> subtitle
--
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)
More information about the MPlayer-cvslog
mailing list