Displaying 2 results from an estimated 2 matches for "nvqueryimageattributes".
2013 Apr 08
6
[Bug 63263] New: X server crash in nouveau_xv.c:NVPutImage (NVCopyNV12ColorPlanes)
https://bugs.freedesktop.org/show_bug.cgi?id=63263
          Priority: medium
            Bug ID: 63263
          Assignee: nouveau at lists.freedesktop.org
           Summary: X server crash in nouveau_xv.c:NVPutImage
                    (NVCopyNV12ColorPlanes)
        QA Contact: xorg-team at lists.x.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
2007 May 30
0
[PATCH] added comments
...am w pointer to width of image
+ * @param h pointer to height of image
+ * @param pitches pitches[i] = length of a scanline in plane[i]
+ * @param offsets offsets[i] = offset of plane i from the beginning of the image
+ * @return size of the memory required for the XvImage queried
  */
 static int
 NVQueryImageAttributes(ScrnInfoPtr pScrnInfo, int id, 
@@ -1014,46 +1303,46 @@ NVQueryImageAttributes(ScrnInfoPtr pScrnInfo, int id,
 {
 	int size, tmp;
 
-	if (*w > 2046)
-		*w = 2046;
-	if (*h > 2046)
-		*h = 2046;
+	if (*w > IMAGE_MAX_W)
+		*w = IMAGE_MAX_W;
+	if (*h > IMAGE_MAX_H)
+		*h = IMAGE_MAX_H;
 
-...