Re: Newbie question, difference between offscreen and onscreen image formats?
On Sat, 7 Feb 2004, Suhaib Chishtie wrote: Sent: Saturday, February 07, 2004 6:29 PM Subject: Re: Newbie question, difference between offscreen and onscreen image formats? The image formats registered via xf86XVScreenInit are ones that are exported to the clients. The ones registered via xf86XVRegisterOffscreenImages are for internal use only. The idea being that they are the hardware's native overlay format or formats that can be exposed to other parts of the server such as a module which uses V4L. Reasons why some formats would be exposed as client XvImages while they wouldn't be exposed as OffscreenImages could be: * The XvImage formats aren't implemented via the overlay, but with some texture or blit mechanism. * The XvImage formats, though using the overlay, aren't the native hardware format and require CPU reformating on the copy. * There are hardware or software complications related to other devices bus mastering data into those overlay formats. * Simply an oversight, or somebody just didn't get around to adding them, or didn't have a way to adequetly test them. Thanks for the explaination. I know chiip and tech 69000/69030 supports both YUV and RGB overlays. So I guess, all the formats should also be registered as offscreen formats. Any idea what else needs to be changed? Like which functions get called to set/start/stop/capture overlays. Or should I contact one of the chips driver's developer? I think you should at least to verify that there's not a reason why it shouldn't be exposed. Mark. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Newbie question, difference between offscreen and onscreen image formats?
- Original Message - From: Mark Vojkovich [EMAIL PROTECTED] To: Suhaib Chishtie [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 5:36 PM Subject: Re: Newbie question, difference between offscreen and onscreen image formats? I know chiip and tech 69000/69030 supports both YUV and RGB overlays. So I guess, all the formats should also be registered as offscreen formats. Any idea what else needs to be changed? Like which functions get called to set/start/stop/capture overlays. Or should I contact one of the chips driver's developer? I think you should at least to verify that there's not a reason why it shouldn't be exposed. I'll modify the code and make it work first. I'm sure its doable, I have it running under DOS using debug code and windows using my frame grabber driver and stock chips windows driver. Suhaib ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Newbie question, difference between offscreen and onscreen image formats?
Sent: Saturday, February 07, 2004 6:29 PM Subject: Re: Newbie question, difference between offscreen and onscreen image formats? The image formats registered via xf86XVScreenInit are ones that are exported to the clients. The ones registered via xf86XVRegisterOffscreenImages are for internal use only. The idea being that they are the hardware's native overlay format or formats that can be exposed to other parts of the server such as a module which uses V4L. Reasons why some formats would be exposed as client XvImages while they wouldn't be exposed as OffscreenImages could be: * The XvImage formats aren't implemented via the overlay, but with some texture or blit mechanism. * The XvImage formats, though using the overlay, aren't the native hardware format and require CPU reformating on the copy. * There are hardware or software complications related to other devices bus mastering data into those overlay formats. * Simply an oversight, or somebody just didn't get around to adding them, or didn't have a way to adequetly test them. Thanks for the explaination. I know chiip and tech 69000/69030 supports both YUV and RGB overlays. So I guess, all the formats should also be registered as offscreen formats. Any idea what else needs to be changed? Like which functions get called to set/start/stop/capture overlays. Or should I contact one of the chips driver's developer? Suhaib ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Newbie question, difference between offscreen and onscreen image formats?
On Sat, 7 Feb 2004, Suhaib Chishtie wrote: I'm trying to make v4l driver to work with chips (Chips and tech 69030) x11 driver. The frame grabber can only write directly to offscreen video memory in YUV format. But the X11 v4l driver reports RGB as the only offscreen image format available. Althoough the chips does support both RGB and YUV for offscreen overlays. Further investigation in chips driver revealed that chips driver is registering only RGB as offscreen format and both RGB and YUV as supported image format by calling xf86XVListGenericAdaptors and xf86XVScreenInit functions. My question is, What is the difference between offscreen image format registered via xf86XVRegisterOffscreenImages and image formats registered via calls to xf86XVListGenericAdaptors and xf86XVScreenInit? Almost all of the video drivers register only one (usually YUV) format as Offscreen image format and more formats via the screeninit calls. If they support overlay in both RGB and YUV formats, should they not be registering all the formats as offscreen formats too? The image formats registered via xf86XVScreenInit are ones that are exported to the clients. The ones registered via xf86XVRegisterOffscreenImages are for internal use only. The idea being that they are the hardware's native overlay format or formats that can be exposed to other parts of the server such as a module which uses V4L. Reasons why some formats would be exposed as client XvImages while they wouldn't be exposed as OffscreenImages could be: * The XvImage formats aren't implemented via the overlay, but with some texture or blit mechanism. * The XvImage formats, though using the overlay, aren't the native hardware format and require CPU reformating on the copy. * There are hardware or software complications related to other devices bus mastering data into those overlay formats. * Simply an oversight, or somebody just didn't get around to adding them, or didn't have a way to adequetly test them. Mark. ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel