[Ffmpeg-devel] [PATCH] move BE/LE macros to libavutil

Reimar Döffinger Reimar.Doeffinger
Sun Nov 19 18:16:18 CET 2006


Hello,
On Sun, Nov 19, 2006 at 05:38:50PM +0100, Michael Niedermayer wrote:
> On Sun, Nov 19, 2006 at 12:44:24PM +0100, Reimar D?ffinger wrote:
> > Hello,
> > do you think this is okay, as in the attached patch? I already know a
> > few place in MPlayer that could avoid code duplication with that.
> > Though I also wonder if they should have a FF prefix (though they seem
> > to be constructed to allow them to be overridden by defines in system
> > headers?).
> > Any comments?
> 
> yes, there are read/write 16/32/64 little/big/native endian cases
> we have BE_* LE_* ST* LD* unaligned* and probably more
> IMHO we should first clean these up inside lavc before exporting them

Yes, I found that patch in the "BMP encoder" thread, but I am a bit
unsure about how to proceed.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list