Bug 16587

Summary: Xv extension should do prescaling
Product: xorg Reporter: Bastien Nocera <bugzilla>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bastien Nocera 2008-07-02 08:26:16 UTC
Hardware will only scale to a certain ratio from the original buffer put using XvShmPutImage(). For intel hardware, this seems to be a maximum of 9x.

For example, play the following video:
http://www.peregrinehw.com/downloads/junk/cool/moveyourfeet/moveyourfeet.mov
and try to scale it to fullscreen.

As Xv knows the original size of the video, (should know) the maximum ratio the hardware can scale at, and the target size, so it should prescale the image before passing it on to the hardware.
Comment 1 Bastien Nocera 2009-03-11 02:08:06 UTC
This seems to work as expected when using the "textured video" Xv overlay.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.