[Ffmpeg-devel] pixel format names in swscale

Michael Niedermayer michaelni
Wed Aug 16 09:52:53 CEST 2006


Hi

On Wed, Aug 16, 2006 at 09:47:26AM +0200, Luca Abeni wrote:
> Hi Michael,
> 
> On Mon, 2006-08-14 at 14:14 +0200, Michael Niedermayer wrote:
> 
> > > IMGFMT_YUY2     <--->   PIX_FMT_YUYV422		(new format)
> > > IMGFMT_UYVY     <--->   PIX_FMT_UYVY422
> > > IMGFMT_NV12     <--->   PIX_FMT_NV12		(new format)
> > > IMGFMT_NV21     <--->   PIX_FMT_NV21		(new format)
> > > IMGFMT_Y800     <--->   PIX_FMT_GRAY8
> > > IMGFMT_YVU9     <--->   PIX_FMT_YVU410P		(new format)
> > > IMGFMT_IF09     <--->   PIX_FMT_YUV410P
> > > IMGFMT_YV12     <--->   PIX_FMT_YVU420P		(new format)
> > > IMGFMT_I420     <--->   PIX_FMT_YUV420P
> > > IMGFMT_411P	<--->	PIX_FMT_YUV411P
> > > IMGFMT_422P	<--->	PIX_FMT_YUV422P
> > > IMGFMT_444P	<--->	PIX_FMT_YUV444P
> > 
> > iam against adding planar formats which are identical to existing ones
> > except that the planes are ordered differently
> Ok, this makes a lot of sense (this is one of the things I was not sure
> about).
> So, just to be sure I understand correctly (this pixel format thing is
> beginnig to give me headaches :): PIX_FMT_YVU410P and PIX_FMT_YVU420P
> should not be introduced, and some wrapper code should change
> IMGFMT_YVU9 into IMGFMT_IF09 (exchanging the two U and V pointers)
> before calling swscale... Right?

yes


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list