[Ffmpeg-devel] [RFC] bytestream show and change

Reimar Döffinger Reimar.Doeffinger
Thu Jan 4 22:33:09 CET 2007


Hello,
On Thu, Jan 04, 2007 at 10:09:49PM +0100, Alex Beregszaszi wrote:
> On Thu, 2007-01-04 at 21:57 +0100, Michael Niedermayer wrote:
> > what about
> > AV_<L|B><R|W><2|4|8> ?
> > 
> > so that for example AV_BW4 would be a big endian 32bit write ...

Seems nice to me. At least much nicer than it is currently.

> And you plan to remove the current bytestream_ stuff? I dont get the
> rationale in this.

IMO in the long term bytestream should be modified to be more like
bitstream stuff, i.e. having a context with a start, current and end
pointer, with (optional) bounds checking etc.
But even as it is some code duplication can be avoided by implementing
AV_<L|B><R|W><2|4|8> and simply reusing that in bytestream.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list