Bug 6614 - XvShmCreateImage creates images of wrong size
Summary: XvShmCreateImage creates images of wrong size
Status: RESOLVED DUPLICATE of bug 4640
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xext (show other bugs)
Version: 7.0.0
Hardware: Other Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
Depends on:
Reported: 2006-04-16 05:04 UTC by Arne Caspari
Modified: 2006-04-16 02:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Arne Caspari 2006-04-16 05:04:17 UTC
XvShmCreateImage creates images of wrong size for certain formats. For example,
for the format with the ID 0x41424752 (ABGR) with an image size of 320x240
pixels, it returns an image with a data size of 153600 pixels while the correct
size of such an image should be 307200 pixels. I am testing this on a ATI Radeon
9000 mobility, using the x.org "ati" driver.

Consequently applications using this format segfault.

I modified the xvinfo program to show the calculated size and the image size
returned by XvShmCreateImage. It can be found here: 

Comment 1 Daniel Stone 2006-04-16 19:54:38 UTC

*** This bug has been marked as a duplicate of 4640 ***

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.