[Openchrome-users] 720x480 problems

Daniel Kristjansson danielk
Sat Aug 19 10:34:42 PDT 2006


On Mon, 2006-08-14 at 18:59 +0200, Thomas Hellstr?m wrote:
> Daniel Kristjansson wrote:
> >>Trevor Kramer wrote:
> >>If it works with this option set to true (and it looks like it will), it 
> >>is MythTV not setting up the Xv image format according to the pitches 
> >>and sizes it receives from the X server, and thus a MythTV bug.
> >Should we be using XvQueryBestSize(), or something else?
> IIRC, XvCreateImage and XvShmCreateImage should return an XV image with the
> pitches[] and data_size fields correctly set. You need to make sure that 
> the size alloced and the pitches actually used correspond to these values.

Thanks, this is fixed in SVN head for MythTV. We were using
the data_size, but ignoring the pitches and offsets.

As a bonus, YV12 output is now a lot more efficient in MythTV.

PS There are a few video filters that haven't been ported yet,
but all the deinterlacing filters have been ported.

-- Daniel





More information about the Openchrome-users mailing list