[Ffmpeg-devel] [PATCH] adds missing rgb/bgr 15 tags to raw decoder

Reimar Döffinger Reimar.Doeffinger
Fri Oct 27 21:37:18 CEST 2006


Hello,
On Fri, Oct 27, 2006 at 09:17:29PM +0200, Michael Niedermayer wrote:
> On Fri, Oct 27, 2006 at 09:05:01PM +0200, Reimar D?ffinger wrote:
> > On Fri, Oct 27, 2006 at 01:52:17PM -0300, Reynaldo H. Verdejo Pinochet wrote:
[...]
> > > Thanks Michael, can i commit a similar one for 16bpp too? it would
> > > allow me to fix all mtv playback issues on mplayer at once.
> > 
> > Except, of course, that the image would be upside-down. Or am I wrong on
> > that?
> 
> dunno, the silly microsoft rgb flip is done if and only if
> RGB && biHeight<0 in avi (and probably asf)
> i dunno if any application supports this correctly ...
> 
> feel free to add a flip flag to AVCodecContext and set it in avidec.c
> and let libavcodec/raw.c flip the image thing if needed
> 
> or suggest an alternative

Actually, I was only talking about MPlayer, the RGB/BGR "fourccs" select e.g.
the "rawbgr16" "decoder", whereas mtv would need "rawbgr16flip".

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list