Bug 16587 - Xv extension should do prescaling
Summary: Xv extension should do prescaling
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 08:26 UTC by Bastien Nocera
Modified: 2009-03-11 02:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.