On Tue, Jun 15, 2004 at 11:48:27PM +0200, Stefan Lucke wrote:
> On Dienstag, 15. Juni 2004 20:52, Ville Syrj�l� wrote:
> > On Tue, Jun 15, 2004 at 11:46:53AM +0200, Stefan Lucke wrote:
> 
> [ .. ]
> 
> > > But with I420 and YV12 output formats I get sig11s with my radeon. Pitch
> > > value returned from videoSurface->Lock seems to be bogous, see my mail on
> > > directfb-users list.
> > 
> > I lost the original mail but I looked at the archives...
> > 
> > The pitch 752 does seem strange. It's a multiple of 16 but so is 720 
> > so I don't know why it would choose 752.
> 
> The pitch value was 1472 which would be reasonable for YUY2 format 736*2.
> The segfault happens after Y values where copied. Commenting out U and Y
> copy loop I get a picture which looks bad (with green vertical color stripes).

I looked at the wrong post then...

Your code looks correct to me. Have you checked with 
IDirectFBSurface::GetPixelFormat() that the surface is really YV12/I420?

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


Reply via email to