Re: Deinterlacing?
[email protected] Wed, 28 Sep 2005 13:26:15 +0400 (MSD)
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
> The problem with the zoom is not in XvPutImage, but in the functions I > have that calculates which source area (part of the xv_image) that > XvPutImage > should show. I think that this is where I'm not getting something. I thought that, for the normal (not deinterlaced) case, the entire xv_image was always used. Is there a feature that actually zooms into a *part* of the picture, rather than juzt zooming the entire picture into some other size? If so, I did not notice it and don't understand it yet. > So if you add > src_view_area.y = src_view_area.y/2; > at the same place as src_view_area.height/2 is done in the patch > the zoom will work. Thanks. I'll try making it all work, this evening or tomorrow. One other problem is finding a way to destroy an xv_image, but I'll look at xawtv sources for that. (Or failing this, at libxv sources, to find out how it's allocated). Now a real hit for this method of deinterlacing would be finding a way of not even *rendering* the dropped field. This would impact CPU usage and make ogle usable for DVD playback on low-end machines. But this is a future challenge. P.S. what about the problem of CVS only running as root? I hope to be using CVS after this patch so I'm interested :) Yours, Mikhail Ramendik