[Mplayer-cvslog] CVS: main cinepak.c,1.9,1.10
Felix Buenemann
atmosfear at users.sourceforge.net
Mon Mar 25 17:58:32 CET 2002
Am Mon, 2002-03-25 um 10.50 schrieb Arpi:
> Hi,
>
> > > planes[0] = Y = luminance
> > > planes[1] = U = Cb = blue
> > > planes[2] = V = Cr = red
> > > Note: planes[1] is ALWAYS U, and planes[1] is V, the fourcc
> > > (YV12 vs. I420) doesn't matter here! So, every codecs using 3 pointers
> > > (not only the first one) normally supports YV12 and I420 (=IYUV) too!
> > hmm, if the codec is asked to deliver I420, it should deliver I420 and
> > not YV12, that means you need to swap U and V data when using I420...
>
> not really.
> the difference between YV12 and I420 is only the order of U and V planes
> _in_memory_. if we pass 3 independent pointer to the codec for the planes,
> and the codec uses these pointers it doesn't matter what is the order of
> these blocks in memory. the codec know where to render the U and V planes,
> and the YV12 vs I420 is the problem of memory allocation and setting of
> pointers (vd.c).
>
> but if you don't believe me, just add I420 to cvid in codecs.conf and try
>
aah now I understand your point.
>
> A'rpi / Astral & ESP-team
>
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-cvslog
mailing list