Bug 16587 - Xv extension should do prescaling
Summary: Xv extension should do prescaling
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
Depends on:
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:


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:
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.