[FFmpeg-cvslog] r11691 - trunk/libavformat/movenc.c

Michael Niedermayer michaelni
Thu Jan 31 14:57:37 CET 2008

On Thu, Jan 31, 2008 at 01:58:25PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Thu, Jan 31, 2008 at 01:38:45PM +0100, Baptiste Coudurier wrote:
> > Reimar D?ffinger wrote:
> > > On Thu, Jan 31, 2008 at 12:46:42PM +0100, Baptiste Coudurier wrote:
> > >> No, this is correct:
> > >> http://developer.apple.com/quicktime/icefloe/dispatch020.html
> > >>
> > >> You are speaking about 'yuv2'.
> > > 
> > > Argh, right. I forgot that Apple likes this "write things reverse" game and
> > > assumed that they would be the same.
> > 
> > Hehe, btw I would be interested in supporting such samples, should we
> > add a new pix fmt for it ?
> Well, MPlayer should support them, though I have not tested with the
> lavf demuxer (though it should work if this is exported as codec_tag).
> I guess adding a pixfmt would not hurt (maybe just adding a _S behind
> the normal name? I hope nobody had the idea of using signed values for
> luma?), but it is not too useful without libswscale support (should not
> be too hard to hack in in principle though, just do an xor 0x80008000 as
> a first step or so). Reminds me that the way I do it in MPlayer is quite
> suboptimal...

Maybe its time to finally implement a pix_fmt_descriptor structure and generic
convertions based on it ...
We can add a single signed YUV variant, but adding one for every existing YUV
would double the number of YUV pix_fmts. A generic solution would be better!

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080131/d92142c6/attachment.pgp>

More information about the ffmpeg-cvslog mailing list